Skip to content

Multiple Payment Methods found the problem #11

Open
@swissmexxa

Description

Hi

Thank you very much for this implementation of omnipay for datatrans. You mention that giving multiple payment methods at once will result in a "payment is not valid" message. This is because you send the data in GET Request as &paymentMethod=VIS,ECA instead of &paymentMethod=VIS&paymentMethod=ECA.

In POST Request it is the same. Instead of submitting the form data as paymentMethod=VIS,ECA it should be send with two paymentMethod fields like

paymentMethod=VIS
paymentMethod=ECA

I think therefore the paymentMethod field should be an array and not a string. Would it be possible for you to change your code?

Thank you very much.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions