webmenedzser / craft-simplepay
SimplePay payment gateway for Craft Commerce
Installs: 45
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^4.0.0
- craftcms/commerce-omnipay: ^4.0.0
- league/omnipay: ^3.0.0
README
This plugin integrates Craft Commerce with a Hungarian payment gateway, SimplePay.
Requirements
This plugin requires Craft Commerce 3.2.0 or later.
Installation & Setup
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require webmenedzser/craft-simplepay
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft SimplePay.
-
Go to Settings → OTP SimplePay for Craft Commerce and set up the return URLs for your site. They can be different or the same.
-
Go to Commerce → System Settings → Gateways. Add a New gateway, select OTP SimplePay v2.1 (this is the API version of SimplePay), fill in the Merchant ID & Secret Key fields and save the gateway. You will find the Webhook URL on this page after save.
-
Copy the Webhook URL and paste it into SimplePay admin. If you would like to test the plugin offline, spin up an ngrok instance on your computer (ngrok http PORTNUMBER) and alter the Webhook URL accordingly.
-
Make sure that the Currency set in Commerce is the same as in your SimplePay account. (Especially if you get 5307 error codes in the Transaction tab of the Orders.)
Features
This plugin currently supports the following features:
- Standard payments with redirection to the SimplePay payment page
- Full refunds for payments (started from the Control Panel)
The plugin DOES NOT support the following features:
- Partial refunds
- Recurring payments
Feature Requests & Issues
If you have a feature request or experience an error, create an issue here.
Brought to you by dr. Ottó Radics