mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for stripe autobilling
This commit is contained in:
parent
602b6a6f38
commit
3ec81ea04b
@ -137,6 +137,9 @@ class Charge
|
||||
return false;
|
||||
}
|
||||
|
||||
if($response?->status != 'succeeded')
|
||||
$this->stripe->processInternallyFailedPayment($this->stripe, new \Exception('Auto billing failed.',400));
|
||||
|
||||
if ($cgt->gateway_type_id == GatewayType::SEPA) {
|
||||
$payment_method_type = PaymentType::SEPA;
|
||||
$status = Payment::STATUS_PENDING;
|
||||
|
Loading…
x
Reference in New Issue
Block a user