Decimal comma is wrongly passed to Stripe
-
Hi, I want to inform of something not working with the locale settings regarding decimal comma (which is used in some countries like France or Spain to separate decimals instead of the point).
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 commaSystem 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)
The page I need help with: [log in to see the link]
- The topic ‘Decimal comma is wrongly passed to Stripe’ is closed to new replies.