A list of all currently built in payment transaction providers. The transaction provider must be defined in the transaction
key of the luya\payment\frontend\Module
config.
The Stripe transaction integration config:
'payment' => [
'class' => 'luya\payment\frontend\Module',
'transaction' => [
' class' => 'luya\payment\transactions\StripeTransaction',
'publishableKey' => 'pk_test_....',
'secretKey' => 'sk_test_.....',
]
]
publishableKey
: The publishable key from the strip website (starts with pk_).secretKey
: The secret key from the strip website (starts with sk_).
test cards
- 4000000000003220 - with 3D secure 2
The SaferPay transaction API integration config:
'payment' => [
'class' => 'luya\payment\frontend\Module',
'transaction' => [
'class' => 'luya\payment\transactions\SaferPayTransaction',
'terminalId' => '12345678',
'customerId' => '123456',
'username' => 'API_XXXXX_XXXXXXX',
'password' => 'JsonApiPwed..........',
'mode' => 'sandbox',
],
]
accountId
: The account id from the saferpay docs.mode
: The modelive
orsandbox
values are available.spPassword
: When using the test account, the spPassword is required.