php - Text field data from PayPal button payment is not grabbed in Classic API NVP transaction details call -


i'm calling gettransactiondetails nvp using code list of paypal transactions

the html paypal button likes

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="xxxxxxxxxxxxx"> placeholder value <table> <tr><td><input type="hidden" name="on0" value="tier selection">tier selection</td></tr><tr><td><select name="os0"> <option value="tier 1">tier 1 $15.00 usd</option> <option value="tier 2">tier 2 $30.00 usd</option> <option value="tier 3">tier 3 $50.00 usd</option> <option value="tier 4">tier 4 $200.00 usd</option> <option value="tier 5">tier 5 $500.00 usd</option> <option value="tier 6">tier 6 $1,000.00 usd</option> </select> </td></tr> <tr><td><input type="hidden" name="on1" value="name product">name product</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr> <tr><td><input type="hidden" name="on2" value="forum email address">forum email address</td></tr><tr><td><input type="text" name="os2" maxlength="200"></td></tr> </table> <input type="hidden" name="currency_code" value="usd"> <input type="image" src="https://www.paypalobjects.com/en_us/i/btn/btn_paynowcc_lg.gif" border="0" name="submit" alt="paypal - safer, easier way pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_us/i/scr/pixel.gif" width="1" height="1"> </form> 

tne nvp call returns (after parse_str)

l_optionsname0 => tier selection l_optionsname1 => name product l_optionsvalue0 => tier 1 l_optionsvalue1 => name l_options1name0 => name product l_options1value0 => name 

the "name product" data returned twice , "forum email address" not returned. "forum email address" data displayed under item title when view transaction details on paypal website. , side note when export transactions csv "forum email address" data not being exported.

i plan on writing script automatically add "forum email address" data private forum on site using paypal api.

is duplicate name/value entry bug?

from quick glance @ code looks have set correctly. not aware of bugs issue off hand. however, suggest opening ticket paypal's merchant technical support can looked further , bug filed if needed.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -