I'm finding the PayPal dev docs confusing, to say the least. Express Checkout has 3 different actions:
Authorization
Order
Sale
Using the client-side api, I've set up a simple sale
of a single item. Now I want to verify, server-side, that this sale has fully completed; the Express Checkout docs say I should use an API call to payment
to do so (https://developer.paypal.com/docs/integration/direct/express-checkout/show-payment-details/)
Why would I not use an API call to sale
, or is that an option too? What is the difference between a sale
and a payment
in this example? When a buyer purchases my single item, is there both a sale
and a payment
that I can query?
https://developer.paypal.com/docs/api/payments/#sale_get
Thanks in advance.