我正在使用Laravel 4.2
。
我正在开发一个为用户提供视频服务的项目。
项目要求如下:
将有two
个订阅计划:
1) Basic - with trial period 1 month, trial amount $1, after trial $10 per month, number of videos 2 (during trail he will also get all the features).
2) Pro - with trial period 1 month, trial amount $1, after trial $20 per month, number of videos 6 (during trail he will also get all the features)
3) Additional - Only Pro subscriber will be able to subscribe this plan too (Pro + additional + additional + additional..), $5 for each additional subscription, will get 5 more videos with each additional subscription.
我正在为Stripe
使用payment
网关。当然结算时间为recurring
和Pro rated
。
由于stripe
仅支持free trial
期(非trial amount
),因此我无法在订阅用户任何计划时设置trial amount
。
用户可以拥有Pro
个N
个additional
个计划。
我怎样才能做到这一点?我正在使用Laravel Cashier
进行stripe
操作。