Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mobieljoy's avatar

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.

0 likes
6 replies
mobieljoy's avatar

@martinbean I have, but they do not appear when I am redirected to the payment page on Stripe. Should they do so out of the box?

mobieljoy's avatar

I have since had contact with Stripe, and they are telling me that I should either provide a list of payment methods in the request, or omit this parameter to use whatever payment methods are enabled in the Stripe dashboard.

How do I go about omitting this parameter, since I assume that will be the easiest way to fix this issue?

mobieljoy's avatar
mobieljoy
OP
Best Answer
Level 1

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.