mollie / mollie-api-python

Mollie API client for Python
http://www.mollie.com
BSD 2-Clause "Simplified" License
113 stars 55 forks source link

fix the example of creation of payment #332

Closed BarriBarri20 closed 1 year ago

BarriBarri20 commented 1 year ago

Added a method of payment because it seems necessary to process the creation of the payment

whyscream commented 1 year ago

@BarriBarri20 Thank you for your PR. According to Mollie docs the payment method is optional, and I don't think this has ever been required. If no payment method is set in the API request, Mollie will present you with a dialog showing all available payment methods at the checkout URL.

How did you come to the conclusion that the payment method is required?

BarriBarri20 commented 1 year ago

Yes my fault, sorry for the misunderstood, after I reproduced the error, the problem was that I need to enable at least one method of payment in my mollie account first, thank you for your response!