• Resolved rnrh

    (@rnrh)


    I am having the same issue others are describing where customers are having failed checkouts and prompted with error “There was a problem connecting to the Stripe API Endpoint”. We have had a successful order placed with the plugin using live credentials.

    I am seeing it’s possibly a server based issue? Has anyone had any luck solving this? Here is a log (scrubbed of personal info) for an order that I know threw this error to the customer.

    2021-04-27T01:18:41+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    sources/src_1IkfZTD37GqQgldZz0VTykaz
    ====End Log====
    
    2021-04-27T01:18:43+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    customers request: Array
    (
        [email] => [email protected]
        [description] => Name: FIRSTNAME LASTNAME, Guest
        [name] => FIRSTNAME LASTNAME
        [metadata] => Array
            (
            )
    
    )
    
    ====End Log====
    
    2021-04-27T01:18:54+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Error Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
        [additional_data:protected] => Array
            (
            )
    
    )
    
    Failed request: Array
    (
        [api] => customers
        [request] => Array
            (
                [email] => [email protected]
                [description] => Name: FIRSTNAME LASTNAME, Guest
                [name] => FIRSTNAME LASTNAME
                [metadata] => Array
                    (
                    )
    
            )
    
        [idempotency_key] => 
    )
    
    ====End Log====
    
    2021-04-27T01:18:54+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Error: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
        [additional_data:protected] => Array
            (
            )
    
    )
    
    ====End Log====
    
    2021-04-27T01:22:03+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    sources/src_1IkfciD37GqQgldZhQcBrzKR
    ====End Log====
    
    2021-04-27T01:22:04+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    customers request: Array
    (
        [email] => [email protected]
        [description] => Name: FIRSTNAME LASTNAME, Guest
        [name] => FIRSTNAME LASTNAME
        [metadata] => Array
            (
            )
    
    )
    
    ====End Log====
    
    2021-04-27T01:22:05+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Info: Begin processing payment for order 160 for the amount of 48.00
    ====End Log====
    
    2021-04-27T01:22:05+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    payment_intents request: Array
    (
        [source] => src_1IkfciD37GqQgldZhQcBrzKR
        [amount] => 4800
        [currency] => usd
        [description] => STORE Bitters - Order 160
        [metadata] => Array
            (
                [customer_name] => FIRSTNAME LASTNAME
                [customer_email] => [email protected]
                [order_id] => 160
                [site_url] => https://unicornbitters.store
            )
    
        [capture_method] => automatic
        [payment_method_types] => Array
            (
                [0] => card
            )
    
        [customer] => cus_JNQTsA4rjXGA3D
        [shipping] => Array
            (
                [name] => RAY TRANTINA
                [address] => Array
                    (
                        [line1] => Address Line 1
                        [line2] => 
                        [city] => City Name
                        [country] => US
                        [postal_code] => Zipcode
                        [state] => State
                    )
    
            )
    
    )
    
    ====End Log====
    
    2021-04-27T01:22:05+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Stripe PaymentIntent pi_1IkfcnD37GqQgldZdqTUvNNR initiated for order 160
    ====End Log====
    
    2021-04-27T01:22:05+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    payment_intents/pi_1IkfcnD37GqQgldZdqTUvNNR/confirm request: Array
    (
        [source] => src_1IkfciD37GqQgldZhQcBrzKR
    )
    
    ====End Log====
    
    2021-04-27T01:22:15+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Error Response: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
        [additional_data:protected] => Array
            (
            )
    
    )
    
    Failed request: Array
    (
        [api] => payment_intents/pi_1IkfcnD37GqQgldZdqTUvNNR/confirm
        [request] => Array
            (
                [source] => src_1IkfciD37GqQgldZhQcBrzKR
            )
    
        [idempotency_key] => 
    )
    
    ====End Log====
    
    2021-04-27T01:22:15+00:00 DEBUG 
    ====Stripe Version: 5.0.0====
    ====Start Log====
    Error: WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => cURL error 28: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
        [additional_data:protected] => Array
            (
            )
    
    )
    
    ====End Log====
    • This topic was modified 3 years, 11 months ago by rnrh.
    • This topic was modified 3 years, 11 months ago by rnrh.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘There was a problem connecting to the Stripe API Endpoint’ is closed to new replies.