Viincenttt / MollieApi

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

Getting test payment methods gives error. #211

Closed cmolendijk closed 3 years ago

cmolendijk commented 3 years ago

When using the PaymentMethodClient with the GetPaymentMethodListAsync you cannot set the parameter TestMode to true. You will get the error:

Unprocessable Entity - Non-existent query parameter "testmode" for this API call. Did you mean: "resource"?

Resulting that you cannot get the test environment payment methods.

Viincenttt commented 3 years ago

The testmode is used by using a test API key. You don't have to set the testmode parameter. The testmode parameter is only used when you are using oauth authentication to connect with the API.