mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01: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)
|
||||
{
|
||||
$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;
|
||||
|
||||
return $paymentMethod;
|
||||
|
Loading…
Reference in New Issue
Block a user