https://pasteboard.co/BCFbNdSrRGoz.png
The currency format should be same like
https://pasteboard.co/nndu0gKGwzpv.png
I have a problem with the currency format if you could please help me!
it is like – lei300 and I want it at least like 300 lei. Please help!
]]>Even though we got Spanish locale selected, and quantities appear correctly at the WP dashboard, when users click on our donations buttons and go to stripe payment page, 26,15 euros for example (which is Spanish form or 26.15 euro) turn into 2,615.00 euro !!!
Looking at https://docs.wpsimplepay.com/articles/currency-locale-date-settings/ we have read:
Separators Use 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.
But we neither find that Business > Data section at our Stripe panel nor that link takes to a page that makes any sense about this comma issue
Stripe support has told us that there’s no place at their dashboard to configure the decimal separator, so we are completly at a lost! Can anybody here please help us? Thank you in advance.
Our related settings are:
Stripe Setup > Account Country = Spain
Stripe Setup > Stripe Checkout Locale = Auto-detect (before, it was Spain, but problem was the same)
General > Currency Options:
Currency = Euro
Currency Position = Right with space
Separators = Use a comma
System report:
### WordPress Installation ###
Site Name: 15/15\15
Home URL: https://www.15-15-15.org/webzine
Site URL: https://www.15-15-15.org/webzine
SSL/HTTPS Enabled: Yes
Version: 5.5.1
Locale: es_ES
Multisite: No
Permalinks: /%year%/%monthnum%/%day%/%postname%/
WP Memory Limit: 256 MB
WP Debug Mode: No
Script Debug: No
### WP Simple Pay Lite Settings ###
WP Simple Pay Lite Lite Version: 2.5.2
Stripe TLS: Cannot test TLS 1.2 support until your Stripe Test Secret Key is entered.
Simple Pay Test or Live Mode: Live Mode
### Active Theme ###
Theme: Fox - 4.4.3.1
Child Theme: No
Parent Theme: -
### Active Plugins ###
bbPress Notify: 0.2.2
Subscribe to Comments Reloaded: 200813
XCloner - Site Backup and Restore: 4.2.153
Download Manager: 3.1.09
Open Graph and Twitter Card Tags: 3.0.0
User Role Editor: 4.56.1
Really Simple SSL: 3.3.5
AddToAny Share Buttons: 1.7.42
WP Simple Pay Lite: 2.5.2
Shortcode Widget: 1.5.2
Geo Mashup: 1.13.3
Classic Editor: 1.6
WP Terms Popup: 2.0.1
Polylang: 2.8.2
Head Meta Data: 20200805
Members: 3.1.3
WP-PageNavi: 2.93.3
Yet Another Stars Rating: 2.4.9
Phoenix Media Rename: 2.2.5
CSS Plus: 1.5.1
Contact Form 7: 5.2.2
Better Search Replace: 1.3.3
bbPress: 2.6.5
Regenerate Thumbnails: 3.1.3
Akismet Anti-Spam: 4.1.6
Wordfence Security: 7.4.11
MailPoet 2: 2.14
My Calendar: 3.2.8
Google XML Sitemaps: 4.1.1
Co-Authors Plus: 3.4.3
Stray Random Quotes: 1.9.9
Widget Clone: 1.1.2
### Server Environment ###
Web Server: Apache
PHP Version: 7.3.22
MySQL Version: 5.7.31
Server Timezone: UTC
Display Errors: No
Server PHP Memory Limit: 256M
Upload Max Filesize: 32M
Post Max Size: 32M
Max Execution Time: 30
Max Input Vars: 1000
cURL Enabled: Yes
cURL Version: 7.72.0
OpenSSL/1.1.1g
mbstring (Multibyte String) Enabled: Yes
fsockopen: Yes
SOAP: Yes
SUHOSIN: No
WP Remote POST: Yes
WP Remote GET: Yes
### Client Information ###
IP Address: 209.42.193.83
Browser: Firefox 60.0 (Linux)
]]>I have in the product view, the currency after the price once as EUR and €. How do I get the double currency away?
Thanks in advance.
Greetings Wolfgang
I still encounter a problem of currency format with the plugin: 99 999 does not work in admin or in frontend.
Is the problem fixed with the paid version ?
Even by creating a new currency, the format does not apply.
Greetings
]]>*for example – when user input 10000, it auto-change to 10,000
I found some solution (check below)
BUT I WANT TO KNOW HOW TO INTEGRATE THIS CODES INTO WPFORMS CODE
this are few solution –
solution – 1
____________________
myNumber.value = commify(myNumber.value)
myNumber.addEventListener(“change”, function(){
commify(event.target.value)
})
function commify(value){
var chars = value.split(“”).reverse()
var withCommas = []
for(var i = 1; i <= chars.length; i++ ){
withCommas.push(chars[i-1])
if(i%3==0 && i != chars.length ){
withCommas.push(“,”)
}
}
var val = withCommas.reverse().join(“”)
myNumber.parentNode.setAttribute(“comma-value”,val)
}
input field –
<input type=”number” id=’myNumber’ value=”40000″ step=’100′>
solution – 2
____________________
function addCommas(nStr)
{
nStr += ”;
x = nStr.split(‘.’);
x1 = x[0];
x2 = x.length > 1 ? ‘.’ + x[1] : ”;
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, ‘$1’ + ‘,’ + ‘$2’);
}
return x1 + x2;
}
input field –
<input type=”text” id=”txtBox” onchange=”return addCommas(this.value)” />
]]>
https://github.com/ilanco/gravity-forms-multi-currency
plus used with this, and making sure the amounts are right in the product fields, I think I now have it working …
https://www.gravityhelp.com/documentation/article/gform_currencies/
Only took a few hours to work out.
https://www.ads-software.com/plugins/gravity-forms-multi-currency/
]]>https://www.ads-software.com/plugins/bookly-responsive-appointment-booking-tool/
]]>