Drupal Commerce Plugin
Automated Installation via Drupal.org
- Run the
composer require drupal/commerce_craftgate
command to install the plugin. You can find detailed information at https://www.drupal.org/project/commerce_craftgate. - After installing the plugin, click on the
Commerce
tab. Under theCOMMERCE (CONTRIB)
menu, selectCommerce Craftgate
and press install.
Manual Installation
- For manual installation,
visit https://github.com/craftgate/craftgate-drupal-commerce-gateway
. Download the latest updated file to your computer by clicking the
Download ZIP
button under the Code section. - Copy the plugin you downloaded as a folder from the repo to the
"web/modules/custom"
folder in Drupal. - Since it is a manual installation, install the Craftgate PHP library, which is the requirement of the plugin, in the
Drupal home directory with
composer require craftgate/craftgate
. - After installing the plugin, click on the
Commerce
tab. Under theCOMMERCE (CONTRIB)
menu, selectCommerce Craftgate
and press install.
Activating the Plugin
- After installing the plugin, click on the
Commerce/Payment Gateways
section. - Click the
Add Payment Gateway
button and selectCraftgate
on the page that opens. - In order to receive payment on the test environment, the Sandbox option must be selected. In order to receive live payments, the Live option must be selected.
- You can receive payment by entering API Key and Secret Key.
- To open an account in a live and test environment, see the Craftgate Account Opening page.
- Click
Enabled
in theStatus
section to activate the plugin.
Open Source
The Craftgate Drupal Commerce plugin is open source and you can request changes
at https://github.com/craftgate/craftgate-drupal-commerce-gateway
. Click the Watch
button in the GitHub repository to keep informed about developments and new releases.