Skip to main content

Linking Payments to User Emails

A
Written by Alexander Karpovich
Updated this week

To ensure that users receive subscription-based functionality after logging in, it is essential to link each payment to the corresponding user’s email address. The email acts as a unique identifier that allows the system to match a completed payment with the correct user account.


Option 1: Collect Email Before Payment

  • Variant A: Custom Screen Before Paywall
    Add a custom screen in the onboarding flow right before the paywall. This screen can capture the user’s email along with other context. The email is then passed into the payment metadata to link the payment with the user. Instruction here

  • Variant B: Email Collection Screen Before Paywall
    Insert a dedicated email collection screen immediately before the paywall. The user must enter a valid email, which is automatically validated and then included in the payment metadata. Instruction here


Option 2: Collect Email After Payment

  • Variant A: Custom Screen After Paywall
    Let the user complete payment first. After the transaction, show a custom screen to collect the email. This email is then matched against the completed payment to establish the subscription link. Instruction here

  • Variant B: Email Collection Screen After Paywall
    Add a dedicated email collection screen directly after the paywall. The user enters their email, which is validated and stored, then connected to the already successful payment. Instruction here


Did this answer your question?