Magento plugin integrates our payment services into your Magento 2.x store.
Features
- Pix payments
- Refunds
- Payment status sync
āļø Installation
You can install the plugin using Composer or manually, depending on your project setup.
Option 1: Manual Installation
- Download the sqala-magento.zip from github and extract it into the following directory:
curl -L https://github.com/rpo-pay/sqala-magento/archive/refs/tags/1.0.0.zip > sqala-magento.zip
unzip sqala-magento.zip
mkdir -p YOUR_MAGENTO_ROOT/app/code/Sqala/Payment && mv sqala-magento-1.0.0/* YOUR_MAGENTO_ROOT/app/code/Sqala/Payment
- Register the module and compile the code
bin/magento setup:upgrade
bin/magento setup:di:compile
- Clear the cache
bin/magento cache:clean
- (Production only) Deploy static content:
bin/magento setup:static-content:deploy -f
ā Troubleshooting Tip: If you face permission issues during installation, make sure the following directories have the correct write permissions:
var/
pub/
generated/
Option 2: Composer Installation
Coming soon.
āļø Configuration
Configuration in Magento Admin
Once installed, you can configure the plugin in the Magento Admin Panel:
Stores ā Configuration ā Sales ā Payment Methods
Look for the section Sqala Payment and fill in your credentials:
- AppId
- AppSecret
- Refresh Token
- Webhook Secret Id
Enable the desired payment method and save the configuration.
š Webhook Setup
To ensure payment updates are processed correctly, set up the following webhook in your Sqala dashboard:
Event: Payment Paid
URL: https://YOUR_DOMAIN/sqala/webhook/notify