stripe-archive/ApplePayStubs

PaymentToken decryption

Closed this issue · 1 comments

I'm trying to decrypt my payment token and send it to stripe but I couldn't get this working.
Any sample java code to decrypt the payment token ?

Thanks,

Hey there! You actually don't need to decrypt the payment token (nor do you want to) - Stripe handles this on our end. You can use our (main iOS SDK)[https://github.com/stripe/stripe-ios] to convert PKPayments into Stripe tokens that you can then charge normally. We have a tutorial on how to do this at https://stripe.com/docs/mobile/ios.

Cheers!