Jump to content

Stripe Gateway Error


Recommended Posts

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:110
Stack 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 by JackRabbit
Security
Link to comment
Share on other sites

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! 🙄

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated