Expand|Select|Wrap|Line Numbers
- <form action='https://www.paypal.com/cgi-bin/webscr' target='_blank' method='post'>
- <input type='hidden' name='cmd' value='_cart'>
- <input type='hidden' name='upload' value='1'>
- <input type='hidden' name='return' value='http://www.xx.com'>
- <input type='hidden' name='business' value='xx@x.com'>
- <input type='hidden' name='currency_code' value='USD'>
- ////Item 1
- <input type='hidden' name='item_name_1' value='item title 1'>
- <input type='hidden' name='amount_1' value='4.99'>
- <input type='hidden' name='quantity_1' value='1'>
- ////Item 2
- <input type='hidden' name='item_name_2' value='item title 2'>
- <input type='hidden' name='amount_2' value='6.99'>
- <input type='hidden' name='quantity_2' value='1'>
- ////Shipping Charges
- <input type='hidden' name='handling_cart' value='4.99'>
We are not able to update the quantity of the items purchased in our database (stock control) since we do not recieve any confirmation message, what we need is to recieve the item id number and quantity. After reading i found that we can use the notify_url to solve this problem! is this correct? if so, is the line below is correct?
Expand|Select|Wrap|Line Numbers
- <input type='hidden' name='notify_url' value='http://www.xx.com?page=process&id=12,12-25,12'>