hyperswitch-control-center icon indicating copy to clipboard operation
hyperswitch-control-center copied to clipboard

[FEATURE] Card level options in Apple Pay and Google Pay

Open muditbhutani opened this issue 7 months ago • 0 comments

Currently, under payment methods setup in connectors https://app.hyperswitch.io/dashboard/connectors under wallets we have Apple Pay and Google Pay as options

Both of these need to have card level control as well

Image

Use Case: Merchant wants to enable only specific cards which is what they have done in other processors as well. Doing this will ensure whenever an unsupported card is typed, user gets a warning about card not being supported

Implementation: Both Google Pay and Apple Pay have their own setup which opens once you click on them

Image

We need to ensure we show card network options to the user post setup with by default all cards being selected Options for Google Pay are:

"allowed_card_networks": [
                            "AMEX",
                            "DISCOVER",
                            "INTERAC",
                            "JCB",
                            "MASTERCARD",
                            "VISA"
]

Options for Apple Pay are:


                    "supported_networks": [
                        "visa",
                        "masterCard",
                        "amex",
                        "discover"
                    ]


Card selection will be a multi select

Current UI opens up a tab on the right for both apple pay and google pay under Stripe:

Image

For apple pay we have two tabs(ios and web) and google pay only one. We need to add select card option there with all cards selected by default providing user the ability to select one or more cards

muditbhutani avatar Jul 15 '24 09:07 muditbhutani