Payment Notify

Payment Notify enables your system to react to real-time payment events such as when a payment is being processed, successfully paid, or canceled.

Create a Callback endpoint

Before handling payment events, you must register the endpoint in the Dashboard so that we can notify you.

Follow these steps:

  1. Log in to your Dashboard

  2. Navigate to Settings > Choose Developer Setting

  3. Go to Callbacks, then register your Payment Callback URLs

  4. Return only HTTP Response 200 for registering the Callback URLs

Create a payment event handler

You need to create a handler in your server to receive and process incoming payment event notifications. There are four key event types you need to handle:

Event Name
Description
Action

PAYMENT.PROCESSING

The Payment has been initiated and is currently in progress

Update the transaction status in your system to "Processing" or "Pending Payment."

PAYMENT.PAID

The payment was successfully completed

Fulfill the order, update the transaction status to "Paid", and notify the customer if needed

PAYMENT.CANCELLED

The payment has been cancelled, either by the Customer, system timeout, or manual intervention

Update the transaction status to "Cancelled" or "Failed" and inform the customer if needed

CHARGE.SUCCESS

Charge was successfully completed in Multiple Payment Type

Fulfill the order, update the transaction status to "Paid", and notify the customer if needed

Last updated