Magento Plugin
Magento 2 Extension
Accept SagaPay payments in your Magento 2 store with our official extension.
Requirements
- Magento 2.4.0 or higher
- PHP 7.4 or higher (8.1+ recommended)
- Composer
- SSL certificate (HTTPS)
- SagaPay merchant account
Download
Something went wrong!
Installation
Method 1: Composer (Recommended)
Method 2: Manual Installation
- Extract the ZIP file
- Create directory:
app/code/SagaPay/Payment/ - Copy all files to that directory
- Run the commands above starting from
bin/magento module:enable
Configuration
- Log in to Magento Admin
- Go to Stores → Configuration → Sales → Payment Methods
- Expand the SagaPay section
- Configure settings:
General Settings
Payment Methods
Enable and configure individual payment methods:
- Card Payments: Visa, Mastercard, Amex
- Vipps: Norwegian mobile payments
- Klarna: Buy now, pay later
- Invoice: Invoice payments
Order Settings
Multi-Store Configuration
SagaPay supports Magento multi-store setups. Configure different credentials per store view:
- Switch to the specific store view scope
- Uncheck “Use Default” for settings to override
- Enter store-specific credentials
Refunds
Process refunds from the Magento admin:
- Open the order
- Go to Invoices tab
- Click on the invoice
- Click Credit Memo
- Select items/enter amount
- Click Refund
Online refunds will be processed automatically through SagaPay. Offline refunds only update Magento.
Webhooks
Configure webhook URL in SagaPay dashboard:
Troubleshooting
Extension not appearing
Payment methods not showing
- Verify credentials in configuration
- Check if the payment method is enabled
- Verify country/currency settings match
- Check
var/log/sagapay.logfor errors
Compilation errors
Logs
SagaPay logs are stored in:
var/log/sagapay.log- General logsvar/log/sagapay_debug.log- Debug logs (when enabled)
Changelog
Version 1.1.0
- Added Vipps and Klarna support
- Improved multi-store handling
- Fixed partial refund issues
Version 1.0.0
- Initial release
- Card payments support
- Basic refund functionality
Support
Need help? Contact us:
- 📧 Email: support@sagapay.no
- 📚 Documentation: docs.sagapay.no