white-nl / commerce-rabo-smart-pay
Official Rabo Smart Pay Plugin for Craft 5
Package info
github.com/white-nl/commerce-rabo-smart-pay
Type:craft-plugin
pkg:composer/white-nl/commerce-rabo-smart-pay
Requires
- php: >=8.2
- craftcms/cms: ^5.8.0
- craftcms/commerce: ^5.5.0
- rabobank/omnikassa-sdk: ^1.18.2
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
README
Official Rabo Smart Pay Plugin for Craft 5
Requirements
This plugin requires Craft CMS 5.8.0 or later, and PHP 8.2 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Rabo Smart Pay”. Then press “Install”.
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require white-nl/commerce-rabo-smart-pay # tell Craft to install the plugin ./craft plugin/install commerce-rabo-smart-pay
Rabo Smart Pay Setup
Request access
- Go to the Rabo Smart Pay website and click on
Vraag Rabo Smart Pay aan. - Login with your business card and the Rabo Scanner. Then, under payment solutions, select
Overige producten. - On the next page, check your global business details and complete where necessary.
- On the next page, check the overview and sign the request with your business card and the Rabo Scanner.
- After signing, you will have access to the Rabo Smart Pay dashboard
Generate Rabo webshop keys
- Login to your Rabo Smart Pay dashboard and click
on
Apps->Rabo Smartpay. - In the
Self Servicetab, underCommercial unitclick onnew commercial unit. - Fill in the name and details of your webshop and click
Save. - Click on
manageunderwebshopsfor the commercial unit you just created. - Under
actionsclick onIntegration settingsand then onGenerate new keys. - Copy the
Signing keyandRefresh tokenand fill in the gateway settings in your Craft Control Panel. - After saving the plugin settings, a webhook URL will be generated. Copy this URL and add it to the
Webhook URLfield in the Rabo Smart Pay dashboard and clickSave.
Pay attention that this webhook URL is different for each environment (e.g. local, staging, production). You will need to add the correct webhook URL for each environment in the Rabo Smart Pay dashboard. You can get the correct webhook URL for each environment by going to the gateway settings in your Craft Control Panel and copying the generated URL, or by running the following command in your terminal:
./craft commerce/gateways/webhook-url <gatewayHandle>
Rabo smart pay for Craft CMS is brought to you by WHITE Digital Agency