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 ?
... View more