Paypal Integration URL

Posted: January 29, 2010 in Uncategorized

Paypal Integration:

New coders can use the link below for php to pay by pay pal.

header(“Location: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick”

.”&business=”.urlencode($business)

.”&item_name=”.urlencode($itemname)

.”&item_number=”.urlencode($itemnumber)

.”&amount=”.urlencode($amount)

.”&quantity=”.urlencode($total_qty)

.”&no_shipping=1″

.”&currency_code=EUR”

.”&lc=US”

.”&bn=PP-BuyNowBF”

.”&charset=UTF-8″

.”&OrderId=”.urlencode($OrderId)

.”&notify_url=”.”http://www.xxx.com/payment_thanks.php”

.”&return=”.”http://www.xxx.com/payment_thanks.php”

.”&cancel_return=”.”http://www.xxx/home.php”);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s