#Hiranya-ApplePay
1 messages · Page 1 of 1 (latest)
Well, from ApplePay side I get the Token, and I pass it to my server. Written in Java.
Token token = Token.retrieve(tokenPaymentRequest.getStripePaymentToken());
I'm kinda clueless in how to use this Token to make Payments.
Stripe provides a higher level PaymentIntent API that abstract away the Apple Pay token exchange, is this something you interest? or you have an existing system and you can't move away from the Apple Pay API?
Sort of the latter. I'm using the react native payments library. Which has the support for Stripe inbuilt.
It returns a Stripe Token ID.
Why not using the official Stripe react native library? https://github.com/stripe/stripe-react-native
Sorry, we have to use the ApplePay SDK.
OK, in that case you need to call the iOS SDK directly, I don't think you can do handle the Apple Pay at react native layer.
https://stripe.com/docs/apple-pay?platform=ios#create-payment-request you can refer to this doc to learn more about using native Apple Pay