How Tos
Track & Report

Displaying Localized Prices

You can display localized prices on your website easily using our Pricing API.

One of the many benefits to using Paddle is its ability to automatically localize your checkout with geo-specific payment options, manage VAT/sales tax calculations and show pricing in the user’s local currency.

For continuity, Paddle provides a way to dynamically localize the prices displayed on your site to match those displayed on the checkout once opened.

Price changes may take 10 to 15 minutes in order to be reflected due to caching.

Paddle.js supports two different methods of displaying local prices on your site, the first is to wrap any amounts in a HTML class, in the example below, the $59 price would be localized:

<p>Grab your copy of My Product for just <span class="paddle-gross" data-product="12345">$59</span>!</p>

For example, if you have pricing enabled in Euros (€54) and British Pounds (£45) for the product, users would see the following:

  • A user from the US would see: “Grab your copy of My Product for just US$59!”
  • A user from the UK would see: “Grab your copy of My Product for just £45!”
  • A user from Germany would see: “Grab your copy of My Product for just €54!”

In addition to paddle-gross for the full product price, including tax, you can also use paddle-tax for the taxable amount of the sale, and paddle-net for the pre-tax price of the product.

If you wish to use the pricing information elsewhere you can pull an object of localized pricing information for the current user for a specified product using the Paddle.Product.Prices(productId, callback) method. Using this method also enables you to retrieve additional data if your product is recurring in nature, including trial periods, localized recurring pricing and billing periods.

Paddle.Product.Prices(12345, function(prices) {

The Paddle.Product.Prices() method performs an asynchronous call to our 1.0 Pricing API to pull pricing information. It accepts three arguments: the first productId is the ID of the Paddle Product to pull pricing for, the second quantity is the number of items, and the third callback is a Javascript function to call upon successfully retrieving prices from our API.

The callback will be passed an object of price information as follows:


Price values are returned including a currency symbol


Total product price amount, including tax.

1 validation

Pre-tax product price amount.

1 validation

Taxable product price amount.

1 validation

Is the product price amount tax inclusive or exclusive.


The product quantity the price is based on.

Note: the quantity limit of 100 does not apply to subscription plans.

default: 1
minimum: 1
maximum: 100

A two-letter ISO country code. See supported countries.

pattern: [A-Z]{2}
example: GB

Included only for subscription products


Calling the 2.0 Pricing API

To retrieve price data for a list of products in a single call, or to apply a discount coupon (one-time products only) in the pricing API call, you may call our 2.0 Pricing API.

Note that, if calling from front-end code, you should use the JSONP data type in order to make this cross-domain request:

  url: '',
  dataType: 'jsonp',
  data: {
    product_ids: "123, 234, 345"
  success: function (data) {

For more information see our 2.0 Pricing API documentation.