• Resolved Nam_n

    (@nameez)


    Hi,

    I’m using currency converter on my Woocommerce shop with your plugin, when trying to checkout it doesn’t let KRW or JPY go through and shows a error the payment can’t be processed.

    Checking the logs i see it’s multiplying the amount by 100 and when if it’s more than $10,000 it’s refusing it.

    And according to the documentation we need to send the amount without decimals for them to work.

    How do i fix this?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Nam_n

    (@nameez)

    No one having this issue with this plugin?

    Thread Starter Nam_n

    (@nameez)

    Log

    
    2020-10-06T10:55:37+00:00 DEBUG 
    ====Stripe Version: 4.2.2====
    ====Start Log====
    Info: Begin processing payment for order 22546 for the amount of 2159600
    ====End Log====
    
    2020-10-06T10:55:37+00:00 DEBUG 
    ====Stripe Version: 4.2.2====
    ====Start Log====
    payment_intents request: Array
    (
        [source] => src_1GHJ9MAvNOtLuIQV2AnDfL
        [amount] => 215960000
        [currency] => krw
        [description] => Order 22546
        [metadata] => Array
            (
                [customer_name] => ***
                [customer_email] => ***@gmail.com
                [order_id] => 22546
            )
    
        [statement_descriptor] => 
        [capture_method] => automatic
        [payment_method_types] => Array
            (
                [0] => card
            )
    
        [customer] => cus_Gox3Q4CXV93Z
    )
    
    ====End Log====
    
    2020-10-06T10:55:37+00:00 DEBUG 
    ====Stripe Version: 4.2.2====
    ====Start Log====
    Error: stdClass Object
    (
        [error] => stdClass Object
            (
                [code] => amount_too_large
                [doc_url] => https://stripe.com/docs/error-codes/amount-too-large
                [message] => Amount must be no more than ?99,999,999
                [type] => invalid_request_error
            )
    
    )
    
    ====End Log====
    

    As per the log sent amount is 2159600 and on on the payment_intents array 215960000

    Appreciate any insight.

    Plugin Support Mike Straw

    (@mikestraw)

    Hi @nameez ,

    It sounds like the currency converter you’re using is doing something with the pricing information that the Stripe plugin is using to process the payment.

    Inherently, WooCommerce handles only a single currency, so a multi-currency plugin needs to account for that when it changes a product pricing data.

    You may want to check with the developers of the currency converter to see what might be going on.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripe KRW and JPY currency issue’ is closed to new replies.