Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Description

This feature was developed to provide the user with a visual way of informing which card brands are accepted when paying by credit card. This demand arose after we detected the use of cards not accepted by the Spanish region, leading to an increase in failed payment attempts.

Feature Flag

Feature Flag

Variation

Value

accepted-cards-types

default accepted cards

{
"ADYEN": [
"VISA"
],
"PAYCOMET": [
"MASTERCARD",
"VISA",
"AMEX",
"DINERS_CLUB",
"DISCOVER",
"JCB"
]
}

only MADA (used in regions that have limitations or exclusivity on the card brands, e.g., KSA)

{
"ADYEN": [
"MADA"
],
"PAYCOMET": [
"MADA",
]
}

none

{}

Info

As mentioned and highlighted above, for regions that deviate from the standard it will be necessary to create a new variation for that region.

Cards currently accepted in the system

The following table informs all card brands accepted in our system and which contain their icons to be displayed.

Card Brands

AMEX

DINERS CLUB

DISCOVER

JCB

MADA

MAESTRO
(the same icon as the mastercard)

MASTERCARD

VISA

Info

To add new card brands to this feature, you need to add the icons to the whitelabel and import these icons into the card-brands utils folder.

Solution

Steps Name

Steps Description

Screenshot

Go to payment page

  • Add item in the cart

  • Go to checkout page and click in continue

Image Added

Show the Card Details

  • Select the Add New Card option

Image Added