ECOMMERCE WEBSITE PAYPAL INTEGRATION
(1) PAY PAL SHOP CART
(2) THIRD PARTY SHOP CART
· Standard Checkout (HTML)
· EXPRESS CHECKOUT API
Paypal payment button INTEGRATION
· MANUAL ADDITION
· COPY AND PASTE FROM PAY PAL
Copy and paste pay pal payment button into website
(1) Type in URL https://www.paypal.com
(2) Select “Products” option
(3) Click Website Payments Standard
(4) Under “Payments” Button
(A) BUILD BUTTON HTML FORM CODE FROM PAY PAL WEBSITE
· Buy Now
· Add To Cart
(B) Copy And Paste HTML FORM CODE from
Pay Pal into your website Program File
· ASP/ ASP.NET
· PHP
· CGI PERL
· COLDFUSION
PASTE PAYPAL HTML FORM CODE INTO ECOMMERCE WEBSITE
(1) Type in URL of Website Hosting Server
(2) Login
(3) From File Manager
(4) Open ASP/ASP.NET, PHP, CGI PERL Program into
Editor at Hosting Server.
Editor at Hosting Server.
(5) Paste Pay Pal Button Form code into the Program file
(6) click Save
PAY PAL BUTTON HTML FORM CODE
Assign
( if testing Pay Pal Integration)
( For Live Website)
TO :
ECOMMERCE WEBSITE HTML FORM TAG ACTION ATTRIBUTE
HIDDEN VARIABLES
(1) “business” : Pay Pal Business Account
(2) “item_name” :
Product to be added to Pay Pal Shop Cart
Products of Ecommerce Website Shop Cart
To be uploaded to Pay Pal during Third
Party CheckOut.
(3) “amount” :
(3) “quantity” :
(4) “add” : Add To Pay Pal Shop Cart
(5) “upload” :
Transfer of Third Party Shop Cart items
To Pay Pal from Standard CheckOut.
(6) “notify_url” :
Location Of IPN Script used to update
“Orders” Database Table after transfer
Of payment details from Pay Pal.
(7) “return_url” :
Web Page of Ecommerce Website to
Return to after Customer Payment at
Pay Pal (“download.asp”)
IPN_LISTENER = "Http://WWW.ECOMMERCEWEBSITE.COM/IPN_LISTENER.ASP"
DOWNLOAD_URL =
"HTTP://WWW.ECOMMERCEWEBSITE.COM/DOWNLOAD.ASP"
"HTTP://WWW.ECOMMERCEWEBSITE.COM/DOWNLOAD.ASP"
<form method=”post” action=”https://www.paypal.com/cgi-bin/webscr”>
<input type=”hidden” name=”business” value=”leahong@yahoo.com”>
<input type=”hidden” name=”item_name” value=”exodus”>
<input type=”hidden” name=”amount” value=”20“>
<input type=”hidden” name=”currency_code” value=”USD”>
<input type=”hidden” name=”add” value=”1”>
<input type=”hidden” name=”notify_url” value=”<% IPN_LISTENER %>”>
<input type=”hidden” name=”return_url” value="<% DOWNLOAD_URL %>“>
<input type=”hidden” name=”cmd” value=”_cart”>
<input type=”submit” value=”ADD TO CART”>
</form>
No comments:
Post a Comment