W
Wasp-lang•2mo ago
Dante Paris

Stripe Checkout not opening when selecting buy plan

I have updated all the keys, and webhook, is there anything else i need to do?
4 Replies
kapa.ai
kapa.ai•2mo ago
Hi @Dante Paris. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
MEE6
MEE6•2mo ago
Wohooo @Dante Paris, you just became a Waspeteer level 1!
kapa.ai
kapa.ai•2mo ago
---------------------- Based on the information provided in the knowledge sources, there could be several reasons why Stripe Checkout is not opening when selecting the buy plan. Here are a few things you could check: 1. Ensure that the constants.ts file exists and is correctly set up. If it doesn't exist, you may need to create it. This file should contain the necessary Stripe configuration details. 2. Check your actions.ts file. It should contain the correct structure for creating a Stripe Checkout session. If it doesn't match the structure shown in the knowledge sources, you may need to update it. 3. Make sure that your Stripe webhook is correctly set up and pointing to the right endpoint. If you're running in a production environment, you'll need to set up the webhook to point to your server domain (e.g., {your-fly-server-domain}/stripe-webhook). 4. Check your Stripe API version. If it's not the same as the one used in the Wasp template, it could cause issues. 5. Ensure that your Stripe account has the necessary features enabled. For example, if the Stripe Tax flag is set to true in the code, but your Stripe account doesn't have this feature enabled, it could prevent the Stripe integration from working. If you're still having issues after checking these things, you may want to try debugging your application to get more detailed error messages. This could help you identify where the issue is coming from. Sources: - Knowledge Source 1 (https://discord.com/channels/686873244791210014/1195406663633608754) - Knowledge Source 2 (https://discord.com/channels/686873244791210014/1215945587841831033) - Knowledge Source 3 (https://discord.com/channels/686873244791210014/1220115828012351529) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Dante Paris, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Filip
Filip•2mo ago
Hey @Dante Paris, I recommend following the Stripe docs for OpenSaas: https://docs.opensaas.sh/guides/payments-integration/ If you did and it still doesn't work, you can share the error from the console in the browser, and I'll see what I can do 🙂
Want results from more Discord servers?
Add your server