Jump to content

v7.10 Stripe Checkout causing error


Recommended Posts

This message appears when someone presses the "Submit Payment" on the Stripe Checkout ...

Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

If the problem persists, please contact us.

« Back to Homepage

For additional assistance, please reference the WHMCS TroubleShooting Guide »

Stripe\Error\InvalidRequest: You cannot cancel this PaymentIntent because it has a status of succeeded. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action. in /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php:210 from API request 'req_C17DABEAzJTVZl'
Stack trace:
#0 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(173): Stripe\ApiRequestor::_specificAPIError('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array, Array)
#1 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(473): Stripe\ApiRequestor->handleErrorResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array)
#2 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(126): Stripe\ApiRequestor->_interpretResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray))
#3 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(57): Stripe\ApiRequestor->request('post', '/v1/payment_int...', Array, Array)
#4 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(39): Stripe\ApiResource::_staticRequest('post', '/v1/payment_int...', NULL, Object(Stripe\Util\RequestOptions))
#5 /home/clients/public_html/vendor/stripe/stripe-php/lib/PaymentIntent.php(74): Stripe\ApiResource->_request('post', '/v1/payment_int...', NULL, NULL)
#6 /home/clients/public_html/modules/gateways/stripe.php(0): Stripe\PaymentIntent->cancel()
#7 [internal function]: stripe_post_checkout(Array)
#8 /home/clients/public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func('stripe_post_che...', Array)
#9 /home/clients/public_html/vendor/whmcs/whmcs-foundation/lib/Module/Gateway.php(0): WHMCS\Module\AbstractModule->call('post_checkout', Array)
#10 /home/clients/public_html/cart.php(0): WHMCS\Module\Gateway->call('post_checkout', Array)
#11 {main}

Link to comment
Share on other sites

On 4/8/2020 at 2:37 PM, equiphase said:

This message appears when someone presses the "Submit Payment" on the Stripe Checkout ...

Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

If the problem persists, please contact us.

« Back to Homepage

For additional assistance, please reference the WHMCS TroubleShooting Guide »

Stripe\Error\InvalidRequest: You cannot cancel this PaymentIntent because it has a status of succeeded. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action. in /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php:210 from API request 'req_C17DABEAzJTVZl'
Stack trace:
#0 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(173): Stripe\ApiRequestor::_specificAPIError('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array, Array)
#1 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(473): Stripe\ApiRequestor->handleErrorResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray), Array)
#2 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiRequestor.php(126): Stripe\ApiRequestor->_interpretResponse('{\n "error": {\n...', 400, Object(Stripe\Util\CaseInsensitiveArray))
#3 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(57): Stripe\ApiRequestor->request('post', '/v1/payment_int...', Array, Array)
#4 /home/clients/public_html/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(39): Stripe\ApiResource::_staticRequest('post', '/v1/payment_int...', NULL, Object(Stripe\Util\RequestOptions))
#5 /home/clients/public_html/vendor/stripe/stripe-php/lib/PaymentIntent.php(74): Stripe\ApiResource->_request('post', '/v1/payment_int...', NULL, NULL)
#6 /home/clients/public_html/modules/gateways/stripe.php(0): Stripe\PaymentIntent->cancel()
#7 [internal function]: stripe_post_checkout(Array)
#8 /home/clients/public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func('stripe_post_che...', Array)
#9 /home/clients/public_html/vendor/whmcs/whmcs-foundation/lib/Module/Gateway.php(0): WHMCS\Module\AbstractModule->call('post_checkout', Array)
#10 /home/clients/public_html/cart.php(0): WHMCS\Module\Gateway->call('post_checkout', Array)
#11 {main}

Same problem here. Did you solve it?

Edited by indy0077
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