Docs

Payments Articles & FAQ

event, payment, succeeded

How to differentiate payment succeeded events for offline payment from that for online payment?

There is no separate event to identify offline payments against an invoice. You can make use of the

41075087

2023-08-09T15:26:01Z

2023-08-09T15:26:01Z

63

0

0

260438

How to differentiate payment succeeded events for offline payment from that for online payment?

How to differentiate payment succeeded events for offline payment from that for online payment? 

Scope 

How to differentiate payment succeeded events for offline payment from that for an online payment?
Is there an event for a successful offline payment?

Solution
There is no separate event to identify offline payments against an invoice. You can make use of the “Payment Succeeded” event for this and identify if the payment was offline by making use of the “payment method” and “Gateway” parameters in the event content.

The value for the Gateway parameter is “not applicable” and that for the payment method parameter is the offline payment method chosen to record payment (like cash, bank transfer, check, Others, etc)

Was this article helpful?
Loading…