---------------------- Based on the knowledge sources provided, there isn't a comprehensive guide specifically for integrating a new payment provider in Wasp. The sources mainly discuss Stripe integration and debugging practices, but don't outline a general process for adding different payment providers.
What we can see from the sources is that:
Wasp has built-in support for Stripe, with specific webhook handling and integration patterns
For Stripe integration, there are debugging best practices mentioned, such as using the Stripe CLI for testing webhooks locally
The Open SaaS template (built with Wasp) has documentation for Stripe testing and webhook setup
If you're looking to integrate a different payment provider, you would likely need to:
Create custom actions in your Wasp app to interact with the payment provider's API
Set up appropriate webhook handling if needed
Implement the necessary client-side components
For implementing custom actions and API integrations, you might find the general Wasp documentation on queries and actions helpful: Wasp Tutorial: Queries
If you're specifically interested in extending the Open SaaS template with a new payment provider, you might want to examine how Stripe is implemented in that template and follow a similar pattern for your provider.
Would you like more specific guidance on implementing custom API integrations in Wasp that could be applied to a payment provider? ---------------------- Note: you can ask me a follow up question by @ mentioning me again ----------------------
I don't think we have a Wasp specific guide, but you should be able to follow their guide (and combine it with your Wasp knowledge of custom APIs) to integrate it.
For inspiration, you can check how OpenSaas integrated Stripe and LemonSqueezy. @Vinny (@Wasp) can add some more wisdom perhaps
Yeah, take a shot at it and let us know if you hit any problems along the way that maybe we can help with. I've never heard of Dodo payments. Weren't you trying to use LemonSqueezy before though?
Nice. Like I Filip said above, use the current Stripe payments as an example and try integrating it yourself. It should work, but I've never tried. If you run into issues, post in #questions