Command Palette

Search for a command to run...

Getting Started with T-Kassa Payment for Medusa (v2.0.0-beta)

In this document, you’ll learn how to install and configure the T-Kassa payment provider by T-Bank for Medusa.

Requirements


Installation

yarn add @gorgo/medusa-integration @gorgo/medusa-payment-tkassa@beta

Configuration

Add the provider configuration in your file of the Medusa admin application:

medusa-config.js
1# ...
2const TKASSA_INTEGRATION_ID = "tkassa-1"
3
4module.exports = defineConfig({
5 # ...
6 plugins: [
7 # ...
8 {
9 resolve: "@gorgo/medusa-integration",
10 options: {
11 encryptionKey: process.env.INTEGRATION_ENCRYPTION_KEY,
12 providers: [
13 {
14 resolve: "@gorgo/medusa-payment-tkassa/providers/integration-tkassa",
15 id: TKASSA_INTEGRATION_ID,
16 options: {},
17 },
18 ],
19 },
20 },
21 {
22 resolve: "@gorgo/medusa-payment-tkassa",
23 options: {},
24 },
25 ],
26 modules: [
27 # ...
28 {
29 resolve: "@medusajs/medusa/payment",
30 options: {
31 providers: [
32 {
33 resolve: "@gorgo/medusa-payment-tkassa/providers/payment-tkassa",
34 id: "tkassa",
35 options: {
36 id: TKASSA_INTEGRATION_ID
37 }
38 },
39 ],
40 },
41 },
42 ],
43})

Add environment variables with your secret :

.env
INTEGRATION_ENCRYPTION_KEY=supersecret

Provider Options

Loading...

Webhook Setup

To properly handle payment notifications from T-Kassa, configure webhooks in your T-Business account as following:

  1. Navigate to → Choose your shop → → Choose or Terminal → Click to open the setting window

  2. Choose to send Notifications

  3. Add a URL like:

    Change with your medusa store domain.

Warning: T-Kassa expects an response message to confirm successful webhook processing and to prevent duplicate notifications. Currently, Medusa does not natively support custom webhook response messages, but webhooks are still processed correctly without this. For more details, check out the related discussion.
Edited Aug 13, 2026·Edit this page