When testing shopping carts prior to ‘going live’, it is recommended to to use the Paypal sandbox. The Paypal sandbox had been implemented for this purpose. When the time comes to making the cary live, changing the code is very minor. The following example shows how a form processed the order and sends the sum to a Paypal sandbox and a real Paypal account.
After:
<div style=”float:right;”> <form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>
<input type=”hidden” name=”cmd” value=”_xclick”>
<input type=”hidden” name=”business” value=”my_real_email_biz@gmail.com”>
<input type=”hidden” name=”item_name” value=”My Company Details”>
<input type=”hidden” name=”currency_code” value=”USD”>
<input type=”hidden” name=”amount” value=”<? echo number_format($total, 2);?>”>
<input type=”image” src=”http://www.paypal.com/en_US/i/btn/x-click-but01.gif” name=”submit” alt=”Make payments with PayPal – it’s fast, free and secure!”>
</form> </div>
© 2018 ALL Rights Reserved | Sitemap
Vancouver | North Vancouver | Burnaby | Richmond | Coquitlam | Port Coquitlam | Surrey | Langley | Maple Ridge | Mission | Abbotsford | Kamloops | Kelowna | Victoria | Squamish | Whistler | Pemberton