Look at cashier with stripe.
Best way to approach payment gateway?
So I want to create a payment "gateway" of such that allows me to use multiple payment providers on my website with a consistent API.
I've seen https://github.com/thephpleague/omnipay and want and have tried to use it, but honestly the lack of documentation and people willing to help with learning it is just so scarce that I don't even see a point. So I was wondering what other options I had to tackle this.
I was also hoping to get some sort of clarification on what sort of payment flow I should be using for Stripe when I've got my backend in Laravel but a frontend that's an SPA. Because Stripe seems to have so many different ways of integrating it and I'm not entirely sure what is and isn't deprecated anymore...
Please or to participate in this conversation.