Overview
...
Swish is a mobile payment company created by Nordic banks. HostBill supports Swish payments out of the box.
Activating the module
...
Module configuration
Then proceed to fill in all other configuration fields:
Payee Alias - Swish number e.g. 1231181189. Required field
Path to certificate file - The path to the certificate in .pem format
Path to certificate key file - The path to the certificate key in .pem format
Path to root certificate file - The path to the root certificate in .pem format
Certificate password - Set only if a password is set for the certificate (for the .pem file)
Certificate key password - Set only if the password is set for the certificate key
Certificate Name - Required field if your server uses NSS instead of OpenSSL. Set this option only if your server uses NSS
Path to NSS database - Full path to the NSS database. Required field if your server uses NSS instead of OpenSSL. Set this option only if your server uses NSS
Test mode
NSS database configuration
If your server uses NSS, you will need to add the certificate to the NSS database. To do this, follow these steps:
...
Info |
---|
If you have problems creating the database, repeat the steps as the root user, and then change the owner and group for the directory and all files in it. |
Generating PEM from PFX
...
To generate PEM files from PFX use the following commands (assuming the PFX file is named swish.pfx):
Code Block | ||||
---|---|---|---|---|
| ||||
openssl pkcs12 -in swish.pfx -clcerts -out cert.pem |
Code Block | ||||
---|---|---|---|---|
| ||||
openssl pkcs12 -in swish.pfx -cacerts -out root.pem |
Code Block | ||||
---|---|---|---|---|
| ||||
openssl pkcs12 -in swish.pfx -nocerts -out key.pem |
FAQ
Answer: This module does not support the currency you attempt to display it in, please use background currency conversion.