shopping cart - How to display only order total in paypal checkout page as like ebay do -


have weird problem.as have shopping cart on website decided integrate paypal. working charm

<form action="https://www.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="seller@test.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="shipping_1" value="1.75"> <input type="hidden" name="item_name_2" value="item name 2"> <input type="hidden" name="amount_2" value="2.00"> <input type="hidden" name="shipping_2" value="2.50"> <input type="submit" value="paypal"> </form> 

what happens decided not show item wise descriptions except order total in paypal cehckout page(just ebay do).

ebay

so change code follows

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">     <input type="hidden" name="cmd" value="_xclick">     <input type="hidden" name="business" value="seller@test.com">     <input type="hidden" name="amount" value="5.40">     <input type="submit" value="paypal">     </form> 

but when use this,on checkout page appears paypal checkout

please have done wrong? in advance.

i dont't know how know that, owner of paypal ebay inc.

you can display company logo putting 1 more hidden field

value="http://fedoraproject.org/w/uploads/e/e2/fedora-infinity-logo-64-64.png">


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -