New version, multiple stores and one stripe account.
-
Hello,
It seems with the new connection, resetting up the connection removes the previous one from stripe. We have 3 stores sharing one stripe account, now only one works at a time with the others showing
“No API key provided. (HINT: set your API key using “Stripe::setApiKey()”. You can generate API keys from the Stripe web interface. See https://stripe.com/api for details, or email support@stripe.com if you have any questions.”
-
We’ve also removed the app and revoked access, but the plugin keeps saying it’s activated and working. There’s no way for it to be resetup.
Rolling back is the only way to restore functionality.
Hi @devksec,
Greetings from Webtoffee!
We apologize for any inconvenience you may have experienced. We will conduct further testing in our dedicated environment to ensure a comprehensive solution is provided.
Thank you for your patience.
Hi @devksec,
We couldn’t replicate the issue in our test environment. Can you clarify whether you connected to Stripe from the plugin in all the three sites?
Hello,
Yes, we had stripe with webtoffee setup before without issue using keys. It’s a multisite setup, 3 stores are subsites.
The connection process appears to work fine but when you go to checkout and try to pay with stripe checkout, you get the API error when attempting to pay.
We then can’t seem to disconnect or remove the connection, despite it being uninstalled/revoked within stripe the wordpress interfaces shows it as connected to our account.HI @devksec,
Kindly use the snippet given here in your site’s active child theme’s functions.php to disconnect the Stripe App from the plugin.
To execute the snippet, add the query parameter &action=delete_app to the url of the Stripe settings page. Once it is successfully disconnected, you can remove the snippet added to functions.php.
To learn more about the error you received, can you share Stripe API logs from the Stripe dashboard under Developers -> Logs ? If you are concerned about posting them publicly, share them privately with us here.
Hello,
Thanks, we’ll try that soon.
For the logs, I did email your support@ but no response to any of the last few tickets or emails/.
here are the redacted logsparameter_missing – enabled_events
Missing required param: enabled_events
{
"api_version": "2024-09-30.acacia",
"connect": "false",
"description": "",
"enumeratively_enabled_all_events_during_creation": "false",
"url": "https://site.website.com/?wc-api=wt_stripe",
"enabled_events":
}
Response body
{
"error": {
"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Missing required param: enabled_events.",
"message_code": "missing_required_parameter",
"param": "enabled_events",
"request_log_url": "https://dashboard.stripe.com/logs/req_J*?t=1728898689",
"type": "invalid_request_error"
}
}
Request query parameters
{
"include_only": [
"id,livemode,metadata,object,secret,status,url,api_version,application,created,description,enabled_events"
]
}
Request POST body
{
"api_version": "2024-09-30.acacia",
"connect": "false",
"description": "",
"enumeratively_enabled_all_events_during_creation": "false",
"url": "https://site.website.com/?wc-api=wt_stripe"
}Hi @devksec,
We genuinely apologize for the delay in getting back to you. We understand how important this is for you, and we regret that we couldn’t find your ticket in our support system.
It seems that our IP might have been blocked, which could be the cause of the problem. Could you please whitelist the IP 128.199.13.9 and keep us updated on how things progress? If the issue continues, we may need to look into the wt_stripe_oauth log file from WooCommerce -> Status -> Logs for further assistance.
Hi @devksec,
This thread has been inactive for some time. If you continue to experience the issue, please consider creating a new topic in the forum. For the time being, we will mark this thread as resolved.
Hello,
Updated to latest and this does not resolve the issue. IP is already whitelisted and can see its’ going through without issue.
Store 1 works when connected
when store 2 is connected then store 1 stops with this error “Invalid API Key provided: rk_live_*********************************************************************************************nyBCaI
When you then disconnected and reconnect store 1, it works again but store 2 is then having this error.
We can only get one store working at once.Redacted error, we’ve had to downgraded the plugin again
[body] => {“error”:”invalid_grant”,”error_description”:”Refresh token does not exist: REDACTED”} [response] => Array ( [code] => 400 [message] => Bad Request ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [data] => [headers] => [status] => [response:protected] => WpOrg\Requests\Response Object ( [body] => {"error":"invalid_grant","error_description":"Refresh token does not exist: REDACTED"} [raw] => HTTP/1.1 400 Bad RequestHas this been fixed ?
Hi @devksec,
Can you provide the complete log file, wt_stripe_oauth, from WooCommerce by navigating to WooCommerce -> Status -> Logs? This will enable us to investigate the issue from our end effectively.The log error that we had was out in a previous post
[body] => {“error”:”invalid_grant”,”error_description”:”Refresh token does not exist: REDACTED”} [response] => Array ( [code] => 400 [message] => Bad Request ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [data] => [headers] => [status] => [response:protected] => WpOrg\Requests\Response Object ( [body] => {"error":"invalid_grant","error_description":"Refresh token does not exist: REDACTED"} [raw] => HTTP/1.1 400 Bad RequestHi @devksec
You can share the complete logs privately using this link. We will review the logs and provide you with an update.
- You must be logged in to reply to this topic.