Open HumidBrains opened 3 years ago
Hey @HumidBrains ! Thanks for trying it out.
That seems like a typical error that the WP instance throws back - Apollo is simply catching it.
If it were me, I'd turn on the WPGraphQL debug mode to see if I get a more detailed error.
I'd also try a checkout mutation outside of the context of Stripe and React in GraphiQL just to make sure the mutation works as expected too.
What versions of WC, WooGraphQL, WP, Stripe Gateway, and WPGraphQL are you running?
Checking the site I was using, the versions were:
Thanks for such a swift reply @jacobarriola :) WPGraphQL was running in debug mode already, so not much of help there.
I'm using...
• WC: 5.1.0 (tried 4.9.2 before upgrade) • Stripe: 5.1.0 • WPGraphQL: 1.3.5 • WooGraphQL: 0.8.1 • WP: 5.7 (tried 5.6 before upgrade)
Thank you so much for publishing this Jacob, it helps a lot.
However, when trying to run the site (without any modifications) clicking "PAY" Apollo throws "Internal server error" as you can see on this screenshot. This general error unfortunately doesn't give any indication of what went wrong.
I've made sure my Stripe setup and credentials work by successfully testing creating an order via the WooCommerce theme directly, so that should be fine.
Any idea what the problem could be? Thanks :)