-
Notifications
You must be signed in to change notification settings - Fork 212
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
Checkout stuck in processing mode #261
Comments
Go to your checkout.vue and then have a look at the payNow Method. I moved the following 2 lines:
into the following if. Which looks like this now:
Otherwise the code is trying to get a payment intent even if you have selected another payment option. If you are about to pay with stripe, this probably won't resolve the issue. |
@orbikular |
@orbikular |
Description:
The project was installed successfully in Vercel with Host & Stripe Test Key variables. I can add products to the cart but pressing checkout button go in Processing...
![woonuxt-problem-1](https://private-user-images.githubusercontent.com/54303681/392590604-c47873a8-1884-4883-8ee2-f9ea77f72f8b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDg4NTAsIm5iZiI6MTczOTM0ODU1MCwicGF0aCI6Ii81NDMwMzY4MS8zOTI1OTA2MDQtYzQ3ODczYTgtMTg4NC00ODgzLThlZTItZjllYTc3ZjcyZjhiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MjIzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3ZWFjMTI5ZDM3ZDU5NzJmOWVhZWUwZGQ0YTkwYzcyYmRkOTNhZGNiZDBkMWYyY2UwMGZiMzhiZDE0YzdmMTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OK0w7PWhghAAr6ORnKMrowNZLnkZXmb63Lkw_Nw1CSk)
I have included the Stripe domains in CORS allowed list of GraphQL plugin setting. However, it is still showing the errors.
In Chrome, it is only showing Proxy errors which is the last line of above Mozilla console screenshot:
{
"client": "default",
"operationType": "query",
"operationName": "getStripePaymentIntent",
"statusCode": 200,
"gqlErrors": [
{
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 3,
"column": 3
}
],
"path": [
"stripePaymentIntent"
]
}
]
}
I will appreciate the solution to make this great project working.
Thanks & regards.
The text was updated successfully, but these errors were encountered: