vincent15000's avatar

Stripe customer portal and checkout ?

Hello,

I have created an application with a payment functionality using stripe checkout with Cashier. I'm listening to the stripe hooks and the plan informations is saved in the database. All works really fine.

https://laravel.com/docs/12.x/billing#subscription-checkouts

In the Laravel application, I have to handle some payment informations : number of subscriptions, commitment, ...

If I use the customer portal, would it simplify the code on the application side ? And how would the Laravel application know which plan has been chosen by the customer ? I have seen that it's possible to use the stripe checkout with the customer portal.

Has anyone already done that ? Perhaps you have an example to share with me ? What do you suggest me ?

Thanks for your help.

V

0 likes
2 replies
vincent15000's avatar

@jlrdw Thank you ... I need to set 3 different products, each one with 2 prices : one price for monthly payment and one price for monthly payment with a one year commitment.

Please or to participate in this conversation.