mollie / mollie-api-ruby

Mollie API client for Ruby
http://www.mollie.com
BSD 2-Clause "Simplified" License
81 stars 42 forks source link

Mollie::Method::all returning voucher on fresh created account #154

Closed nflorentin closed 1 year ago

nflorentin commented 3 years ago

Hi,

On a recently created Mollie account, a call to the api with:

::Mollie::Method.all(api_key: "XXXXXXXXXXXXXXXX", include: 'issuers', resource: 'orders')

returns the voucher payment method which is not activated in Mollie dashboard, as seen on the following screenshot: Capture d’écran 2021-08-24 à 15 08 47

If I remove resource: 'orders' from the parameters, the voucher payment method disappears from the result.

The problem is I can't remove this parameter because I'm using the gem spree-mollie-gateway which uses those parameters here.

It makes the payment method "voucher" appearing in my Spree app.

By the way, the gem spree-mollie-gateway uses the version 4.2.0 of mollie-api-ruby, which is seems a bit outdated...

Thanks in advance for your help.

justincase commented 3 years ago

Hi @nflorentin,

Thanks for the detailed bug report. It appears to be a bug in the API response. The issue has been forwarded to the correct team at Mollie. I'll update this ticket when I have more information.

justincase commented 1 year ago

Closing this issue since it's not a bug in the Ruby client itself. If the issue persists I suggest contacting Mollie support directly: https://www.mollie.com/nl/contact/merchants.

Thanks!