This plugin allows for Magento store owners to accept payments with Komoju payment methods. Currently, the plugin supports the following currency:
- JPY
NOTE: A KOMOJU account is required to use this plugin.
- Download the latest version of the module from the release page
- Upload the downloaded file to your Magento server.
- Unzip the file directly into your $MAGENTO_INSTALL/app/code directory, where $MAGENTO_INSTALL is the directory where Magento is installed:
$ unzip komoju-magento-release.zip -d $MAGENTO_INSTALL/src/app/code
- Install the new module with the following commands:
$ php bin/magento setup:upgrade
$ php bin/magento setup:di:compile
$ php bin/magento cache:flush
$ php bin/magento setup:static-content:deploy
After installation, configure the plugin in the store configuration under the admin section by navigating to the payment methods. Enter your KOMOJU account details as found on the KOMOJU merchant settings page:
When configuring the "API Settings" section of the plugin use the following values:
Go to Stores > Sales > Payment Methods > Komoju > API Settings and fill out below
Merchant UUID: Your UUID Secret Key: Secret Key Publishable Key: Publishable Key Webhook Secret: Wil Explain below
For proper functioning, set up a webhook from your KOMOJU dashboard to your Magento instance by visiting Webhook page on the KOMOJU dashboard and clicking "New Webhook". Use /komoju/hostedpage/webhook as your Webhook URL.
For example, if your Magento URL is https://magento.komoju.com, then your Webhook URL would be https://magento.komoju.com/komoju/hostedpage/webhook.
And don't forget to choose a secret and ensure the following events are selected:
- payment.authorized
- payment.captured
- payment.expired
- payment.cancelled
- payment.refunded
- payment.refund.created
After configuring, click "Create Webhook" to save your settings.
Back in your Magento plugin configuration, enter the webhook secret you created into the "Webhook Secret Token" field.
For questions or concerns, contact our support team at [email protected].