#tarantino_47
1 messages · Page 1 of 1 (latest)
I'd like to know if it;s even possible what I'm trying to achieve
Hi
Why you want to create the PaymentMethod ?
Had you the chance to check this:
https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/ApplePayScreen.tsx
I need to retrieve billing address from apple pay payment method and then associate it with the PaymentIntent
you know how PaymentRequestButton works?
it has paymentRequest.on('paymentmethod', onPaymentMethod);
where
const onPaymentMethod = async ({ complete, paymentMethod }: any) => {}
So I'm able to know paymentMethod and associated billing address
I wonder if there is any similar functionality in react native PlatformPayButton
you know how PaymentRequestButton works?
Payment Request Button is a web only feature
You can request the Shipping/Billing address :
https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/ApplePayScreen.tsx#L224
ok, is it possible to update PaymentIntent from the client? I guess it's only possible from the BE?
Yes you need to make an update on the PaymentIntent from your backend
ok, thank you!