Simple Paypal Payment Integration Tutorial

By | May 17, 2014

All of us know that Paypal is an one of the easiest way of electronic payment. Here is the Simple Paypal Payment Integration Tutorial.
Sandbox URL – https://www.sandbox.paypal.com/cgi-bin/webscr
Actual URL – https://www.sandbox.paypal.com/cgi-bin/webscr

 

 

Paypal Payment Code

[code type=html]
<html>
<body>











</body>
</html>
[/code]

<input type=”hidden” name=”item_name” value=”Test Product”>

Specifies the item name of the product, for which are going to pay. If the above line is not specified then item name have to be given by bill payer while payment.

<input type=”hidden” name=”amount” value=”15″>

Specifies the item price. If the above line is not specified then item price have to be given by bill payer while payment.

<input type=”hidden” name=”no_shipping” value=”2″>

Specifies the number of items. If the above line is not specified then number of items have to be given by bill payer while payment.

PAYPAL_ID

Paypal id of the amount receiver.

CANCEL_URL

The URL, which will be redirected to when the user cancels the payment.

RETURN_URL

The URL, which will be redirected to when the payment completed.

Leave a Reply

Your email address will not be published. Required fields are marked *

dissident-feminacy