mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01: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' => [],
|
||||
'component' => '',
|
||||
];
|
||||
|
||||
/**
|
||||
* is_credit_payment
|
||||
*
|
||||
@ -64,7 +63,6 @@ class LivewireInstantPayment
|
||||
* @var bool
|
||||
*/
|
||||
private $is_credit_payment = false;
|
||||
|
||||
/**
|
||||
* __construct
|
||||
*
|
||||
@ -98,7 +96,6 @@ class LivewireInstantPayment
|
||||
}
|
||||
|
||||
$payable_invoices = collect($this->data['payable_invoices']);
|
||||
|
||||
$tokens = [];
|
||||
|
||||
$invoices = Invoice::query()
|
||||
@ -239,7 +236,6 @@ class LivewireInstantPayment
|
||||
|
||||
$this->mergeResponder(['success' => true, 'component' => 'CreditPaymentComponent', 'payload' => $data]);
|
||||
return $this->getResponder();
|
||||
|
||||
}
|
||||
|
||||
$this->mergeResponder(['success' => true, 'payload' => $data]);
|
||||
|
Loading…
Reference in New Issue
Block a user