A payment method defines a brand/sub-brand like Visa, Mastercard, etc., and restricts payments to some brand(s)/sub-brand(s). It also supports restricting a payment method by its issuing country and security level (if applicable).
The syntax is [3d-]{brand}[-{ISO 3166-1 alpha-2}][-business]
- example:
3d-mastercard-ro-business
^ ^ ^ ^
| | | |___ Signifies a corporate card
| | |_________ Issuing country as ISO 3166-1 alpha-2 (ie. the country where a credit card was issued)
| |________________ The Brand (Visa, Mastercard, Viabill etc.)
|_______________________ Security Level (3D-secure or std. SSL)
This example will restrict a payment to...
- be paid with a Mastercard
- require 3D Secure
- only accept Mastercards issued in Denmark
- corporate cards
Negation
It is also possible to use negation with payment methods. If you do not want to accept some payment method(s), just put a !
in front of those you do not wish to accept.
Example: You want to accept all credit cards but NOT JCB and Visa cards issued in USA:
<input type="hidden" name="payment_methods" value="creditcard, !jcb, !visa-us">
Please note! If you define some payment method(s) in the
payment_methods
form field all other methods are excluded and will be rejected.
Supported payment methods
Value | Description | Security level | Issuing country |
---|---|---|---|
apple-pay | Apple Pay | N/A | N/A |
anyday-split | Anyday Split | N/A | N/A |
american-express | American Express credit card | N/A | Yes |
creditcard | Restricting payments to credit card payments only | 3D Secure | Yes |
dankort | Dankort credit card | 3D Secure | N/A |
diners | Diners Club credit card | N/A | Yes |
fbg1886 | Forbrugsforeningen af 1886 | N/A | N/A |
google-pay | Google Pay | N/A | N/A |
ideal | iDEAL | N/A | N/A |
jcb | JCB credit card | 3D Secure | Yes |
klarna-payments | Klarna Payments. Includes all Klarna Payment options. Contact us if you want to enable this payment method | N/A | N/A |
maestro | Maestro debit card | 3D Secure (only) | Yes |
mastercard | Mastercard credit card | 3D Secure | Yes |
mastercard-debet | Mastercard debet card | 3D Secure | Yes |
mobilepay | MobilePay Online (https://mobilepay.dk/) | N/A | N/A |
mobilepay-subscriptions | MobilePay Subscriptions (https://mobilepay.dk/) | N/A | N/A |
paypal | PayPal | N/A | N/A |
paysafecard | Paysafecard | N/A | N/A |
resurs | Resurs Bank | N/A | N/A |
sofort | Sofort | N/A | N/A |
swish | Swish | N/A | N/A |
trustly | Trustly | N/A | N/A |
unzer-pay-later-invoice | Unzer Pay Later Invoice | N/A | N/A |
viabill | ViaBill | N/A | N/A |
visa | Visa credit card | 3D Secure | Yes |
visa-electron | Visa debet (former Visa Electron) card | 3D Secure | Yes |
vipps | Vipps | N/A | N/A |
vippspsp | Vipps via PSP | N/A | N/A |