Tamara
Documentation|Website
Building blocks for digital commerce
Compatibility
This plugin is compatible with versions >= 1.20.2 of Copy to clipboard
@medusajs/medusa
.How to Install
1. Run the following command in the directory of the Medusa backend:
1yarn add medusa-payment-tamara
2. Set the following environment variables in Copy to clipboard
.env
:12345TAMARA_TOKEN=YOUR_TAMARA_TOKEN#this is the sandbox api set to xxxx for productionTAMARA_API=https://api-sandbox.tamara.co# the redirecting url for the userWEB_ENDPOINT="http://localhost:3000"
3. In Copy to clipboard
medusa-config.js
add the following at the end of the Copy to clipboardplugins
array:1234567891011const plugins = [// ...{resolve: `medusa-payment-tamara`,options: {tamara_token: process.env.TAMARA_TOKEN,tamara_api: process.env.TAMARA_API,web_endpoint: process.env.WEB_ENDPOINT},},]