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, orderID, and also the 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.

Note: the email template cannot be changed.

mceclip0.png

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.

You can do HTTP notification settings via the Settings - Configuration - Payment Notification URL menu.

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. (example, don't use https://172.168.111.111/notification).
  4. If you use IP Whitelist to communicate with Midtrans API, please whitelist Midtrans domain and IP address on the [following] 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 in the [following] link.

Was this article helpful?
0 out of 0 found this helpful
Can't find your answer? How about looking at our Tech Docs?

Tech docs

Our API and plug-ins play well with platforms from PHP, Shopify, Woo Commerce to Android and many more.

Learn more