Hello all community members,
I am working on integrating a custom payment gateway into my Snipcart setup & I have run into a few challenges that I could use some help with; My site is built on a custom CMS & I have followed the Snipcart documentation to set up the basics. I am having difficulty with the payment gateway callback and the overall transaction flow.
Also i have successfully integrated Snipcart into my custom CMS & basic cart functionality is working fine; I have set up the custom payment gateway according to their API documentation, including the necessary endpoints for processing payments and handling callbacks. I have set up Snipcart webhooks to listen for payment success and failure events.
I am not sure how to correctly integrate the payment gateway specific validation token with Snipcart callback handling, but it must be returned in the callback response. Order statuses are left in a Pending state by Snipcart; despite the fact that transactions appear to be processed.Has anyone successfully integrated a custom payment gateway with Snipcart? What best practices or potential pitfalls should I be aware of?
Also, I have gone through this post https://support.snipcart.com/t/how-to-get-orderid-in-snipcart-custom-payment-gateway-integration-processpower-bi which definitely helped me out a lot.
How can I properly validate the callback to ensure the payment gateway and Snipcart are communicating effectively?
Thanks in advance for your help…