Retrieving the os0 on0 information using API's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies if this post is to the wrong board
I have a paypal button which also passes optional "os0" and "on0" parameters. This is working as expected
<tr><td><input type="hidden" name="on0" value="plan"></td></tr>
<tr><td><input type="hidden" name="os0" value ="option_0"></td>
<tr><td><input type="hidden" name="on1" value="deviceID"></td></tr>
<tr><td><input type="hidden" name="os1" value ="abc-def-1234-1234"></td>
I can see this information in paypal as expected (see screenshot below, optional data is circled in RED)
My question is how do I retrieve this information back from paypal using automation? I have tested using RestAPI's, Webhooks, IPN but cannot see this specific data in any of the responses/messages
- Labels:
-
PayPal HTML Buttons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using IPN these variables map to:
on0 ==> $_POST['option_name1']
os0 ==> $_POST['option_selection1']
on1 ==> $_POST['option_name2']
os1 ==> $_POST['option_selection2'])
Yes, strange mapping with the index offset by 1 (not to mention the names are different to begin with).

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- How to integrate PayPal during user signup to avoid re-entering credentials for future payments? in REST APIs
- Create Pay Links using PayPal API in REST APIs
- Advanced checkout and no 3DS information in the response in REST APIs