SmartForm parameters
The general parameters available for the smartForm are:
Parameter | Description |
---|---|
kr-form-token | Encrypted object allowing to initialize the smartForm with the transaction details. |
paymentMethods | When creating theformToken , this field is used for filtering the compatible payment methods offered by the merchant. |
kr-smart-form | Class that must be integrated for implementing the smartForm. |
kr-popin | It is associated with the kr-smart-form class and defines the display in pop-in mode. |
kr-card-form-expanded | It is associated with the kr-smart-form class and defines the display in list mode with embedded card. |
kr-no-card-logo-header | Attribute to hide card payment logos (Hide Card Payment Logos ) |
kr-smart-button | Class allowing you to display a button for highlighting a payment method. It is associated with the kr-payment-method attribute for selecting the desired payment method. (Links for highlighting a payment method or highlighting several payment methods ) |
kr-payment-method | Attribute for selecting a payment method. Check the table of the kr-payment-method attribute to see the possible values. |
kr-brands | Attribute allowing to select a payment method from card payment methods. See the table of the kr-brands attribute to check the available values. |
Table of kr-payment-method attribute
value | Description |
---|---|
CARDS | Selection of all card payment methods. |
Titre-Restaurant(*) cards | |
APETIZ | Selection of payment method Bimpli (ex Apetiz). |
EDENRED | Selection of payment method Ticket restaurant. |
SODEXO | Selection of payment method Sodexo. |
CHQ_DEJ | Selection of payment method Chèque déjeuner. |
Other payment methods | |
IP_WIRE | Selection of the SEPA Credit Transfer payment method. |
BIZUM | Selection of the Bizum payment method. |
APPLE_PAY | Selection of the Apple Pay payment method. |
ALMA_2X | Select the Alma 2-installment payment method. |
ALMA_3X | Select the Alma 3-installment payment method. |
ALMA_4X | Select the Alma 4-installment payment method. |
ALMA_10X | Select the Alma 10-installment payment method. |
ALMA_12X | Selection of the Alma payment method in 12 installments. |
PAYCONIQ | Sélection du moyen de paiement Payconiq. |
PAYPAL_SB | Selection of the payment methodPayPalin TEST mode. |
PAYPAL | Selection of the payment methodPayPalin PRODUCTION mode. |
PAYPAL_BNPL_SB | Selection of the payment methodPayPal Pay Laterin TEST mode. |
PAYPAL_BNPL | Selection of the payment methodPayPal Pay Laterin PRODUCTION mode. |
UPI | Sélection du moyen de paiement BHIM-UPI. |
Table of kr-brands attribute
Value the kr-brands
attribute to create a payment button among the card payment methods.
value | Description |
---|---|
CB | Selection of the CB network. |
VISA | Selection of the Visa brand. |
MASTERCARD | Selection of the Mastercard brand. |
MAESTRO | Selection of the Maestro payment method. |
VISA_ELECTRON | Selection of the Visa Electron payment method. |
AMEX | Selection of the American Express payment method. |
Then, add the kr-payment-method
attribute set to CARDS.
For example, generate a payment button for AMEX :
<div class="kr-smart-button" kr-brands="AMEX" kr-payment-method="CARDS"></div>