Invoice Cancellation - PosiPay
In the Gateway Invoice, there is a function where you can cancel an open invoice. A Gateway Invoice record that has invoice status of open can process a cancellation and when you click the Cancel Invoice button a message will pop up confirming the process is successfully cancelled.
If the Gateway Invoice status is not open, then you cannot process a cancellation, and a message will pop up when you click the Cancel Invoice button.
Once the cancellation succeeded the Gateway Invoice where:
Invoice Status = Void
Canceled Date = Canceled Date from the parsed payload
Other fields are populated based on the parsed payload
The Gateway Transaction record that links to the Gateway Invoice record is updated where:
Transaction Status = Canceled
Canceled Date = Canceled Date from the parsed payload
Other fields are populated based on the parsed payload.