mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
We Pay
This commit is contained in:
parent
76dfb475ad
commit
1740f11715
@ -79,6 +79,8 @@ class WepaySignup extends Component
|
||||
|
||||
public function submit()
|
||||
{
|
||||
$data = $this->validate($this->rules);
|
||||
|
||||
//need to create or get a new WePay CompanyGateway
|
||||
$cg = CompanyGateway::where('gateway_key', '8fdeed552015b3c7b44ed6c8ebd9e992')
|
||||
->where('company_id', $this->company->id)
|
||||
@ -95,8 +97,6 @@ class WepaySignup extends Component
|
||||
$cg->save();
|
||||
}
|
||||
|
||||
$data = $this->validate($this->rules);
|
||||
|
||||
$this->saved = ctrans('texts.processing');
|
||||
|
||||
$wepay_driver = new WePayPaymentDriver($cg, null, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user