#leonardo_88110
1 messages · Page 1 of 1 (latest)
Can you elaborate a bit more? You're creating a Payment Intent via an iOS app, then sending it to a web app?
Yes, I am creating a payment intent and I send the object to an api on the web, this api generates the payment method and subsequently charges it
How does it generate a Payment Method?
I ask the user to enter their card information, I generate a request and send it to the API, in the API I generate the consumer if it does not exist and the payment method if it does not exist and I make the payment, but everything happens in the backend of my site
I understand that the wallet object is put in the payment method, but I can't find a way to take it from my mobile application to pass it to the API
I'm confused. Where is the customer putting in their payment credentials? Your iOS app or your web app?
iOS app
Okay, let me grab a mobile dev that's a bit more experienced to help
Thanks
👋
You basically want to just follow https://stripe.com/docs/apple-pay?platform=ios here to integrate Apple Pay. Once the user completes the Apple Pay payment sheet then that will provide you with a PaymentMethod which you can pass to your backend to create/confirm the PaymentIntent.
Thanks I will check