Reconciling Receipt Number

luuk_au
Contributor
Contributor

Hi,

 

We've recently implemented the 'new' REST API, replacing the older NVP method. Payments go through successfully and the workflow seems to be in order.

 

However on successful purchase of an item by a buyer, the buyer is sent an email by PayPal confirming the purchase. This email contains a Receipt No. in the format of 'nnnn-nnnn-nnnn-nnnn', with the text below that states:

"Please keep this receipt number for future reference. You'll need it if you contact customer service at <our company name> or PayPal."

 

Is there a way to reconcile this Receipt No. with order information as it is processed by the REST API? The only data we seem to get on payment authorisation by the buyer is JSON data that looks very similar to:

 

{"paymentToken":"EC-<ec-id>","orderID":"EC-<ec-id>","payerID":"<payer-id>","paymentID":"PAYID-<pay-id>","intent":"sale","returnUrl":"https:\/\/www.paypal.com\/?paymentId=<pay-id>&token=EC-<ec-id>&PayerID=<payer-id>"}

With <ec-id>, <payer-id> and <pay-id> being set to their respective values, but removed for obvious reason. It lacks the receipt no. Is this obtainable any other way? Or is there another way to reconcile the buyer's record with ours?

 

Regards,

Luuk

 

 

 

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.