How get the card number + expiry date on gateway callback?

faridhaghgooyan
New Community Member

Hi there,
Currently, I am using the v2/checkout/orders endpoint to create an order and redirect the user to the gateway, but also I want to save the card data for future payments as well, this way for other payments users don't need to go back to the website and so on...
I had a look at the topic Saving cards with the Payment Method Tokens API, but the thing is how can I get the card number + expiry date on callback, there is nothing like that, I just have the token ID + payer ID, that's it.

I want to add we are not allowed to collect the card data on our side because of pci compliance

any idea?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.