Customising Paypal Checkout Button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Years ago I built a website with a Paypal Pay Now button.
I was able to pass variables to the Pay Pal checkout
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="XXXXXXXXXX">'My Business Code'
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="amount" value="<%=iCost %>"> 'Could be a variable amount
<input type="hidden" name="item_name" value="Hire">
<input type="hidden" name="item_number" value="<%=sRef %>" /> 'Reference number for the sale
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="http://www.mysite.com/complete.asp">
<input type="hidden" name="cancel_return" value="http://www.mysite.com/payment.asp">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHosted">
<input type="image" src="http://www.mysite.com/img/pay-now-button.png" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
This site still works and accepts payments
I've now set up a new company to integrate a pay pal checkout button but it seems to have all changed.
Is any of the above still possible.
Thanks
- Labels:
-
PayPal HTML Buttons

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MetroDesigns,
Thank you for posting to the PayPal community.
I understand that you're using PayPal Website Payments Standard (WPS) integration which is a deprecated product. So, we recommend merchants integrate our latest PayPal Checkout (Smart button) product.
Please follow the steps provided in the below detailed guide links :
https://developer.paypal.com/docs/checkout/
https://developer.paypal.com/demo/checkout/#/pattern/server
https://developer.paypal.com/integration-builder/
Alternatively, you can use any of the third-party PayPal providers to integrate PayPal into your website. PayPal partners include Shopify, WooCommerce, Wix, and other major eCommerce and payment solutions platforms. Please see the below directory of PayPal partners and their integration steps. You can choose any of the PayPal partners of your choice.
https://www.paypal.com/us/business/platforms-and-marketplaces/directory
OR
PayPal has recently introduced a button called NCP(No-code payment) buttons using which you can generate the button code and use it directly on your website.
Please find the below steps to create the NCP button.
Step 1: Login into your PayPal account https://paypal.com/.
Step 2: Open the URL https://paypal.com/buttons/.
Step 3: Select the Pay link or Button from the list.
Step 4: Follow the on-page instructions to generate the code and link of the button.
If you are still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detailed information and error details.
Sincerely,
Akshay Kumar Swamy,
PayPal MTS.
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- Customise checkout page in Braintree Client-side Integration (JS, iOS, Android SDKs)
- PayPal Pay buttons a mysterious process in PayPal Payments Standard
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Sandbox isnt working in REST APIs