mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
document future functionality regarding failed payments that are delayed - ie ACH / Mollie
This commit is contained in:
parent
ceab20b829
commit
f18fb901f6
@ -267,6 +267,11 @@ class BaseDriver extends AbstractPaymentDriver
|
|||||||
]))
|
]))
|
||||||
$payment->service()->sendEmail();
|
$payment->service()->sendEmail();
|
||||||
|
|
||||||
|
//todo
|
||||||
|
//catch any payment failures here also and fire a subsequent failure email if necessary? note only need for delayed payment forms
|
||||||
|
//perhaps this type of functionality should be handled higher up to provide better context?
|
||||||
|
|
||||||
|
|
||||||
event(new PaymentWasCreated($payment, $payment->company, Ninja::eventVars()));
|
event(new PaymentWasCreated($payment, $payment->company, Ninja::eventVars()));
|
||||||
|
|
||||||
if (property_exists($this->payment_hash->data, 'billing_context') && $status == Payment::STATUS_COMPLETED) {
|
if (property_exists($this->payment_hash->data, 'billing_context') && $status == Payment::STATUS_COMPLETED) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user