Connect Your Midtrans Account

In this article:

General Information

You can connect Midtrans to your Payhip store to accept payments for selling digital products online in Indonesia. 

Which countries is Midtrans available in?

Midtrans is available in Indonesia and is currently only able to process transactions in Indonesian Rupiah (IDR).

What are the payment methods available on Midtrans?

Midtrans accepts a large number of local payment methods in Indonesia including:
  • Credit card: Visa, Mastercard, JCB, American Express
  • E-wallet: GoPay, QRIS (OVO, LinkAja, etc), ShopeePay, DANA, GooglePay
  • Bank transfer: BCA Virtual Account, BNI, BRI Virtual Account (BRIVA), Mandiri, Permata Bank, ATM Bersama, ALTO, Prima, CIMB Niaga, Danamon Virtual Account, BSI Virtual Account
  • Over the counter: Indomaret, Alfamart, Alfamidi, DAN+DAN
  • Direct debit
  • Cardless credit: Akulaku PayLater, Kredivo Buy Now Pay Later

Midtrans fees - how much money does Midtrans take per transaction?

Midtrans' standard fee for online credit card transactions is 2,9% + IDR 2,000 per transaction, and the standard fee for bank transfer is IDR 4,000 per transaction. Fees vary by payment methods, please check Midtrans’ pricing page for the latest updates. Note that these fees are collected by Midtrans and do not go to Payhip.

How to connect Midtrans to your eCommerce store

To start selling online, make sure you’ve signed up for a free Payhip account. 
In your Payhip dashboard, go to Account → Settings → Payment Details.
You’ll see a list of payment gateways available in your region, including Midtrans (if it’s available to you). If you don't see the option, click  See All Payment Options to see the full list of supported payment gateways.
Note that the default currency that you set on your Payhip account must match the currency on your Midtrans account. In this case, it would need to be IDR (Indonesian Rupiah).
Click Connect and you’ll be presented with the screen where you can add your Client Key and Server Key.
To find this information, please take the following steps on your Midtrans account:
1) Log in to your Midtrans account
2) Go to  Settings  Access Keys
3) Now you can copy the Client Key and the Server Key and paste them into the corresponding fields on your Payhip dashboard.
After you've submitted the above information on your Payhip account, you'll be shown a confirmation that Midtrans was successfully connected.
4) On your Midtrans account, go to Settings → Payment → Notifications. Under Notification URL, paste the following text in the Payment notification URL column:
https://payhip.com/payment_gateway_webhook_midtrans

That’s it! You’ve successfully integrated Midtrans to your Payhip store.

If you don’t have a Midtrans account yet: How to create a Midtrans account?

If you don’t have a Midtrans account yet, there is a link to create a new Midtrans account for free on your Payhip dashboard. Simply follow the on-screen instructions to set up your new Midtrans account.

FAQ

How do I get my payouts from Midtrans?

Midtrans payments are processed instantly, so you receive funds immediately after each transaction. Midtrans payments work a little differently compared to Stripe or PayPal on Payhip. You will get your full payment (without Payhip fees deducted) instantly after each transaction has been processed. At the end of each month, you’ll be billed for your Payhip fees using your preferred credit card.

What will my customers see at checkouts?

Once your Midtrans account is connected to Payhip, customers visiting your storefront will be redirected to Midtrans’ interface at checkout where they can select their preferred payment methods. They do not need to have a Midtrans account to purchase, they can make payments with any payment method of their choice (debit card, credit card, bank transfer, e-wallet, etc).
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.