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

acoustic85's avatar

Stripe payment with laravel

Hi everyone,

Any idea how I can charge half of the amount as a deposit and the rest of the amount I want to charge after 5 minutes with no user input.

Thank you very much in advance

0 likes
13 replies
bugsysha's avatar

And how do you go from there? Is that one time or subscription?

bugsysha's avatar

Then I suggest that you try something and come back with an actual question. Me explaining things at a high level to you won't help you to get to your goal. Explaining everything in detail is pretty hard and very time consuming. You have here on the Laracasts lessons about how to charge users and I'm sure there is something similar on YouTube. So watch those and jumpstart your current position.

acoustic85's avatar

first charge its going to be as a despoit which needs to be 50% and after 5 min I want to charge the rest of the amount

martinbean's avatar

Why? Why after 5 minutes? Why not just charge the full amount? Why are they split into two payments five minutes apart?

martinbean's avatar

Yes. We’ve got that. Now try answering the questions I actually asked you.

What is the business reason for spreading the payments over five minutes? Seems a bit pointless to me.

acoustic85's avatar

Yes I agree with you but its a part of a project so I need to stick with these instructions and that's why I ask for help

bugsysha's avatar

Charging an identical amount after five minutes without user input will probably result in blocking your account since it feels like fraudulent behavior.

Please or to participate in this conversation.