On this page
No Headings
Last updated: June 17, 2026
Estimated time: 10 minutes
This FAQ covers setup, customization, testing, and other common topics for Payment Links and Buttons.
Payment links collect payments by sharing a URL with customers. Best for accepting in-person or contactless payments without building a website.
Payment buttons collect payments directly from your website by adding button code to your page's HTML. Best for selling a specific product or service with a direct payment option on your website.
Yes. By default, payment links and buttons use the customer's browser settings to determine the language and locale. You can override the locale for payment links and button code by appending locale.x and country.x as query parameters. Any custom text you enter during configuration does not get translated.
See the JavaScript SDK script configuration for supported locale codes.
Example payment link:
https://www.paypal.com/ncp/payment/F3YMU2ZGT49XX?locale.x=ja_JP&country.x=JP
Example script tag:
<script src="...¤cy=USD&locale.x=ja_JP&country.x=JP"></script>Yes. To enable webhooks:
You can repeat these steps in the sandbox by switching the environment from Live to Sandbox in the top-right corner.
Yes. You can hide all text and labels around the button to fit your site's visual design. This does not change how PayPal processes the transaction, which still uses the hosted button ID configuration. If you hide labels, make sure your button type does not require customer input, such as changing quantity.
Example CSS to hide surrounding fields (replace <hostedButtonID> with your actual ID):
<style>
#paypal-form-fields-container-<hostedButtonID > .item-header {
display: none !important;
}
#paypal-form-fields-container-<hostedButtonID > .carousel-container {
display: none !important;
}
</style>Use this approach only when the button does not require customer selections or input.
You can test payment links and buttons in the sandbox at https://www.sandbox.paypal.com/us/home.
Pay with Venmo is not currently available in the sandbox. To test Venmo, you must test in the live environment.
Yes. Payment links and buttons support IPN.
To open IPN settings:
Payment links and buttons support Payment Data Transfer (PDT) variables. You receive PDT data when you turn on Auto Return in your payment links and buttons configuration. PDT lets PayPal send transaction details to your return URL after checkout.
No. Payment links and buttons do not honor the bulk shipping settings override in your account shipping preferences. The shipping option in your account profile does not apply to payment links or buttons.
Usually no. The button uses configuration stored on PayPal servers. After you save your changes in your PayPal account, you do not need to update the button code on your site.
Exception: If you change the product's currency code, you must replace the existing button code with the updated code.
The client ID identifies your PayPal account in the integration. Do not edit or remove it. Use it exactly as provided in the button code.
Yes. You can hide specific text and labels around the button. This does not change how PayPal processes the transaction, which still uses your configured hosted button ID. Only hide labels when your button type does not require customer input. If you hide fields that collect required data, such as quantity or item selection, the transaction can fail.
Example: Hide the price label for a specific hosted button (replace <HostedButton_ID> with your actual ID):
<style>
#paypal-form-fields-container-<HostedButton_ID> #price-label {
display: none !important;
}
</style>Hide multiple labels, such as product name and price:
<style>
#paypal-form-fields-container-<HostedButton_ID> #price-label,
#paypal-form-fields-container-<HostedButton_ID> #desc-label {
display: none !important;
}
</style>Hide all text fields around the button for a specific hosted button:
<style>
#paypal-form-fields-container-<HostedButton_ID> {
display: none !important;
}
</style>Use the full-hide approach only when your button does not require any customer selections or input.
No. Payment links support one-time payments only.
Yes. Payment links securely process payments in compliance with Payment Card Industry (PCI) standards.
Yes. You can customize certain elements of your checkout experience, such as your business name, logo, and brand colors. The level of customization can vary by checkout type. See Customize checkout and buttons for more information.
Yes. You can use payment links to accept payments from customers in many countries and regions. Availability can vary by market.
No. Currently, we do not support single-use payment links or link expiration.
Yes. You can generate payment links programmatically by using PayPal APIs. This lets you create and manage links at scale and integrate payment link creation into your own systems or workflows. See API to create a payment link for more information.