Overview
Icon for Halkbank

Halkbank

Handle payments with Halkbank MK payment plugin

Halkbank Payment Plugin for MedusaJS

This plugin is a payment plugin for MedusaJS that allows you to accept payments from Halkbank MK. Halkbank uses Nestpay as a payment gateway, so the plugin can likely be adjusted to work with other banks that rely on Nestpay.

See Halkbank Payment Plugin for MedusaJS - Frontend for the frontend component.

Installation

The plugin expects that the payment and cart module are available in the project.

Install the plugin:

  • Copy to clipboardnpm i @sradevski/medusa-payment-halkbank
  • Copy to clipboardyarn add @sradevski/medusa-payment-halkbank
  • Copy to clipboardpnpm install @sradevski/medusa-payment-halkbank

Add the plugin to your Medusa project:

plugins: [
{
resolve: "@sradevski/medusa-payment-halkbank",
options: {}
},
]

Add the Halkbank provider to payment module:

{
resolve: "@medusajs/medusa/payment",
options: {
providers: [
{
resolve: "@sradevski/medusa-payment-halkbank/providers/halkbank",
id: "halkbank",
name: "Halkbank",
options: {
clientId: process.env.HALKBANK_CLIENT_ID,
clientKey: process.env.HALKBANK_CLIENT_KEY,
},
},
],
},
},

The backend is ready to accept calls from the frontend component.

You may also like

Browse all integrations

Build your own

Develop your own custom integraiton

Build your own integration with our API to speed up your processes. Make your integration available via npm for it to be shared in our Library with the broader Medusa community.

gift card interface

Ready to build your custom commerce setup?