Skip to content

medbenzekri/medusa-payment-tamara

Repository files navigation

Tamara logo

Tamara

Building blocks for digital commerce

PRs welcome! Product Hunt Discord Chat Follow @medusajs

Compatibility

This plugin is compatible with versions >= 1.20.2 of @medusajs/medusa.

How to Install

1. Run the following command in the directory of the Medusa backend:

yarn add medusa-payment-tamara

2. Set the following environment variables in .env:

TAMARA_TOKEN=YOUR_TAMARA_TOKEN
#this is the sandbox api set to xxxx for production 
TAMARA_API=https://api-sandbox.tamara.co
# the redirecting url for the user 
WEB_ENDPOINT="http://localhost:3000"

3. In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...
  {
    resolve: `medusa-payment-tamara`,
    options: {
      tamara_token: process.env.TAMARA_TOKEN,
      tamara_api: process.env.TAMARA_API,
      web_endpoint: process.env.WEB_ENDPOINT
    },
  },
]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published