This project is not covered by Drupal’s security advisory policy.
Integrate your Drupal Commerce with Duitku payment gateway.
Description
This is the official Duitku module for the Drupal Commerce E-commerce platform.
Version Tested on
Drupal v9.4.5
Drupal Commerce v2.x.x
PHP v7.4.x
Instalation
Download the module then upload via FTP to your drupal website.
- Download the plugin file to your computer.
- Using an FTP program, or your hosting control panel, upload the plugin folder to your Drupal modules installation’s
[Drupal folder]/modules/contrib/directory. Then, extract the plugin.
Please make sure the directory should be like
[Drupal folder]/modules/contrib/duitku_payment
Plugin Configuration
- Open drupal admin page, open menu Extend.
- Look for Duitku Payment modules under Payment Gateway group, enable by ticking the checkboxes.
- Scroll down and click Install.
- Go to Commerce > Configuration > Payment > Payment gateways.
- Click Add payment gateway, click Duitku under Plugin Actions.
- Fill the following config fields as instructed on each settings description.
- Click save.
- Now Duitku Payment should appear as a payment options when your customer checkout.
Advanced Usage
Note on Customer Data
Unfortunately Drupal Commerce by default doesn’t have shipping address and phone number as customer data <sup>[1]</sup>, so there will be no phone data passed to Duitku side.
These data is required for credit payment such as ATOME and IndoDana. If you’d like to add these payment method you need to modified your Drupal Commerce to have phone number input field. For shipping address you may create new input field or you could do just customize/edit this payment module set shipping address as billing address. Then you may have shipping address and phone number data to send.
You can uncomment this line:
// 'phoneNumber' => $phoneNumber // 'shippingAddress' => $address
Then modify it to something like this:
'phoneNumber' => getPhoneNumber(); 'shippingAddress' => getShippingAddress();
But you will need to figure out on your own, how to programmatically retrieve customer information based on your site implementation.
Get help
- Duitku documentation
- Technical support support@duitku.com
Change Log
- 19 Sept 2022
- init realease v1.0.0
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: E-commerce
- Created by RayhanDuitku on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


