Apps
Klarna
by Saleor Commerce
Connect Saleor with Klarna, the leading BNPL provider.
Klarna app
This app integrates Saleor with Klarna payment gateway.
Required Saleor version: 3.15
[!NOTE] This is an example implementation. Only community support is available.
Development
Prerequisites
Software
-
Node.js 20
-
pnpm 8.14.2
Access
You need to have a Klarna playground account to run this app. You can create one here.
Installation
- Copy
.env.example
to.env
and fill in the required values. pnpm install
Usage
[!IMPORTANT] The app needs to be tunneled in local development.
To run the app on port 3000, use the following command:
pnpm dev
Each time you modify a .graphql
file, you have to run:
pnpm generate
to regenerate the GraphQL types.
Running storefront example
This app comes with a simple storefront example. To run it, follow these steps:
- Clone the repository.
- Copy
.env.example
to.env
and fill in the required values. pnpm install
pnpm dev