JackRabbit Posted February 3, 2020 Share Posted February 3, 2020 (edited) After updating to the latest whmcs, I've decided to use the stripe gateway that comes with whmcs. I'm getting an error after inputing my cc and clicking "complete order" here's the error: Stripe\Error\InvalidRequest: Unrecognized request URL (GET: /v1/paymentintents/pi_1G8744JeCvj9zykMGwk3T8Bt). Please see https://stripe.com/docs or we can help at https://support.stripe.com/. in /home/revtonic/public_html/whmcs/modules/gateways/stripe411/lib/ApiRequestor.php:110Stack trace:#0 /home/revtonic/public_html/whmcs/modules/gateways/stripe411/lib/ApiRequestor.php(266): Stripe\ApiRequestor->handleApiError('{\n "error": {\n...', 404, Array, Array)#1 /home/revtonic/public_html/whmcs/modules/gateways/stripe411/lib/ApiRequestor.php(65): Stripe\ApiRequestor->_interpretResponse('{\n "error": {\n...', 404, Array)#2 /home/revtonic/public_html/whmcs/modules/gateways/stripe411/lib/ApiResource.php(31): Stripe\ApiRequestor->request('get', '/v1/paymentinte...', Array, Array)#3 /home/revtonic/public_html/whmcs/vendor/stripe/stripe-php/lib/ApiOperations/Retrieve.php(24): Stripe\ApiResource->refresh()#4 /home/revtonic/public_html/whmcs/modules/gateways/stripe.php(0): Stripe\PaymentIntent::retrieve('pi_1G8JeCvj9...')#5 /home/revtonic/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): stripe_post_checkout(Array)#6 /home/revtonic/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Module/Gateway.php(0): WHMCS\Module\AbstractModule->call('post_checkout', Array)#7 /home/revtonic/public_html/whmcs/cart.php(0): WHMCS\Module\Gateway->call('post_checkout', Array)#8 {main} How can I troubleshoot this? Edited February 3, 2020 by JackRabbit Security 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 3, 2020 Share Posted February 3, 2020 12 minutes ago, JackRabbit said: How can I troubleshoot this? does the same thing occur if using the latest versions of Six & Standard _cart together ? 0 Quote Link to comment Share on other sites More sharing options...
JackRabbit Posted February 3, 2020 Author Share Posted February 3, 2020 Hi there Brian, the problem happens with the default six and standard cart.   0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 3, 2020 Share Posted February 3, 2020 2 hours ago, JackRabbit said: After updating to the latest whmcs, I've decided to use the stripe gateway that comes with whmcs. does that imply that previously you were using a third party Stripe gateway, e.g Serverping's ? https://docs.whmcs.com/Stripe#Migrating_from_a_3rd_Party_Stripe_Module i'm wondering if that stripe411 folder is a third-party gateway, as there is no such folder in my v7.9.1 dev (it's just called stripe) ?? btw - you might want to edit your post to remove the name of your admin folder - no point promoting it to those you might abuse such knowledge! 🙄 0 Quote Link to comment Share on other sites More sharing options...
JackRabbit Posted February 3, 2020 Author Share Posted February 3, 2020 Ah, I was using roudiapps stripe module.  So the callback path is wrong, right? how do I correct that path?  0 Quote Link to comment Share on other sites More sharing options...
JackRabbit Posted February 3, 2020 Author Share Posted February 3, 2020 I got it. Thanks for the help Brian! I needed to completely deactivate the old 3rd party module, then remove it's files before testing the stripe gateway from WHMCS.   0 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.