/ Published in: PHP
PayPal test account can be created at https://developer.paypal.com/
HTML Variables for Website Payments Standard at https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables
HTML Variables for Website Payments Standard at https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'cmd' => '_xclick', 'business' => PAYPAL_BUSINESS, 'item_name' => 'Order '.$order_id, 'item_number' => $order_id, 'amount' => $amount[0].'.'.$amount[1], 'currency_code' => 'EUR', 'button_subtype' => 'services', 'no_shipping' => 1, 'custom' => 'buy_now', 'return' => PAYPAL_RETURN_URL );