satispay / shopware6-plugin
Satispay Shopware6 Plugin
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:shopware-platform-plugin
Requires
- ext-json: *
- satispay/gbusiness-api-php-sdk: 1.3.*
- shopware/core: 6.6.*
- shopware/storefront: 6.6.*
This package is not auto-updated.
Last update: 2024-11-05 11:09:57 UTC
README
Satispay plugin for Shopware 6 ecommerce
Requirements
- Shopware 6.1.* or 6.2.* or 6.3.* or 6.4.* or 6.5.* or 6.6.*
- Satispay payment method is allowed only for EURO transactions.
Installation
Via composer
Use the composer require command to add it to your ecommerce
For Shopware versions lower than Shopware 6.5:
composer require satispay/shopware6-plugin:1.2.0
For Shopware 6.5:
composer require satispay/shopware6-plugin:2.0.0
For Shopware 6.6 and over:
composer require satispay/shopware6-plugin
Then you have to install and activate it
bin/console plugin:refresh bin/console plugin:install Satispay bin/console plugin:activate Satispay
After installation, a new rule will be added called Currency Euro. This rule is set as availability rule for Satispay payment method.
Configuration
Activate Satispay Token
-
Log in as admin user
-
Access Settings > System > Plugins for Shopware version lower than 6.4.x or access Extensions > My Extensions for Shopware version equal/higher than 6.4.x
-
Select config button for Satispay payment plugin to access its settings
-
Select if you want to use sandbox mode through the checkbox Sandbox (if active is blue and will run on sanbdox, not otherwise)
-
Insert your activation code created from your satispay account dashboard (Negozi Online -> Crea codice di attivazione)
-
Click Save button to save current settings
-
Click Activate button
In case of success, you see in the Currently activated code your activation code. In case of error, you'll receive an error code for Satispay support to identify the issue.
If you empty the token activation and click activate, it will delete current activation values and you will need a new token to activate your connection to satispay.
Enable Satispay Payment method
-
Select the corresponding sales channel where you want to activate satispay payment method
-
Open the dropdown Payment methods from Payment and shipping settings and select Satispay payment
-
Click Save button to save current settings
Extra settings (optional)
Extra settings are available in the admin panel in Settings > Shop > Payment.
To view or change them select the action button and click edit.
Refund payment
-
Open the order you want to create the refund for from the orders grid.
Only the orders that have the payment status paid, refunded or refunded partially can be refunded.
-
Select the Satispay Tab visible only if the order was paid with satispay.
- Click Make a Refund button
- Insert the amount to refund and confirm clicking Perform refund button
In case of error, you'll receive an error code for Satispay support to identify the issue.
Payment Flow
- In 6.1 the payment status after the get payment status will stay in OPEN instead of IN PROGRESS.
Scheduled task to finalize unhandled transactions
In the plugin configuration there is a value to enable a scheduled task that runs every 4 hours and finalizes Satispay transactions for the latest hours specified in the Time Frame field (excluding the last hour so that these payments follow the default flow and wait for the callback).
Tested on
- 6.1
- 6.2
- 6.3
- 6.4
- 6.5
- 6.6
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project uses the MIT LICENSE