mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:54:41 -04:00
Update GoCardlessV2RedirectPaymentDriver.php
Fixed an issue where payments from gocardless were being logged as ACH payments incorrectly. This then stops the auto billing working for gocardless.
This commit is contained in:
parent
b6e925381c
commit
2ef88fb859
@ -86,7 +86,7 @@ class GoCardlessV2RedirectPaymentDriver extends BasePaymentDriver
|
|||||||
protected function creatingPaymentMethod($paymentMethod)
|
protected function creatingPaymentMethod($paymentMethod)
|
||||||
{
|
{
|
||||||
$paymentMethod->source_reference = $this->purchaseResponse->getMandateId();
|
$paymentMethod->source_reference = $this->purchaseResponse->getMandateId();
|
||||||
$paymentMethod->payment_type_id = PAYMENT_TYPE_ACH;
|
$paymentMethod->payment_type_id = PAYMENT_TYPE_GOCARDLESS;
|
||||||
$paymentMethod->status = PAYMENT_METHOD_STATUS_VERIFIED;
|
$paymentMethod->status = PAYMENT_METHOD_STATUS_VERIFIED;
|
||||||
|
|
||||||
return $paymentMethod;
|
return $paymentMethod;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user