Integrating with another payment gateway #4824
Replies: 5 comments
-
I'm wondering the same thing also, I just subscribed to this thread. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, using the Ecommerce Template as an example, I'll explain what's going on with Stripe and how you could replace it Stripe in this case is used for a few kinds of integrations, one is that Stripe contains some of the information about your products, so we sync that with our Payload content and we do that for users too. I recommend reading through the endpoints in The other section containing Stripe API logic is inside the collections' hooks such as And lastly you have webhooks to handle updates on Payload's side once checkouts (or subscriptions for example) and other events are completed on the processor's side. Other payment processors work in a similar way such as LemonSqueezy, where you sync some of your data or at least connect them and then you can create invoices or paymentIntents/checkouts or whatever name they have through their API. It's obviously quite a bit more complex than I can cover in one comment and I think we discussed either an adapter method or updating examples for ecommerce in this discussion thread. |
Beta Was this translation helpful? Give feedback.
-
I think this is better suited for a discussion thread instead |
Beta Was this translation helpful? Give feedback.
-
I also in need to integrate another payment gateway other than stripe. Is anyone has clear guide that i can follow |
Beta Was this translation helpful? Give feedback.
-
Me too. I want to integrate a custom payment gateway. I've just started reading and would like to know how to integrate Mercado Pago and PayPal. |
Beta Was this translation helpful? Give feedback.
-
Documentation Issue
I reside in South Africa and Stripe is not officially supported in South Africa. So I would like to integrate a new payment gateway. Currently, I could not find a way to integrate with any other payment gateways there are some mentions of hooks but it does not give you an in-depth set of instructions on how one would go about integrating it.
Any assistance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions