paulie Posted September 23, 2024 Share Posted September 23, 2024 After upgrading to 8.11 we get a message "You must update your Stripe configuration to use the correct keys. Click here to update the configuration". Following the link it takes you to a page "Click here to activate and configure the WHMCS app in my Stripe account." This link takes you to https://marketplace.stripe.com/apps/whmcs-restricted-auth-keys and not anywhere to update the configuration. Bit confusing? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Product Manager WHMCS John Posted September 23, 2024 WHMCS Product Manager Share Posted September 23, 2024 Hi @paulie, Click the "Install App" button at https://marketplace.stripe.com/apps/whmcs-restricted-auth-keys Once the app is installed, click "Continue to App Settings", and you'll be presented with the new keys. Enter they new keys into the Stripe section of WHMCS at Configuration > System Settings > Payment Gateways. 1 Quote Link to comment Share on other sites More sharing options...
paulie Posted September 23, 2024 Author Share Posted September 23, 2024 4 hours ago, WHMCS John said: Hi @paulie, Click the "Install App" button at https://marketplace.stripe.com/apps/whmcs-restricted-auth-keys Once the app is installed, click "Continue to App Settings", and you'll be presented with the new keys. Enter they new keys into the Stripe section of WHMCS at Configuration > System Settings > Payment Gateways. Ah, that makes sense. So you must be logged in to your Stripe Account in the same browser. Also after changing the settings, I had to log out of WHMCS, then log back in for the message to finally be removed. Thanks for the help 0 Quote Link to comment Share on other sites More sharing options...
rasmusgru Posted September 26, 2024 Share Posted September 26, 2024 Hi I got connection problem since the update. I did as described above but still not able to connect correctly to Stripe. APP is installed on Stripe. Publishable: pk_live.... Restricted: rk_live.... WHMCS version: 8.11.1. My error message is: Could not connect to Stripe (https://api.stripe.com/v1/customers). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support@stripe.com. (Network error [errno 28]: Failed to connect to api.stripe.com port 443 after 26254 ms: Couldn't connect to server) Your changes have not been saved. Where should I look for a solution? Thanks /Rasmus 0 Quote Link to comment Share on other sites More sharing options...
paulie Posted September 26, 2024 Author Share Posted September 26, 2024 Hi Rasmus, This sounds like a network connectivity issue. If you have access to the hosting server you can try to connect using CURL. You should get a response back as per below. root@hanus:~# curl https://api.stripe.com/v1/customers { "error": { "message": "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.", "type": "invalid_request_error" } } If there is no response looks like a firewall or routing issue 0 Quote Link to comment Share on other sites More sharing options...
rasmusgru Posted September 27, 2024 Share Posted September 27, 2024 18 hours ago, paulie said: Hi Rasmus, This sounds like a network connectivity issue. If you have access to the hosting server you can try to connect using CURL. You should get a response back as per below. root@hanus:~# curl https://api.stripe.com/v1/customers { "error": { "message": "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer YOUR_SECRET_KEY'). See https://stripe.com/docs/api#authentication for details, or we can help at https://support.stripe.com/.", "type": "invalid_request_error" } } If there is no response looks like a firewall or routing issue Hi @paulie Thanks for your response! It seems like the network was the problem. With help from my hosting partner I connected successfully to the API. Anyways, thanks for your help. /Rasmus 0 Quote Link to comment Share on other sites More sharing options...
mustardman Posted September 30, 2024 Share Posted September 30, 2024 (edited) I could not update my Stripe key. This is the error generated by the Stripe API when I try update the key in the Stripe payment gateway. invalid_request_error The provided key 'rk_live_********************************** ***********************************************************3cJbdf' does not have the required permissions for this endpoint on account 'acct_********'. Having the 'rak_accounts_kyc_basic_read' permission would allow this request to continue. I am currently using WHMCS v8.10.1 with the standard Stripe payment gateway. Was the app on the Stripe end updated recently? It currently says v1.0.2. I opened a ticket with WHMCS and they said that they were also able to reproduce this error on their end and are looking into it. Case # #MODULE-8144 If I were to update WHMCS to v8.11.1 will that fix this? What if I tried generating the restricted key manually instead of using the app? I obviously need to get this working before Oct29, which is only 30 days away. Edited September 30, 2024 by mustardman 0 Quote Link to comment Share on other sites More sharing options...
mustardman Posted October 2, 2024 Share Posted October 2, 2024 (edited) On 9/30/2024 at 12:00 PM, mustardman said: I could not update my Stripe key. This is the error generated by the Stripe API when I try update the key in the Stripe payment gateway. invalid_request_error The provided key 'rk_live_********************************** ***********************************************************3cJbdf' does not have the required permissions for this endpoint on account 'acct_********'. Having the 'rak_accounts_kyc_basic_read' permission would allow this request to continue. I am currently using WHMCS v8.10.1 with the standard Stripe payment gateway. Was the app on the Stripe end updated recently? It currently says v1.0.2. I opened a ticket with WHMCS and they said that they were also able to reproduce this error on their end and are looking into it. Case # #MODULE-8144 If I were to update WHMCS to v8.11.1 will that fix this? What if I tried generating the restricted key manually instead of using the app? I obviously need to get this working before Oct29, which is only 30 days away. Only 27 more days before I am put out of business. Didn't get a sense of urgency how serious a problem this is from the response to my ticket. Need a solution. Surely I am not the only one with this problem. Edited October 2, 2024 by mustardman 0 Quote Link to comment Share on other sites More sharing options...
leemahoney3 Posted October 2, 2024 Share Posted October 2, 2024 2 hours ago, mustardman said: Only 27 more days before I am put out of business. Didn't get a sense of urgency how serious a problem this is from the response to my ticket. Need a solution. Surely I am not the only one with this problem. Can't replicate on 8.11, have you reached out to Stripe also? 0 Quote Link to comment Share on other sites More sharing options...
mustardman Posted October 2, 2024 Share Posted October 2, 2024 (edited) 1 hour ago, leemahoney3 said: Can't replicate on 8.11, have you reached out to Stripe also? How are you testing? Are you already using an rk_live key? Yes I have contacted Stripe. First level support couldn't help. Still waiting to hear back from the next level. All indications so far are that it's a WHMCS problem. Got another update from WHMCS today saying there will be a maintenance release to v8.11 to fix the problem before the deadline. I am on v8.10.1 so looks like I may need to update to v8.11 to fix problem once they issue a maintenance release, unless they also issue a maintenance release to v8.10. I don't like to update to a new release until it has been out for a few months but I may need to make an exception. Edited October 2, 2024 by mustardman 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Product Manager WHMCS John Posted October 4, 2024 WHMCS Product Manager Share Posted October 4, 2024 Hi @mustardman, Please update to WHMCS v8.11.2, and you will be able to configure the Stripe module using Restricted API Keys. For more information please see: https://docs.whmcs.com/payments/payment-gateway-tutorials/add-restricted-api-keys-to-stripe/ 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.