Payment methods
A payment method defines a brand/sub-brand like Visa, Mastercard Debet etc and is used to restrict 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-dk-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
Examples
For at thorough walkthrough of examples, see the helpdesk article on payment methods
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 the 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 | Yes |
dankort | Dankort credit card | 3D | 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 | Yes |
klarna-payments | Klarna Payments. Includes all Klarna Payment options. See Klarna helpdesk article for information on how to specify Klarna payment options | n/a | n/a |
maestro | Maestro debit card | 3D (only) | Yes |
mastercard | Mastercard credit card | 3D | Yes |
mastercard-debet | Mastercard debet card | 3D | Yes |
mobilepay | MobilePay Online | n/a | n/a |
mobilepay-subscriptions | MobilePay Subscriptions | 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 | Yes |
visa-electron | Visa debet (former Visa Electron) card | 3D | Yes |
vipps | Vipps | n/a | n/a |
vippspsp | Vipps via Quickpay | n/a | n/a |