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:

  1. Create an online store with Shopify

  2. (Optional) Create a DOKU Sandbox Account. You can use Shopify Trial Program and test your integration with a DOKU Sandbox Account.

You can insert your production and sandbox credentials on the installation page once you have created both a DOKU Business Account and a DOKU Sandbox Account.

Integration Guide

Install DOKU Payment for Shopify

  1. Log in to your DOKU Dashboard

  2. Log in to your Shopify Store

  1. Confirm Your Store Domain, and click Confirm button to proceed

  1. You will be redirected to Payment Settings on Shopify Admin Dashboard. This indicagtes that your Shopify store has been connected to DOKU Payment App

  1. Click Activate DOKU Payment button to start accepting payments with DOKU. You can also tick/untick for test mode for each payment method icon in your store.

Set Up Payment Notification

Set up the following notification URL for each of the payment method that you have activated.

For details on how to set up a payment notification URL, please visit this section.

Testing Payments

You can simulate transactions with the Shopify store that you have connected to DOKU with DOKU Sandbox.

Please ensure that you have already set your sandbox credentials on the installation page. You can retrieve your sandbox credentials (Brand ID/Client ID and Secret Key) from the dashboard.

You can test payments with your Shopify store by following the steps below:

  1. Under payment settings page, go to Settings > Payment.

  2. Click Manage button on DOKU Payment App

  3. Under the DOKU Payment App details, tick the Enable Test Mode option

  4. Click Save button

  5. Go to your Store view

  6. Check out a product and try to complete the process

  7. Select DOKU Payment as the payment method

  1. You will be redirected to DOKU Checkout page to complete the payment

  1. Upon payment completion with DOKU Sandbox simulator, redirect back to your store. Payment is now completed, and your order is confirmed.

Going Live

If you have successfully connected your Shopify store with DOKU Payment App, you can go live by following the steps below:

  1. Log in to your Shopify Store account.

  2. Go to Settings > Payments and click Edit button under DOKU Payment.

  3. Make sure to uncheck the Test mode.

  4. Click Save to start accepting payments with DOKU using Shopify


Can I customize the expiry time of payment URL ?

Unfortunately, since Shopify implement Hosted Payment Page, you can't custom expiry time. But, no worries, default expiry time for payment URL is 100 minutes. So your customer have a long time to decide to make a payment. If your customer lost the payment url, don't worry! You can retrieve the payment URL via the admin dashboard in the abandonent cart.

Is it possible to change the payment provider name instead of using DOKU Payment?

Unfortunately, in shopify's new platform, this doesn't to be possible.

Is integrating my Shopify store with DOKU free of charge?

Integrating your Shopify store with DOKU is free of charge. However, there will be an additional 0.2% fee on top of the transaction fee that is charged for each payment method. For instance, the fee for a successful transaction with Bank Transfer will be IDR 4,000 + 0.2% (excluding VAT) for any transactions with Shopify.

Last updated