With the Klarna payment gateway for WHMCS, you can offer your customers payment via the payment service provider Klarna. Various payment options are available to the customer.
System requirements
- WHMCS 8.8 – 8.11
- Access to the WHMCS admin area
- IonCube Loader 13
- FTP access to the WHMCS installation
- PHP 7.4, 8.1 or 8.2
- A Klarna account
Installation
Upload the module files to your WHMCS installation and activate the payment gateway in the WHMCS admin area. Then make the desired configuration. An explanation of the individual setting points of the payment module can be found below.
Klarna API Access
Log in to your Klarna admin area. Then go to the “Klarna API access data” area via the “Payment Settings” menu item. There, select the shop you want to connect to the module and create new API access data. Save these and enter them in the fields provided for this purpose in the module settings.
Module parameters
Endpoint: Please select the endpoint for your Klarna access here. Endpoints with the addition Production go to the Klarna live system, whereas endpoints with the addition Playgound go to the Klarna test system.
License key: Please enter here the licence key for the module that you have received from Plambee.de
API Username: Please enter the API username here
API Password: Please enter the API Password here
Statement Description: Please enter the reason for payment here. The variables {invoice} (= the language string $_LANG[‘invoicenumber’] from the WHMCS customer language file) {invoiceid} (= the invoice number) and {company} (= your company name) are available for this purpose.
Token: Please enter a value of your choice here. This value is used to generate a token which is used to check whether requests to the callback file of the module also originate from Klarna. Please do not pass on this token
Fixed Fee: Please enter the fixed fee component here. Calculated fees are for internal use in WHMCS only and will not be passed on to the client.
Percentage Fee: Please enter the percentage of fees here. Calculated fees are for internal use in WHMCS only and will not be passed on to the client.
Notes
Which payment options are displayed to the customer on the Klarna payment page can vary. Klarna decides this itself depending on the country, for example.