Retrieving the fields of advanced credit and debit card payments

fred7777
Contributor
Contributor

So I'm trying to figure out how to retrieve the fields using the "advanced credit and debit card payments" (country, adress, email_address ...)

I tested the sample codes given here : (I'm in sandbox mode)


https://developer.paypal.com/docs/business/checkout/advanced-card-payments/ 

 

Payment works, but how the hell do you get back the form fields ????????

 

When I check an order calling the API "https://api-m.sandbox.paypal.com/v2/checkout/orders/XXXXXXXXXXX",  I don't see these fields ...

 

Other question, I pass the amount with a get variable here :

 

return fetch('orders/paypal.php?amount=10', {
                    method: 'post'
                }).then ........

 

I guess there is a better way to do it, but I can't figure out how too ...

 

Does anybody know how that all works ?

 
Login to Me Too
1 REPLY 1

fred7777
Contributor
Contributor

Et sinon à part donner des badges, il sert à quelque chose ce site ?

Login to Me Too

Haven't Found your Answer?

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