mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add new entry point for livewire component payments
This commit is contained in:
parent
985cdafdc2
commit
cfe04bfa7c
@ -56,7 +56,6 @@ class LivewireInstantPayment
|
|||||||
'payload' => [],
|
'payload' => [],
|
||||||
'component' => '',
|
'component' => '',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* is_credit_payment
|
* is_credit_payment
|
||||||
*
|
*
|
||||||
@ -64,7 +63,6 @@ class LivewireInstantPayment
|
|||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
private $is_credit_payment = false;
|
private $is_credit_payment = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* __construct
|
* __construct
|
||||||
*
|
*
|
||||||
@ -98,7 +96,6 @@ class LivewireInstantPayment
|
|||||||
}
|
}
|
||||||
|
|
||||||
$payable_invoices = collect($this->data['payable_invoices']);
|
$payable_invoices = collect($this->data['payable_invoices']);
|
||||||
|
|
||||||
$tokens = [];
|
$tokens = [];
|
||||||
|
|
||||||
$invoices = Invoice::query()
|
$invoices = Invoice::query()
|
||||||
@ -239,7 +236,6 @@ class LivewireInstantPayment
|
|||||||
|
|
||||||
$this->mergeResponder(['success' => true, 'component' => 'CreditPaymentComponent', 'payload' => $data]);
|
$this->mergeResponder(['success' => true, 'component' => 'CreditPaymentComponent', 'payload' => $data]);
|
||||||
return $this->getResponder();
|
return $this->getResponder();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->mergeResponder(['success' => true, 'payload' => $data]);
|
$this->mergeResponder(['success' => true, 'payload' => $data]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user