Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
148 stars 85 forks source link

'ConsumerAccount' is not a member of 'MandateRequest' #264

Closed neo1992 closed 2 years ago

neo1992 commented 2 years ago

I believe the documentation here is incorrect: https://github.com/Viincenttt/MollieApi#7-mandate-api 'ConsumerAccount' is not a member of 'MandateRequest'

After inspecting the code I indeed see no such property. Should documentation be updated to reflect this?

Viincenttt commented 2 years ago

Thank you, I'll update the documentation on this.

If you still want to create a mandate request with a consumer account, you can use the following code:

return new SepaDirectDebitMandateRequest() {
                Method = Api.Models.Payment.PaymentMethod.DirectDebit,
                ConsumerName = "John Smit",
                ConsumerAccount = "NL86INGB0002445588"
            };