Skip to content

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

@ollym

Description

@ollym

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions