Category

Payment

Version

1.1.2

Last updated

Mar 30, 2024, 08:08:40 AM6 months ago

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:
yarn add medusa-payment-tamara
2. Set the following environment variables in Copy to clipboard.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 Copy to clipboardmedusa-config.js add the following at the end of the Copy to clipboardplugins 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
},
},
]

Build your own plugins

Develop your own plugins with our API to speed up your processes.

Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.