Midtrans' notification features

Midtrans has 2 types of notifications that are used to send information to you as a merchant or customer merchant, namely email notification and HTTP notification.

Email Notification

Midtrans will automatically send a notification in the form of an email containing information regarding the payment method, VA number, order ID, and also payment status.

You can activate the Email Notification feature on your Midtrans dashboard.

  • To send notifications to merchants, you can activate it in the Settings menu - Email Notification - (tick) Send email to me - Save.
  • To send notifications to customers, you can activate it in the Settings menu - Email Notification - (tick) Send email to customer - Save.

🚧

Notes 📝

The email template cannot be changed.

Example the email notification

***

Example the email notification


HTTP Notification

Midtrans also sends notifications via HTTP format to the merchant's backend, where the merchant can use the notification to update transaction status on the merchant's database side or for other internal purposes.

To set the page URL that customers will see after completing a transaction, you can do it via the Settings - Payment - Finish Redirect URL.

Please ensure the following when setting the Payment Notification URL:

  1. Please do not use unusual ports in your notification URL endpoint (e.g: do not use https://tokoecomm.com:**20070**/notification), Midtrans notification service cannot send notifications to unusual ports.
  2. The URL you use can receive HTTP notifications that Midtrans sends and not be redirected to another URL when accessed.
  3. Do not use the IP Address format. (For example, don't use https://172.168.111.111/notification).
    You can do HTTP notification settings via the Settings - Payment - Notification URL menu.

Please ensure the following when setting the Notification URL:

  1. Please do not use unusual ports in your notification URL endpoint (e.g: do not use https://tokoecomm.com:**20070**/notification), Midtrans notification service cannot send notifications to unusual ports.
  2. The URL you use can receive HTTP notifications that Midtrans sends and not be redirected to another URL when accessed.
  3. Do not use the IP Address format. (For example, don't use https://172.168.111.111/notification).
  4. If you use an IP Whitelist to communicate with Midtrans API, please whitelist the Midtrans domain and IP address at this link ↗.
  5. If you use certain plugins, please adjust the payment notification URL settings for each plugin you use here ↗.

You can see an example of the JSON sent for each payment method at this link ↗.