How Tos
Checkout
Subscriptions
Track & Report

Overriding Checkout Prices

It may be useful to override the price of the checkout in order to build custom checkout experiences rather than using a coupon or other method.

You can do this by generating a unique checkout URL using the Pay Link API and passing in prices to override the initial checkout price or recurring_prices if you wish to override a subscription’s subsequent recurring payment amount. Pay Link checkouts can be based on an existing product or subscription plan (in which case they will inherit certain properties of that product - unless you override them) or can be completely custom, and not based on any existing product. See the examples below for usage of these parameters.

The generated checkout URL can be displayed as an overlay with Paddle.js using the override parameter.

This can be done either with a Paddle checkout button:

<a href="#!" class="paddle_button" data-override="https://checkout.paddle.com/checkout/custom/abc123...">Buy Now!</a>

or as a Javascript call like below:

Paddle.Checkout.open({
	override: 'https://checkout.paddle.com/checkout/custom/abc123...'
});

Price Overrides

Price overrides are passed as an array of strings specifying the override price with the currency, joined by a colon. For example:

"prices": [
	"USD:19.99",
	"EUR:15.99"
]

See our API documentation for more details on the Pay Link API.