- Tamara payment for OpenCart 3.0.x
- Tamara payment for OpenCart 2.3.x
- Tamara payment for OpenCart 2.0.x
- Tamara payment for OpenCart allows your users to pay with Tamara on Opencart
- PHP >= 7.3
- Download and extract it to your web root
- Go to Admin dashboard > Extensions > Extensions
- Choose Tamarapay under Payments
- Click install button.
If you already install tamara-php-sdk via composer, you need to remove it before continue
composer remove tamara-solution/php-sdk
composer remove symfony/console
composer remove symfony/cache
- Download and extract the extension to your web root
- Go to Admin dashboard > Extensions > Extensions
- Choose Tamarapay under Payments
- Click Edit button
We support updating orders manually via command line
- First, give it execute permission
chmod +x {web_root}/system/library/tamara/console.php
- After that, exec this command
php {web_root}/system/library/tamara/console.php tamara:orders-scan --start-time="{start_time}" --end-time="{end_time}"
with {start_time} and {end_time} are the creation times of the orders to be scanned (yyyy-mm-dd hh:mm:ss)
- For example, to update orders created in the last 30 minutes
php {web_root}/system/library/tamara/console.php tamara:orders-scan --start-time="-30 minutes"
to update orders that created from 2021-01-01 00:00:00 to 2021-01-01 23:59:59
php {web_root}/system/library/tamara/console.php tamara:orders-scan --start-time="2021-01-01 00:00:00" --end-time="2021-01-01 23:59:59"
End point:
index.php?route=extension/payment/api/tamarapay/checkout_information&key={your_api_key}&order_id={opencart_order_id}
Method: GET