1. Home
  2. Functionality
  3. Currency, Locale and Date Format Settings

Currency, Locale and Date Format Settings

Stripe currently supports 14 languages, 30+ countries and 135+ currencies. WP Simple Pay lets you set the locale (language) for your payment forms as well as the preferred date format, currency, currency format, and tax rate for your site’s region.

For example, some companies based in France may need the French locale, an alternate date format, Euro currency, right-align the currency symbol position and use commas in place of decimals.

In your WordPress admin, go to Simple Pay Pro → Settings → General. Here you can modify any of these settings for your entire site, except locale.

To change your locale settings in your WordPress admin, go to Simple Pay Pro → Settings → Stripe Setup

Options

Stripe Checkout LocaleSpecify "Auto-detect" to display Stripe Checkout in the user's preferred language, if available, or choose your desired locale. This setting applies to the Stripe Checkout form displays only.
Card Field LocaleSpecify "Auto-detect" to display the Credit Card field placeholders and validation messages in the user's preferred language, if available, or choose your desired locale. This setting applies to the Embedded and Overlay form displays only.
CurrencySet the currency for the payment form. Select or search for any supported currency.
Currency PositionSelect left or right side with an optional space separating the currency symbol and amount.
Tax Rate PercentageEnter a tax rate as a percentage to add to the charged amount for all payment forms (i.e. for 7.5% tax enter 7.5).

The actual price of the tax charged is stored in the simpay_tax_amount metadata.

For Embedded/Overlay form (Stripe Elements) subscription invoices, taxes use Stripe's native tax property and will show up as a separate line item for each charge. Rounded to the fourth decimal. You can set this to add any sort of percentage fee to the total (not just tax). e.g:

Setup Fee: $10
Item: $40
---
Tax: 10%
---
Subtotal: $50
---
Total: $55

For Stripe Checkout subscription invoices, taxes are calculated and added to the single recurring price (and any setup fees), and do not appear as separate line items. e.g:

Setup Fee: $11
Item: $44
---
Total: $55
SeparatorsUse a comma when formatting decimal amounts and use a period to separate thousands. If enabled, amounts will be formatted as "1.234,56" instead of "1,234.56". Also set the option in your Stripe dashboard under Business > Data.

 

Updated on September 25, 2019

Was this article helpful?

Related Articles