我在一个基于年度订阅的应用程序上使用laravel收银机,并且年度订阅运行良好。但现在我想让用户订阅一年以上。所以他们应该能够提前支付3年或5年,我在网上找不到任何关于这方面的东西。目前,这是我创建订阅的方式 if ($account->newSubscription('main', $plan->braintree_plan)->create($request->payment_method_nonce
当我创建一个新的订阅时,Laravel收银员没有设置subscription_ends_at字段。用户模型:use Illuminate\Auth\Reminders\RemindableInterface;
use Laravel\Cashier\BillableInterface;
class User extends Eloquent implementsprotected