ApplePayDemo
ApplePayDemo copied to clipboard
Decrypt PaymentToken
I'm trying to follow up your guide but out of curiosity, I would like to decrypt the payment token using my own generated CSR & certificate I uploaded to Appel but I couldn't decrypt the token.
Reading your documentation, you mentioned "The next page explains that you can obtain a CSR from your Payment Provider (which at this point you've done already) or create one manually. Important note: you must use the CSR provided by Stripe - creating your own won't work. So ignore the directions at the bottom of this page and continue on."
Is there any particular reason why I cannot use my own CSR to decrypt the token.
Any sample decryption code will be appreciated.
Thanks,