Midtrans ❤️ Drupal! Let your Drupal Commerce store integrated with Midtrans payment gateway.
This is the official Midtrans extension for the Drupal Commerce E-commerce platform.
7.x-2.0.8 (for Drupal v 7.x)
The following plugin is tested under following environment:
- PHP v5.6.x or greater
- MySQL version 5.0 or greater
- Drupal v7.x
- Drupal Commerce 7.x-1.x
The manual installation method involves downloading our feature-rich plugin and uploading it to your webserver via your favourite FTP application.
- Download the plugin file to your computer and unzip it, rename folder to
commerce_midtrans
- Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your Drupal modules installation's
[Drupal folder]/sites/all/modules/
directory.
(Refer to this link for more info on installing module for drupal: Drupal module install )
-
Open drupal admin page, open menu modules.
-
Look for Commerce Midtrans and Midtrans Snap modules under COMMERCE (PAYMENT) group, enable both by ticking the checkboxes.
-
Scroll down and click Save Configuration
-
Go to store > configure store > payment methods
-
Look for Midtrans and click it
-
Click Settings, tick active, then click save changes
-
Click Enable payment method: Midtrans SNAP under Tab Actions
-
Fill the following config fields as instructed on each settings description
-
Click save.
-
Now Snap Midtrans should appear as a payment options when your customer checkout.
- Go to Settings > Configuration
- Insert
http://[your web]/commerce_midtrans/ipn
as your Payment Notification URL in your MAP - Insert
http://[your web]
link as Finish/Unfinish/Error Redirect URL in your MAP configuration.