• Makoto

    (@freeleaf)


    Hello,

    Thank you for the continued support with Simple Membership.

    I am using Stripe to make subscription payments in Japanese yen, but the amount in the payment list shows a value of 1/100 after the second payment.
    The first time ( Status is “subscription created” ) is the correct amount.

    The Stripe payment is being made with the correct amount, but the DB is storing the 1/100 value.

    I checked and it seems that in line 88 of swpm-stripe-subscription-ipn.php, when the currency code is retrieved, it is not converted to upper case, so the amount is treated as cents.
    I added $currency_code = strtoupper( $currency_code ); to make it capitalized and it now displays correctly.

    I don’t know if this fix has any other impact, but could you please fix this problem in a future update?

    Best regards

Viewing 1 replies (of 1 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us and sharing your solution. I have submitted a message to the developers to investigate further your suggestion.

    Kind regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.