cancel
Showing results for 
Search instead for 
Did you mean: 

How to check/see Order Options from API?

Highlighted
Contributor

How to check/see Order Options from API?

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