Gravity Wiz

Magically enhanced tutorials, snippets and plugins for Gravity Forms!

  • Gravity Perks
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    • Documentation
    • Support
    • Account

Gravity Forms Currencies

Last updated August 22, 2019 | Written by David Smith 11 Comments

This is a list of all default Gravity Forms currencies and the data associated with them. Default currencies can be modified and new currencies can be added via the gform_currencies filter.

There is an explanation of the parameters at below the list of currencies. Jump to Parameters section.

{
"USD": {
"name": "U.S. Dollar",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": "",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"GBP": {
"name": "Pound Sterling",
"symbol_left": "£",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"EUR": {
"name": "Euro",
"symbol_left": "€",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"AUD": {
"name": "Australian Dollar",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"BRL": {
"name": "Brazilian Real",
"symbol_left": "R$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"CAD": {
"name": "Canadian Dollar",
"symbol_left": "$",
"symbol_right": "CAD",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"CZK": {
"name": "Czech Koruna",
"symbol_left": "",
"symbol_right": "Kč",
"symbol_padding": " ",
"thousand_separator": " ",
"decimal_separator": ",",
"decimals": 2
},
"DKK": {
"name": "Danish Krone",
"symbol_left": "",
"symbol_right": "kr.",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"HKD": {
"name": "Hong Kong Dollar",
"symbol_left": "HK$",
"symbol_right": "",
"symbol_padding": "",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"HUF": {
"name": "Hungarian Forint",
"symbol_left": "",
"symbol_right": "Ft",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"ILS": {
"name": "Israeli New Sheqel",
"symbol_left": "₪",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"JPY": {
"name": "Japanese Yen",
"symbol_left": "¥",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": "",
"decimals": 0
},
"MYR": {
"name": "Malaysian Ringgit",
"symbol_left": "RM",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"MXN": {
"name": "Mexican Peso",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"NOK": {
"name": "Norwegian Krone",
"symbol_left": "Kr",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"NZD": {
"name": "New Zealand Dollar",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"PHP": {
"name": "Philippine Peso",
"symbol_left": "Php",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"PLN": {
"name": "Polish Zloty",
"symbol_left": "zł",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ".",
"decimal_separator": ",",
"decimals": 2
},
"RUB": {
"name": "Russian Ruble",
"symbol_left": "",
"symbol_right": "pyб",
"symbol_padding": " ",
"thousand_separator": " ",
"decimal_separator": ".",
"decimals": 2
},
"SGD": {
"name": "Singapore Dollar",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"ZAR": {
"name": "South African Rand",
"symbol_left": "R",
"symbol_right": "",
"symbol_padding": "",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"SEK": {
"name": "Swedish Krona",
"symbol_left": "",
"symbol_right": "Kr",
"symbol_padding": " ",
"thousand_separator": " ",
"decimal_separator": ",",
"decimals": 2
},
"CHF": {
"name": "Swiss Franc",
"symbol_left": "CHF",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": "'",
"decimal_separator": ".",
"decimals": 2,
"symbol_old": "Fr."
},
"TWD": {
"name": "Taiwan New Dollar",
"symbol_left": "$",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
},
"THB": {
"name": "Thai Baht",
"symbol_left": "฿",
"symbol_right": "",
"symbol_padding": " ",
"thousand_separator": ",",
"decimal_separator": ".",
"decimals": 2
}
}
view raw gw-gravity-forms-currencies.php hosted with ❤ by GitHub

Parameters

  • name (string) (required)

    The name of your currency. Will appear in the Currency setting on the Gravity Forms main settings page.

    Example: "U.S. Dollar"

  • symbol_left (string) (required)

    The character or HTML entity that should appear to the left of the currency amount. If you don’t want a symbol on the left, simply use an empty string.

    Examples: '$', '€', or ''

  • symbol_right (string) (required)

    The character or HTML entity that should appear to the right of the currency amount. If you don’t want a symbol on the right, simply use an empty string.

    Examples: '$', '€', or ''

  • symbol_padding (string) (required)

    A string that will be used to pad the currency symbol and currency amount. Typically one space is used. Can be empty string for no padding.

    Examples: ' ', ''

  • thousand_separator (string) (required)

    Specify how thousands should be separated; comma or decimal (i.e. 1,000 vs 1.000).

    Example: ',', '.'

  • decimal_separator (string) (required)

    Specify how decimals should be separated; comma or decimal (i.e. 100.50 vs 100,50).

    Example: ',', '.'

  • decimals (integer) (required)

    Specify how many decimal places to which the currency should be rounded (i.e. 100.50 vs 100.500).

    Example: 2

Did this resource help you do something awesome with Gravity Forms? Then you'll absolutely love Gravity Perks; a suite of 32+ essential add-ons for Gravity Forms with support you can count on.

  • View All Perks
  • Buy Gravity Perks

Filed Under: Resource

Comments

  1. Vladimir Nidzovic says

    June 22, 2020 at 5:06 am

    Hello Ryan,

    Please find end user scenario below:

    Do you wish for the user to be able to select the currency and then that transfer to the payment portal? – YES Are you using a plugin for the payment portals? – Yes, PayPal, Stripe Are you using WooCommerce to handle the products? – Yes

    Reply
    • Ryan Donovan says

      June 22, 2020 at 9:11 am

      Hello Vladimir, we sadly do not have a solution for this at this time. You would need a dedicated WooCommerce plugin that would handle multi-currency selection. 😃

  2. VN says

    June 17, 2020 at 3:24 am

    Hello,

    where can I learn more on how the rest of the checkout process goes on and if this addon is compatible with payment addons sunc as Stripe, Paypal etc?

    Thanks!

    Reply
    • Ryan Donovan says

      June 17, 2020 at 8:46 am

      Hello, thanks for writing in. Are you attempting to set each currency per form or as a whole on your website? Do you wish for the user to be able to select the currency and then that transfer to the payment portal? Are you using a plugin for the payment portals? Are you using WooCommerce to handle the products? Let us know your scenario. 😃

  3. Marcel says

    May 22, 2020 at 6:07 pm

    Hi

    The add on Multicurrency from GravityPlus (https://gravityplus.pro/gravity-forms-multi-currency-selector/) looks like scam: https://www.trustpilot.com/review/gravityplus.pro

    It would be great if you make a multicurrency add-on so that the buyer can select the currency according to the country they are buying from.

    Reply
  4. Julie says

    May 29, 2018 at 4:30 pm

    Hi, Would it be possible to hide the currency name (USD, CAD, EUR, etc. ) from showing on the form under Product Price? For example: Price: $ 1,500.00 CAD Any help would be greatly appreciated!

    Reply
    • David Smith says

      May 30, 2018 at 2:09 am

      Hm, I don’t have a ready solution for this one.

  5. Thomas Secher says

    March 15, 2018 at 2:08 pm

    Would it be possible to setup different currency on each form in Woocommerce somehow? Setting up one overall for the entire WordPress installation is far from sufficient for us. We are planning to use Gravity Forms with Woocommerce and we need to be able to work with different currencies. Right now we seem to be hitting the head in the wall so we might abandon gravity forms if we dont find a work around.

    Reply
    • David Smith says

      April 11, 2018 at 11:51 am

      We don’t have a solution for this one, Thomas.

    • Thomas says

      October 7, 2019 at 1:44 pm

      Any news on this David? We know that https://gravityplus.pro/gravity-forms-multi-currency-selector/ now exist but really it’s super expensive for something as simple as allowing different currency on each form. We are currently exploring switching to a Gravityforms alternative because of this.

    • David Smith says

      November 4, 2019 at 8:46 am

      Hi Thomas, we don’t currently have plans to provide a solution for this functionality. I will say, I think it may be a bit more complicated than you think. If the plugin works well, $75 is a reasonable price.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • How To (64)
  • News (21)
  • Plugins (14)
  • Releases (7)
  • Resource (3)
  • Snippets (58)
  • Tutorials (57)
  • Updates (104)

Recent Posts

  • How to Send a Follow-Up and Pre-Fill Information
  • How to Update Posts with Gravity Forms
  • Gravity Wiz Weekly #104
  • The Complete Guide to Using Gravity Forms With Zapier
  • Gravity Wiz Weekly #103

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2021 · Powered by WordPress · Gravity Wiz LLC

  • Support
  • Affiliates
  • About
  • Sitemap
  • Gravity Perks
    ▼
    • Gravity Perks
    • Tutorials & Snippets
    • About
  • Support
    ▼
    • Documentation
    • Support
    • Account