It seems that both the Payment Processor Type and the Payment Processor records were not set correctly historically:
payment_type is defined as 1 = credit card, 2 = direct debit. So we should be using 2.
payment_instrument_id seems to have defaulted to 1 (i.e. credit card unless you have a non-standard install), but should point to the instrument created for GoCardless.
I don't think this will have affected anything but it should be corrected.
It seems that both the Payment Processor Type and the Payment Processor records were not set correctly historically:
payment_type
is defined as 1 = credit card, 2 = direct debit. So we should be using 2.payment_instrument_id
seems to have defaulted to 1 (i.e. credit card unless you have a non-standard install), but should point to the instrument created for GoCardless.I don't think this will have affected anything but it should be corrected.