jeudi 29 décembre 2016

laravel cashier stripe - how charge customer immediately when changing subscription with the same interval

I implemented laravel 5.2 with cashier (stripe). I have three plan:

  1. Basic - monthly
  2. Pro - monthly
  3. Agency - monthly

Now if i have customer that subscribe to Basic plan and he decided to subscribe to Pro plan. How can i charge him immediately with cashier?

From Stipe i got the answer that

if customer was in Basic plan and subscribe to Pro plan than hi will charge in the next charge day. but if he subscribe to a plan with a different interval (annually instead monthly) he will charge immediately.

How i can handle this bizarre situation?

let say the customer subscribe to a basic plan (the chipper one) paid it's first month. and day after change to Agency plan (much more expensive) and then he canceled is credit-card. he will enjoy almost a month if Agency plan while he only pay for the Basic plan. and at the next charge day... he won't be charged becouse his credit-card was cancelled



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iHuWmC
via IFTTT

Aucun commentaire:

Enregistrer un commentaire