• Resolved maestro182

    (@maestro182)


    Hi, thank you for your quick and kind reply to the previous topic. I am looking forward to your improvement! I’ve left the review which says I am looking forward to the big evolution of your plugin. I am also working on the translation of your plugin into Japanese.

    At present I’ve made “Registration” in your plugin and testing it by myself. In order to accept payment through your plugin, I registered for “Stripe” account and passed all the examinations. Finally I get Stripe API secret Key and put it into the setting of your plugin. But it doesn’t work…

    After I made a booking and finished e-mail verification, the booking status was normally shown and there is a payment link of Stripe(with logos of credit cards). But then I clicked it, the message “A serious error has occurred on this site. Learn more about troubleshooting WordPress here.”

    Do you have any ideas to solve this? I am happy if you help me.

    • This topic was modified 1 year, 4 months ago by maestro182.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter maestro182

    (@maestro182)

    Sorry, the problem above was resolved! The reason why Stripe payment link doesn’t work was my fault in Currency setting!

    But another problem has occurred.

    I set “JPY” in Currency code setting. When the transaction goes into Stripe Payment Website, the amount of Japanese Yen turns 100 times!! For example, the booking of 4500JPY per a seat turns 450,000JPY in the Stripe payment.

    How should I resolve it?

    Thread Starter maestro182

    (@maestro182)

    I by myself changed PHP program and solved. I deleted “* 100” below, then the Stripe Payment turns out the correct Japanese Yen amount.

    create-checkout-session.php

    ‘unit_amount’ => SeatregBookingService::getBookingTotalCost($bookingId, $bookingData->registration_layout) * 100,

    I feel happy if you modify it in your next version release.

    Plugin Author thesiim

    (@thesiim)

    Hey.
    Yes its seems that Japanese Yen is a little different.
    USD and EUR expect the price to be in cents. So that why we multiply it with 100
    https://stackoverflow.com/questions/35326710/stripe-currency-are-all-amounts-in-cents-100ths-or-does-it-depend-on-curren

    I will fix it in next release.


    Plugin Author thesiim

    (@thesiim)

    I published a new version of the plugin 1.39.4
    It should fix the issue

    Thread Starter maestro182

    (@maestro182)

    Thank you very much for your super-quick reaction!!

    I have renewed the plugin ver. and checked out that the payment function works well!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘About Payment function’ is closed to new replies.