-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on completion: "Call to complete() was ignored because it has already been called. Do not call complete more than once." #26
Comments
Can you share what network requests are sent to Stripe? |
@Tam This is what I see in console: This is what comes up when I click on the error: Thanks PS. Can I email you the requests as it's a sensitive project and screenshots expose the URL. |
@hassanmah You can email [email protected] |
Having similar issue with page not redirecting after payment. {{ craft.webPayments.button({ |
Hi. We're experiencing a similar issue (Craft Pro 4.7.1 with Craft Commerce 4.4.1.1, Stripe for Craft Commerce 4.1.1 and Web Payments | 4.0.0). Web payments not completing and after modal pop-up (in browser scenario) user is returned to the payment page as if nothing has happened. In the back-end under the cart (Orders > Attempted Payments) I can see a transaction has been attempted with a status of Redirected but with A Gateway Code of null. As with others the browser console says
Any thoughts on resolving? Cole |
Hey, I get the following error in console when payment is completed and it stops the page from redirecting.
Call to complete() was ignored because it has already been called. Do not call complete more than once.
My code is as follows
{{ craft.webPayments.button({ cart: craft.commerce.carts.cart, requestDetails: ['name', 'phone'], onComplete: { redirect: '/shop/checkout/order/number={number}', js: 'window.paymentCompleted(cwp.number);', }, requestShipping: 'delivery', style: { height: '52px', } }) }}
Anyone come across this before?
Thanks
The text was updated successfully, but these errors were encountered: