Skip to main content
Answer

Preset email address in the RevenueCat billing paywall (not using the paywall link)

  • November 18, 2024
  • 3 replies
  • 178 views

Forum|alt.badge.img+8

Hello,

 

In the billing feature, is it possible to not ask for the email when the user is paying? We already ask the email of the user before in the onboarding.

 

I see that it is possible when you’re using the web paywall link. I would like to the same when not using the paywall link.

https://www.revenuecat.com/docs/web/revenuecat-billing/web-paywall-links#email

 

Thanks!

Best answer by antonio

Hi ​@amsdamsgram, you can pass the customer email to the `purchase` or `purchasePackage` method to skip the email screen. See the docs: https://revenuecat.github.io/purchases-js-docs/0.12.1/interfaces/PurchaseParams.html#customerEmail.

 

Let us know if it doesn’t work for you.

 

 

This post has been closed for comments

3 replies

antonio
RevenueCat Staff
Forum|alt.badge.img+4
  • RevenueCat Staff
  • Answer
  • November 19, 2024

Hi ​@amsdamsgram, you can pass the customer email to the `purchase` or `purchasePackage` method to skip the email screen. See the docs: https://revenuecat.github.io/purchases-js-docs/0.12.1/interfaces/PurchaseParams.html#customerEmail.

 

Let us know if it doesn’t work for you.

 

 


Forum|alt.badge.img+8
  • Author
  • Dedicated Member
  • November 19, 2024

Hi ​@antonio , thank you for your response, I’ll try that and let you know!


Forum|alt.badge.img+8
  • Author
  • Dedicated Member
  • November 20, 2024

Hi ​@antonio , just tried and it works, thanks!