• Resolved debinz

    (@debinz)


    Hi,

    In the last few days both Stripe payments have failed which is unusual. Here are the logs. Is the amount right in there? The amount should be $39.00 but in the logs value [amount] it shows 3900. This site has been successfully renewing memberships for over a year now and this has just happened.

    2018-11-15T10:15:58+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    sources/card_1BYpeOKsKVNVvreuWgi5iZYD
    ====End Log====

    2018-11-15T10:15:58+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    Info: Begin processing subscription payment for order 7419 for the amount of 39.00
    ====End Log====

    2018-11-15T10:15:58+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    charges request: Array
    (
    [currency] => aud
    [amount] => 3900
    [description] => The Invisible Exercise – Order 7419
    [statement_descriptor] => The Invisible Exercise
    [capture] => true
    [expand[]] => balance_transaction
    [metadata] => Array
    (
    [customer_name] => Colin ***
    [customer_email] => ***.com.au
    [order_id] => 7419
    [payment_type] => recurring
    [site_url] => https://***.com.au
    )

    [customer] => cus_Bwj6D2bzdew3mQ
    [source] => card_1BYpeOKsKVNVvreuWgi5iZYD
    )

    ====End Log====

    2018-11-15T10:15:59+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    Error: stdClass Object
    (
    [error] => stdClass Object
    (
    [charge] => ch_1DWIEEKsKVNVvreujOMP5QVA
    [code] => card_declined
    [decline_code] => lost_card
    [doc_url] => https://stripe.com/docs/error-codes/card-declined
    [message] => Your card was declined.
    [type] => card_error
    )

    )

    ====End Log====

    2018-11-15T10:19:46+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    sources/src_1DL4aSKsKVNVvreurEy5eRCz
    ====End Log====

    2018-11-15T10:19:47+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    Info: Begin processing subscription payment for order 7421 for the amount of 39.00
    ====End Log====

    2018-11-15T10:19:47+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    charges request: Array
    (
    [currency] => aud
    [amount] => 3900
    [description] => The Invisible Exercise - Order 7421
    [statement_descriptor] => The Invisible Exercise
    [capture] => true
    [expand[]] => balance_transaction
    [metadata] => Array
    (
    [customer_name] => Sarah ***
    [customer_email] => ***@gmail.com
    [order_id] => 7421
    [payment_type] => recurring
    [site_url] => https://***.com.au
    )

    [customer] => cus_Dmdszq75yCorVF
    [source] => src_1DL4aSKsKVNVvreurEy5eRCz
    )

    ====End Log====

    2018-11-15T10:19:48+00:00 DEBUG
    ====Stripe Version: 4.1.12====
    ====Start Log====
    Error: stdClass Object
    (
    [error] => stdClass Object
    (
    [charge] => ch_1DWJMqKsKVNVvreuhG4S8vYQ
    [code] => card_declined
    [decline_code] => insufficient_funds
    [doc_url] => https://stripe.com/docs/error-codes/card-declined
    [message] => Your card has insufficient funds.
    [type] => card_error
    )

    )

    ====End Log====

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi there @debinz

    In the last few days both Stripe payments have failed which is unusual. Here are the logs. Is the amount right in there? The amount should be $39.00 but in the logs value [amount] it shows 3900. This site has been successfully renewing memberships for over a year now and this has just happened.

    I can understand your confusion here but yes, the [amount] shows the total in lowest denomination, so let’s walk through this:

    Begin processing subscription payment for order 7419 for the amount of 39.00

    It tells you that it is going to charge 39.00 for order 7419, that is in AUD, so [amount] => 3900 is in cents.

    These decline codes are exactly what the decline_codes mention – a lost card and insufficient funds.

    As my reply fully answers your query, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    I hope this helps, have a great day!

    Thanks,

    Hi guys,

    I’m having the same issue – over the last few days there’s been an increase in failed orders, possibly due to API timeouts? I’ll add my logged errors once I’m back at the office.

    Any help is greatly appreciated!

    Cheers
    Clemens

    Here are my error messages:

    [stripe_error] => Array
                            (
                                [0] => There was a problem connecting to the Stripe API endpoint.
                            )
    
     [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Connection timed out after 10001 milliseconds
                    )
    
    [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
                    )
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripe Payments Failed’ is closed to new replies.