• Resolved captaincrank

    (@captaincrank)


    Receiving complaints from customers all noting:

    “There was a problem connecting to the Stripe API endpoint.”

    I entered test mode and submitted a transaction without any problems.

    Nothing in error logs. I log into my Stripe account and see the failed transactions as chargeable but that’s where the event log ends (around line 51). No network status of approved by network or declined. It’s as if Stripe collects the data and fails to process it when in a live environment. Some customers then go on to pay via PayPal and report no issues.

    • This topic was modified 4 years, 5 months ago by captaincrank.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Since it worked in test mode but not in live mode, I highly recommend generating the live Stripe API keys again.

    You can read more about this here:
    https://stripe.com/docs/keys

    Thread Starter captaincrank

    (@captaincrank)

    We did have some successful orders come in after I posted. Is it possible there are connectivity issues between our website (hosted on Siteground) and Stripe?

    I’m still baffled as to why the failed order logs stop at “chargeable” with no data to suggest Stripe even tried to authorize or deny the payments. This leads me to believe our customer’s “problem connecting to the Stripe endpoint” is the result of Stripe failing to authorize/deny the transactions and return expected data which basically times out the session.

    Plugin Support Mike Straw

    (@mikestraw)

    @captaincrank ,

    That’s entirely possible, especially if your site isn’t properly responding to the incoming webhook, due to either timeouts or some block that’s happening in between.

    You can get some more logs generated by going to WooCommerce > Settings > Payments > Stripe and activating Logging.


    Link to image: https://d.pr/i/Jw2BVy

    Once you do that, Stripe will create debug logs under WooCommerce > Status > Logs. Click the dropdown and the logs will contain stripe with a date. Choose a log and click the View button.

    Hopefully those will lend some insight to what’s happening with the failed transactions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem Connecting to the Stripe API Endpoint’ is closed to new replies.