Posted: December 25, 2017 at 2:56 am
|
Hi, We have setup EventEspresso Ver # 4.9.43.p to manage ticketing of our events. The current setup has country set to “Japan” with “Currency Decimal Places” set to 0 and payments are set to be accepted in “Japanese Yen” and will be processed via EE Stripe plugin Ver # 1.1.0.p as setup on our server. All is working till the payment popup is displayed. The total order amount is multiplied by 100 and the same is deducted from the card as entered by the user. Have tried multiple options but I’m not sure what to do stop order amount being multiplied by 100. Is this something to fix in EE or in Stripe? Thanks |
Hi there, This is actually an issue with the current Stripe gateway (version 1.1.0). Future versions of the Stripe gateway will be able to support what Stripe refers to as “zero-decimal currencies”. In the meantime, you can download and install this branch of the Stripe gateway that includes support for Japanese Yen: https://github.com/eventespresso/eea-stripe-gateway/archive/BUG-11042-zero-decimal-currencies.zip You download the above, remove the Stripe add-on from your site, and replace with the plugin linked to above. |
|
|
Hi, Based on your inputs, I have removed my current Stripe plugin and installed the one as recommended by you, having version number 1.0.16.rc.002 When tested using the new Stripe plugin, it seems that the updated plugin has not made any changes in the way the amount is shown to end user on payment screen. The amount is still multiplied by 100 and the same is charged on the card as entered by the user. Looking forward for your inputs. Thanks |
I have the same branch loaded up on a testing site and I’m not seeing the issue you reported in the last reply: https://slack-files.com/T02SY781D-F8KR596UD-8627d563b4 May I ask can you try clearing your browser’s cache? The reason I ask is because this branch of the Stripe gateway includes some changes to the JavaScript file and your browser may be loading the older copy of the JavaScript file used by the Stripe gateway. |
|
|
Hi, I had the same thoughts as you & had already cleared browser cache prior to testing the new branch. Somehow the result is the same as earlier. The following URL’s will give you an idea about my issue. Payment Page: EE Country Settings: Looking forward for your inputs. Thanks |
Hi there, I’m afraid the screenshots do not give me any further ideas. I can advise to make sure you have the current version of Event Espresso 4 activated, and you can step through this troubleshooting guide to rule out a plugin conflict: |
|
|
Hello Josh, A Happy New Year to you. Based on your last input, I have followed the steps to identify the source of the bug. Given below is the current setup that I have on my local Linux server. All other plugins other then the ones listed below are “Deactivated”. Theme – Twenty Seventeen Version: 1.4 The following image still show amount to be charged multiplied by 100. https://drive.google.com/file/d/1oxnD_sDyxzQ0sgLjTY63bb_gOVpHKGB0/view?usp=sharing Tested multiple times by clearing all browser data, but every time result is same. I have no idea on how to resolve this. Thanks |
May I ask are there any Stripe gateways activated for the WooCommerce plugin? |
|
|
Hi, There are no Stripe gateways activated for WooCommerce plugin. Let me know if you need any further details regarding the current setup. Thanks |
Hmm, strange. I setup the version of Stripe that Josh provided on a test site and didn’t run into any issues – http://take.ms/lVJURJ Do you have an active event I can run a test registration on? |
|
|
Hello, As requested, I have setup a following events on which can used for test registrations. http://aspiringpanda.com/dev-projects/kaymeclub-ap/events/kay-me-test-event-1/ http://aspiringpanda.com/dev-projects/kaymeclub-ap/events/kay-me-test-event-1-2/ If you need any further information or WordPress backend access do let me know. Thanks |
The version of Stripe used on your site does not have the changes Josh made. Your site – http://take.ms/SadZV My site using Josh’s branch – http://take.ms/c4jjy (There are more changes than that, but it shows the ‘wrong’ version is in use) However, changes have now been made to the above branch that require an updated version of Event Espresso core as we are adding support for this scenario into core so that branch will no longer work on your site. If you’d like to install the version of the add-on that will work right now you can use this: http://take.ms/YOriE Or if you wait for the next release of both EE core and Stripe it will likely support your currency. |
|
|
Thank you for the quick response. It’s strange to know that my Stripe version is different then yours, as I had downloaded and installed from URL as provided by Josh. Anyway I have installed updated Stripe version from the URL and it’s working as expected. Can you give me ETA for the next release of EE core and Stripe. Thanks |
Currently, the changes made to the Stripe add-on are under review, once accepted they’ll go through testing to confirm they work as expected and no new bugs have been introduced so it depends on how testing goes. |
|
The support post ‘Order amount multiplied by 100’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.