#mattwoberts

1 messages ยท Page 1 of 1 (latest)

clear ledgeBOT
patent ravine
#

๐Ÿ‘‹ happy to help

feral grotto
#

๐Ÿ‘‹

patent ravine
feral grotto
#

Cool, I'll give that a go!

patent ravine
#

let me know if you need any more help

feral grotto
#

Hmm - am I being thick ... there doesn't seem to be a way to set the account number...

#

var paymentMethod = new PaymentMethod();
paymentMethod.Type = "bacs_debit";
paymentMethod.BacsDebit.SortCode = "108800";
// This isn't there --> paymentMethod.BacsDebit.AccountNumber =

patent ravine
#

is this .Net?

feral grotto
#

Yeah

patent ravine
#

let me check

feral grotto
#

k thanks

patent ravine
#

which version have you installed?

feral grotto
#

40.7.0

patent ravine
#

ok thanks

feral grotto
#

Looks like it might be missing from the .net api?

#

I think I can work around it with this paymentMethod.BacsDebit.RawJObject["account_number"] = accountNumber;

patent ravine
#

Oh i see the issue

#

you should use PaymentMethodBacsDebitOptions instead of PaymentMethodBacsDebit

feral grotto
#

Aha - yeah I get it - just spotted the same on the example in the docs (should read the manual more carefully!) Thanks!@

patent ravine
#

no worries

#

let me know if you need any more help