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

pifoux2000's avatar

Set stripe keys dynamically with cashier

Hello,

I have two different stripe accounts, one for euro zone and another one for the rest of the world, would anyone know how to set dynamically both secret and live keys dynamically before making a transaction?

I tried to use the setStripeKey() method from the Billable trait without success.

Many thanks.

0 likes
0 replies

Please or to participate in this conversation.