Midtrans Drupal 8 Commerce Payment Gateway Module
This is the official Midtrans extension for the Drupal Commerce 2 E-commerce platform.
8.x-2.00 (for Drupal v 8.x)
The following plugin is tested under following environment:
- PHP v5.6.x or greater
- MySQL version 5.0 or greater
- Drupal v8.x
- Drupal Commerce 8.x-2.xx
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
- Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your Drupal modules installation's
- Open drupal admin page, open menu Extend.
- Look for Commerce Midtrans modules under COMMERCE (CONTRIB) group, enable by ticking the checkboxes.
- Scroll down and click Install.
- Go to Commerce > Configuration > Payment > Payment gateways.
- Look for Midtrans and click it.
- Click Add payment gateway, click Midtrans under Plugin 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.
Midtrans Map Configuration
- Go to Settings > Configuration.
http://[your web]/payment/notify/midtransas your Payment Notification URL in your MAP.
http://[your web]link as Finish/Unfinish/Error Redirect URL in your MAP configuration.