Search for a command to run...
In this document, you’ll learn how to install and configure the T-Kassa payment provider by T-Bank for Medusa.
yarn add @gorgo/medusa-payment-tkassa# ornpm install @gorgo/medusa-payment-tkassa
Add the provider configuration in your file of the Medusa admin application:
# ...module.exports = defineConfig({# ...modules: [{resolve: "@medusajs/medusa/payment",options: {providers: [{resolve: "@gorgo/medusa-payment-tkassa/providers/payment-tkassa",id: "tkassa",options: {terminalKey: process.env.TKASSA_TERMINAL_KEY,password: process.env.TKASSA_PASSWORD,capture: true,useReceipt: true,ffdVersion: "1.05",taxation: "osn",taxItemDefault: "none",taxShippingDefault: "none"},}]}}]})
Add environment variables with your shop identifier and secret from your T-Business account:
TKASSA_TERMINAL_KEY=123456789TKASSA_PASSWORD=supersecret
To properly handle payment notifications from T-Kassa, configure webhooks in your T-Business account as following:
Navigate to → → Choose your shop → → Choose or Terminal → Click to open the setting window
Choose to send Notifications
Add a URL like:
Change with your medusa store domain.
Default:
Default: