#Hiranya-ApplePay

1 messages · Page 1 of 1 (latest)

flint ore
#

Hi there, can you share with me your code?

deft linden
#

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.

flint ore
#

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?

deft linden
#

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.

flint ore
deft linden
#

Sorry, we have to use the ApplePay SDK.

flint ore
#

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.