Skip to content

Instantly share code, notes, and snippets.

Last active January 11, 2023 09:12
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
add_filter( 'wpforms_currencies', function( $currencies ) {
$currencies['RON'] = array(
'name' => __( 'Romanian Leu', 'wpforms' ),
'symbol' => ' lei',
'symbol_pos' => 'right',
'thousands_separator' => ',',
'decimal_separator' => '.',
'decimals' => 2,
return $currencies;
Copy link

this php file where should i copy it?
or create a new php file with that name???

Copy link

Hi Shaparak24,

Add the above code into your functions.php file.

Copy link

Stripe is not accepting this currency; how can we setup up payment gateways?

Copy link

slaFFik commented Jan 11, 2023

@karan1232345 Use the currency from WPForms settings that is accepted by Stripe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment