Shopify is an e-Commerce platform that helps merchants to create and manage online stores without the need of extensive technical knowledge. Shopify is suitable for a wide range of businesses, from small startups to large enterprises. It caters to various industries and allows users to sell physical products, digital goods, and services.
Before you integrate your Shopify Store with DOKU, make sure that you have completed the following requirements:
Create an online store with
Create a
Create a . You can use Shopify Trial Program and test your integration with a DOKU Sandbox Account
This integration guide consists of 3 mandatory steps:
Install DOKU Payment App on Shopify App Store
Configure DOKU Payment App
Set Up Payment Notification on DOKU Dashboard
Log in to your
Log in to your
lnstall on Shopify App Store
On DOKU Payment Configuration page, select DOKU
Configure the following required fields:
Sandbox Client ID: Client ID retrieved from
Visit for instructions on how to retrieve integration credentials (Client ID and Secret Key)
Click Continue Integration With Shopify
You will be redirected to the Payment Settings page in Shopify Admin Dashboard, where you can switch on the toggles for the payment icons you wish to display on your Shopify checkout page. (Important Note: The payment icons on the Shopify checkout page are only for display and do not indicate the actual payment methods that are available for payment).
Scroll down and click Activate
If you skip this step, your payment status on Shopify Dashboard will not be synced with DOKU Dashboard
Copy the below Notification URL dedicated for DOKU Payments on Shopify
Log in to your DOKU Dashboard
For testing transactions, visit
For processing real transactions, visit
Set up the payment notification URL for each payment method that you have activated using the notification URL that you have copied earlier. Visit for detailed instructions
Once payment notification has been configured, you can start accepting payments with DOKU.
You can activate more payment methods for your Shopify store by following the steps below:
Log in to , and then access the side navigation bar
Select Settings from the menu
Settings page will appear. Under Account section, select Service
Notes:
Some payment methods can be activated instantly.
Others may require approval from our Risk Screening Team before they become active.
Certain payment methods may also require credential registration before activation is complete.
By configuring your checkout page, you will be able to:
Show or hide, and sort payment methods for your customers Choose which payment methods (e.g., cards, e-wallets, and virtual accounts) tp appear on your checkout page. You can also reorder them based on your preference or customer behavior to optimize conversions.
Customize the interface Adjust the look and feel of your checkout page to align with your brand. This includes modifying button colors, fonts, logos, and layout to ensure a seamless and branded customer experience.
Set a default expiry time Define how long a payment session remains valid before it expires. This is useful for limiting pending transactions and encouraging quicker payments, especially for methods like virtual accounts or retail outlets.
Visit for more detailed information.
Order Configuration setting allows you to define how unpaid transactions are handled in your Shopify store. You can choose whether an incomplete payment is treated as an Abandoned Checkout or remains in the Orders section as Payment Pending. This helps you manage your store’s workflow and track customer activity more effectively. You can set the Order Configuration for your Shopify store by following the steps below:
Log in to your
Go to Settings > Payments
On the Shopify Payment Settings page, select DOKU Payment
On DOKU Shopify Configuration page, select Order Configuration from the dropdown menu
Under Order Configuration Type, select your preferred option:
Abandoned Checkout: If the customer does not complete the payment, the order will be moved to the
Please ensure your sandbox credentials have been set up during your integration in.
You can simulate transactions in your Shopify store using by following the steps below:
Log in to your
Go to Settings > Payment
Under Supported Payment Methods section, select DOKU Payment
Payment notification URL must be set up on DOKU Dashboard for the transaction status to be updated on Shopify Dashboard. Please be sure to not skip step number 3 in the Integration Guide section.
Please refer to the guide on to obtain your integration credentials.
No, it is currently not possible to customize the expiry time of your Shopify order.
Currently, it is not possible to change the name of the payment provider.
Yes, integration with DOKU is free. However, an additional 0.2% fee is applied on top of the standard transaction fee for each payment method. For example, a successful transaction with Bank Transfer payment method will incur a fee of IDR 4,000 + 0.2% (excluding VAT) per transaction via Shopify.
There are two requirements to enable PayLater payment methods on Shopify:
PayLater payment methods must be activated in your
In your Shopify Dashboard, go to
You can only switch the payment provider once you have uninstalled the existing payment service provider app. Once uninstallation is completed, you can follow our for Shopify.
Yes, you can use your existing business account with a different store. However, you must uninstall the app from the current store and complete the integration process again by following our for Shopify.
Please note that the new store must use the same brand name. Using a different brand name may result in account suspension.
A common reason for a failed transaction is the use of non-alphabetic characters by your customer. Our system only supports alphabetic characters, so please ensure that all input consists solely of alphabetic characters.
If the transaction still fails to process after confirming the input is alphabetic, please submit a support ticket or send an email to , and our team will assist you in troubleshooting the issue.
This behavior is expected due to how Shopify and DOKU handle customer contact details. Shopify only provides a single field labeled “Email/phone number”, and depending on what the customer enters (email or phone), the other field may be left blank or auto-filled with a placeholder on the DOKU Checkout Page, which requires both email and phone number. If a customer enters only a phone number in Shopify, a dummy email or phone may appear on the DOKU page, and vice versa. This is a current limitation and cannot be prevented at this time.
Sandbox Secret Key: Secret Key retrieved from DOKU Sandbox
Production Client ID: Client ID retrieved from DOKU Dashboard
Production Secret Key: Secret Key retrieved from DOKU Dashboard
Select the payment method you would like to activate
Click ACTIVATE.
Payment Pending: If the customer does not complete the payment, the order will remain in the Orders section.
Click Save
Visit your Shopify storefront and check out a product
At checkout, select DOKU Payment as your payment method
You will be redirected to DOKU Checkout page, where you can select your preferred payment method
Complete the payment using DOKU Sandbox Simulator. Visit to learn how to use the payment simulator
Upon completion of the payment, you will be redirected back to your store. The transaction will be marked as completed, and the order will be confirmed.
Once the two requirements are met, PayLater payment methods will be available during checkout.










https://api.doku.com/middle/v2/shopify/notify