This commit is contained in:
Benjamin Beganović 2021-03-13 14:51:01 +01:00
parent 908678cdc4
commit b9bea02b68

View File

@ -57,9 +57,8 @@ class BillingPortalPurchase extends Component
$this->steps['existing_user'] = false; $this->steps['existing_user'] = false;
$this $contact = $this->createBlankClient();
->createBlankClient() $this->getPaymentMethods($contact);
->getPaymentMethods();
} }
protected function createBlankClient() protected function createBlankClient()
@ -77,7 +76,7 @@ class BillingPortalPurchase extends Component
// dd($response->toArray()); // dd($response->toArray());
return $this; return ClientContact::where('email', $this->email)->first();
} }
protected function getPaymentMethods(ClientContact $contact): self protected function getPaymentMethods(ClientContact $contact): self