mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
wip
This commit is contained in:
parent
908678cdc4
commit
b9bea02b68
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user