php - Paypal 3rd party Shopping Cart integration doesnot return form values -


i facing problem in paypal 3rd party shopping cart integration. after sucessfull payment, doesnot values paypal. using following code:

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="upload" value="1"> <input type="hidden" name="business" value="example@mail.com"> <input type="hidden" name="item_name_1" value="item name 1"> <input type="hidden" name="amount_1" value="1.00"> <input type="hidden" name="item_name_2" value="item name 2"> <input type="hidden" name="amount_2" value="2.00"> <input type="hidden" name="item_name_3" value="item name 3"> <input type="hidden" name="amount_3" value="3.00"> <input type="hidden" name="item_name_4" value="item name 4"> <input type="hidden" name="amount_4" value="4.00"> <input type='hidden' name='return' value='http://localhost/paypal_multiple.php'> <input type='hidden' name='cancel_return'value='http://localhost/paypal_multiple.php'> <input type='hidden' name='custom' value='customer@gmail.com'> <input type='hidden' name='notify_url' value='http://localhost/paypal_multiple.php'> <input type="submit" value="paypal"> </form> 

please me.

after searching other questions in so, found below 2 fields missing.it's working fine now.

<input type="hidden" name="rm" value="2" /> <input type="hidden" name="charset" value="utf-8" /> 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

java - More than one row with the given identifier was found: 1, for class: com.model.Diagnosis -