richardhj / isotope-klarna-checkout
Klarna Checkout integration into Isotope eCommerce
Installs: 419
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 4
Open Issues: 8
Type:contao-bundle
Requires
- php: >=7.4
- ext-json: *
- contao/core-bundle: ^4.9
- doctrine/dbal: ^2.0
- isotope/isotope-core: ^2.6
- symfony/dependency-injection: ^4.4 || ^5.0
- symfony/http-client: ^4.4 || ^5.0
- symfony/http-foundation: ^4.4 || ^5.0
- symfony/http-kernel: ^4.4 || ^5.0
- symfony/routing: ^4.4 || ^5.0
- symfony/serializer: ^4.4 || ^5.0
Requires (Dev)
- contao/manager-plugin: ^2.11
This package is auto-updated.
Last update: 2024-12-06 01:29:07 UTC
README
This package provides an entire new checkout for Isotope eCommerce. It integrates the Klarna checkout iFrame into your shop.
More information about Klarna.
Install
Via Composer
$ composer require richardhj/isotope-klarna-checkout
Usage
The Klarna checkout will use the configuration of your Isotope shop. So make sure that you have configured your shop configuration according to the Isotope documentation. This includes tax rates, tax classes and shipping methods.
First of all you configure Klarna for every shop config in use. Edit the Isotope shop configuration(s) and provide the API username and API password.
This extension provides two frontend modules that both have to be implemented in your website:
- Klarna checkout: Place this module on a page the user follows when s/he wants to proceed to checkout. Replaces the native Isotope checkout module.
- Klarna checkout confirmation: Place this module on a page the user get redirected after the checkout being completed. This modules displays a confirmation iFrame (order review) and finishes the order in Isotope.
This checkout also supports External Payment Modules. You can enable any payment method you are already using (e.g., PayPal) and it should work as well! Note that for such orders the order confirmation will differ (no Klarna iFrame).
Who did it?
Richard Henkenjohann richardhenkenjohann@googlemail.com
Please consider monetary support for this extension's author in case this extension is doing business in your eCommerce.
Demo
Contributing
The API documentation is available at https://developers.klarna.com/api.
You always have to test/debug on a system with publicly available URIs. This means you cannot run Klarna checkout on localhost, as the Klarna checkout relies on the callbacks (e.g. order_validation). The checkout will fail when the callbacks are not available.
That being said, I recommend to configure xDebug on a staging system. You also have to configure
xdebug.remote_autostart=1
, as the callbacks get not called with a debug session cookie.