Skip to content

Workaround for card surcharges #55

Description

@judgej

The front end card tokenisation does not supply the card type. If the application is to add surcharges to specific cards, then it needs to know the card type before sending the payment request.

The card type will be supported in this gateway card tokenisation response soon, but until then, something like http://jquerycreditcardvalidator.com/ can provide a workaround by determining the card type on the front end and including it in the submitted form. This is unlikely to work for the iframe CC form, but would work for a custom CC form.

This ticket is just somewhere to log any examples of how this can be done.

Metadata

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