Have you had a look at the document for cashier?
https://laravel.com/docs/5.7/billing#stripe-configuration
It's an official laravel package for easily connecting your app with Stripe (amongst other) payment gateways.
Covers subscriptions in detail
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
Please guide me. I need to make a subscription payments with stripe, So the thing is we have two option one is simple order place with one time payment and the other one is 6 month subscription so we need to charge the customer every 6 months with same order amount he just created.
For the simple order i do this and its working fine.
\Stripe\Stripe::setApiKey("sk_test_exshEdOigYxgh2Fsr5qxpxQf");
// Token is created using Checkout or Elements!
// Get the payment token ID submitted by the form:
$token = $_POST['stripeToken'];
$charge = \Stripe\Charge::create([
'amount' => 999,
'currency' => 'usd',
'description' => 'Example charge',
'source' => $token,
]);
so if customer click on subscription then this order make as subscription and we charge the customer every 6 month and we ship the order.
I did not user any or package i am developing it custom way in laravel.
What information i need when i charge customer every month, I don't want to use plan and defualt stripe subscription.
Please help
thanks in advance
Have you had a look at the document for cashier?
https://laravel.com/docs/5.7/billing#stripe-configuration
It's an official laravel package for easily connecting your app with Stripe (amongst other) payment gateways.
Covers subscriptions in detail
Please or to participate in this conversation.