How to check/see Order Options from API?

dejava
Contributor
Contributor

I try to check order options using API, but I could not find anywhere in the detail. What I can see is "item_name" that is translated to purchase_units."description". I used:

 

https://api.paypal.com/v1/checkout/orders/[resource id]

https://api.paypal.com/v2/checkout/orders/[receipt_id]

https://api.paypal.com/v1/payments/sale/[resource id]

 

I get the resource id from Webhook callback. Actually, IPN data is much better and complete, but my system missed several IPN on legit payments, so I try to use Webhook for backup, but I have problem identify Webhook data. So, back my original question:

 

How do I read Order Options using API. Options are data coming from the order. Here options that I got from IPN:

 

&option_selection1=useremail
&option_selection2=username
&option_selection3=userphone
&option_name1=Email
&option_name2=Name
&option_name3=Phone

 

 

 

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.