Midtrans ❤️ Drupal 8! Let your Drupal Commerce 2 store integrated with Midtrans payment gateway.
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
commerce_midtrans
. - Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your Drupal modules installation's
[Drupal folder]/modules/contrib/
directory.
- 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.
- Go to Settings > Configuration.
- Insert
http://[your web]/payment/notify/midtrans
as your Payment Notification URL in your MAP. - Insert
http://[your web]
link as Finish/Unfinish/Error Redirect URL in your MAP configuration.