Update data passed to startTrial

This commit is contained in:
Benjamin Beganović 2021-03-22 14:03:32 +01:00
parent e04ed7c2bf
commit 535d9ae471

View File

@ -300,6 +300,8 @@ class BillingPortalPurchase extends Component
{ {
return $this->billing_subscription->service()->startTrial([ return $this->billing_subscription->service()->startTrial([
'email' => $this->email ?? $this->contact->email, 'email' => $this->email ?? $this->contact->email,
'quantity' => $this->quantity,
'contact_id' => $this->contact->id,
]); ]);
} }