@mobieljoy Different payment methods such as what?
Laravel Cashier other payment methods
Hi, I'm looking at using different payment methods with Laravel Cashier and I can't seem to figure it out. I have found some references to it being able to handle different payment methods, but how to actually implement it is not clear.
There is an older solution using the payment sources (I'd link the article but I am not allowed to) but that has since been deprecated.
Does anyone know how to go about this now? Would really appreciate any pointers.
I have since had time to tackle this issue, for anyone looking for the answer later I will drop it here.
When creating a checkout using the checkout method, use the sessionOptions array (the first parameter) and add the 'payment_method_types' key. For the value add a list of all the payment methods you would like to allow while also making sure they are enabled in your Stripe dashboard (also in your test environment!).
Source: Stripe documentation (I'm not allowed to drop links?)
Please or to participate in this conversation.