Cancelled
This is an example of the XML code for an order notification when the order status is CANCELLED.
Copy
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN""http://dtd.wp.fte92.test.worldpay.com/dtd/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="MERCHANT_CODE">
<notify>
<orderStatusEvent orderCode="jsxml323089623">
<payment>
<paymentMethod>PAYPAL-SSL</paymentMethod>
<amount value="101" currencyCode="EUR" exponent="2" debitCreditIndicator="credit"/>
<lastEvent>CANCELLED</lastEvent>
</payment>
<journal journalType="CANCELLED">
<bookingDate>
<date dayOfMonth="10" month="08" year="2022"/>
</bookingDate>
<accountTx accountType="IN_PROCESS_AUTHORISED" batchId="10">
<amount value="101" currencyCode="EUR" exponent="2" debitCreditIndicator="debit"/>
</accountTx>
</journal>
</orderStatusEvent>
</notify>
</paymentService>