#alex.hettinger-wallets
1 messages · Page 1 of 1 (latest)
hi! it depends what exactly your frontend payment page is using. Are you using the Stripe Checkout hosted page or your own page with our Elements? If the latter, which Elements exactly, do you currently integrate Apple/Google Pay or is this something you're looking to add?
We are using Stripe Elements. Here's an example: https://leserservice.rp-online.de/checkout/158298
Alle Abo-Angebote der Rheinischen Post und der RP+. Abonnement-Verwaltung, Service-Kontakt und FAQs.
ok so you use our PaymentElement. I see you already collect the email address yourself too
Yes, but we want to integrate an Apple Pay Button on top of the checkout form. So the user pay with just one click. But we need to catch the email adress after the payment to create a SSO account.
if it was me I would use that email address you collect, that's the best approach! Otherwise, the email address we collect from the wallet , if available, will be in the billing_details of the PaymentMethod associated with the PaymentIntent when you handle it after the successful payment https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details-email
Ok, thank you. I will check this!