As part of enhancing security, Stripe is adopting OAuth 2.0 authentication for account integrations. By moving away from secret API keys, which provide unrestricted access to sensitive data, merchants can enjoy more secure and controlled interactions, aligning with Stripe’s latest security standards. With WebToffee’s WooCommerce Stripe Payment Gateway plugin, store owners can easily transition their existing account integration to the new OAuth 2.0 method using a Stripe App. New users can integrate their Stripe accounts using the OAuth 2.0 method only. Below are the brief steps for authentication:
- Access the Plugin Settings.
- Initiate OAuth 2.0 Authentication.
- Redirect to the Stripe Sign-in Page.
- Install WebToffee’s Stripe App.
- Confirmation of Successful Authentication.
- Test Your Integration.
Connect Stripe Account Using OAuth 2.0
Step 1: Access the Plugin Settings
- Navigate to WebToffee Stripe > General Settings from the WordPress dashboard.
Step 2: Initiate OAuth 2.0 Authentication
- As soon as you open the General Settings page, a banner will be visible at the top.
- Inside the banner, you’ll find the Connect Now button.
- Switch to the live mode to accept live payments.
- Click on Connect Now to initiate the connection.
Step 3: Redirect to the Stripe Sign-in Page (Conditional)
- This step appears for users who are not already logged in to their Stripe account.
- Complete the sign-in process to continue with the integration.
Step 4: Install WebToffee’s Stripe App
- On the Stripe Apps page, continue installing the WebToffee Stripe App.
- Select an account.
- Review the app’s access permissions.
- Click on Install app in live/test mode.
Step 5: Confirmation of Successful Authentication
After successful installation, you’ll see a Connected message on the plugin page confirming that your Stripe account has been successfully linked.
Step 6: Test your Integration
Use the test mode feature in your Stripe account to conduct a test transaction and ensure that everything is in place.
Disconnecting the Stripe Account
To disconnect your stripe account:
- Click on the Disconnect button. A pop-up appears to confirm the disconnection.
- Click on Disconnect.
- To fully remove the WebToffee App, head to the Stripe dashboard.
- Navigate to Settings > Team and security > Installed apps.
- Uninstall the WebToffee Stripe App.
Comments (12)
Sihin Tsegaye
March 12, 2025
I got the below error message while I tried to connect with WebToffee.
An error occurred while connecting to your site. Details: {“access_token”:”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”,”refresh_token”:”rt_Rvnq47pbSBhGsdL6yE5nwHmS0QNTokBBFanHdpdrvmUkzYNn”,”account_id”:”acct_1HZL5UAq3pss1QaZ”,”stripe_publishable_key”:”pk_live_51HZL5UAq3pss1QaZPyWpOFjxgyjXWmdrtTX3nmKib2AAkbti4GTH1N6gG5xKJVQlrLGtiTOAs7oWJ2bohZH8TTDy00Nskw6fgY”}
Sanjai Valsan
March 14, 2025
Hi Sihin Tsegaye,
Thanks for reaching out.
The message you received is not actually an error – it’s a standard response when connecting to your Stripe account. This is expected behavior and occurs for all users during the connection process.
If you experience any issues while trying to connect, please contact our customer support team, and they’ll be happy to assist you.
QUILLO Web
February 2, 2025
There is still the expiration bug!
I have to re-activate every few days it loses the connection and CUSTOMER PAYMENTS ARE NOT PROCESSED!!! Dangerous!
Sanjai Valsan
February 4, 2025
Hi Quillo,
Thank you for reaching out. We truly appreciate your patience.
We understand the urgency of this issue and sincerely apologize for any inconvenience caused. To investigate this further and find a permanent solution, we kindly request more details. Please reach out to our customer support team, and we’ll be happy to assist you promptly.
QUILLO Web
February 2, 2025
Hi,
This has not been properly fixed. Same issue, I re-connect to Stripe, and then after a few days or a while it simply STOPS working and REJECTS payments, and loses the connection to Stripe, even though your plugin says it is ACTIVE.
The fix is to DISCONNECT and RE-CONNECT again, but this is not expected as a proper solution for PAYMENT.
Please fix!
Sanjai Valsan
February 4, 2025
Hi Quillo,
Thank you for reaching out,
We understand how frustrating this issue can be. To properly diagnose and resolve this, we recommend reaching out to our customer support team with more details.
Petr
January 2, 2025
Hello, I have this error after installing the app in the Stripe and redirecting back to the website: An error occurred while connecting to Stripe. http_status_code403.
I use Cloudflare.
Sanjai Valsan
January 5, 2025
Hi Petr,
Thank you for reaching out,
The error you’re experiencing requires technical assistance to diagnose and resolve effectively. We recommend contacting our customer support team directly. They will be able to assist you in identifying the cause of the issue and guide you through the resolution process.
Paul
November 23, 2024
I’ve tried dozens of times, but it always fails with “An error occurred while connecting to Stripe. WP error – cURL error 28: Connection timed out after 10000 milliseconds.”
Sanjai Valsan
November 25, 2024
Hi Paul,
Thank you for reaching out!
The error message you’re seeing indicates a server timeout issue, which typically occurs when the server cannot complete the connection to Stripe within the allotted time. To resolve this, you’ll need to increase the timeout limit on the server side.
Tom
October 21, 2024
This update worked seamlessly but stops working after a while. I have no issues connecting using this new method, but after a day or two this error occurs to my customers: Expired API Key provided: rk_live_******aBcDe. Platform access may have been revoked. Is there a solution to this Sanjai?
Sanjai Valsan
October 23, 2024
Hi Tom,
Thank you for bringing this up! We’ve resolved this issue in our latest release, version 4.0.1. Please update to this version, which includes a fix for the API key expiration bug. If you have connected your Stripe account using an older version, disconnect it and reconnect after the update to ensure everything works smoothly. Additionally, check the
wt_stripe_oauth
log file under WooCommerce > Status > Logs for any issues. If you encounter any problems, feel free to reach out to our support team for assistance.