adyen-ruby-api-library icon indicating copy to clipboard operation
adyen-ruby-api-library copied to clipboard

[Bug]: v11 broken payments services (checkout vs classic)

Open ollym opened this issue 1 month ago • 10 comments

Description

There's a bug in checkout/payments_api vs payment/payments_api

Steps to reproduce

https://github.com/Adyen/adyen-ruby-api-library/blob/main/lib/adyen/services/checkout/payments_api.rb https://github.com/Adyen/adyen-ruby-api-library/blob/main/lib/adyen/services/payment/payments_api.rb

These two files contradict each other and depending on the order they are loaded produce different results.

If we load classic payments before checkout payments, then service is going to be "Checkout" for all, and if we load checkout payments before classic payments, then service is going to be "Payment" for all

Actual behavior

No response

Expected behavior

If we load classic payments api then the service is always "Payment" If we load checkout payments api then the service is always "Checkout"

Code snippet or screenshots (if applicable)

No response

Adyen Ruby API Library version

11.0.0

Ruby language version

All

Operating System

macOS

Additional context

No response

ollym avatar Oct 17 '25 10:10 ollym