Authorised

This is an example of the XML code for an order notification when the order status is AUTHORISED.

 

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="CGFELICIAM2">
    <notify>
        <orderStatusEvent orderCode="jsxml3544346896">
            <payment>
                <paymentMethod>PAYPAL-SSL</paymentMethod>
                <amount value="101" currencyCode="USD" exponent="2" debitCreditIndicator="credit"/>
                <lastEvent>WAITING_FOR_SHOPPER</lastEvent>
                <balance accountType="IN_PROCESS_AUTHORISED">
                    <amount value="101" currencyCode="USD" exponent="2" debitCreditIndicator="credit"/>
                </balance>
            </payment>
            <paymentAdditionalDetails>
                <firstName>Lee</firstName>
                <lastName>Theobald</lastName>
                <shippingAddressDetails>
                    <name>Lee  Theobald</name>
                    <street>Worldpay Ltd270 Science Park, </street>
                    <postalCode>CB4 0WE</postalCode>
                    <city>Cambridge</city>
                    <state>Cambridgeshire</state>
                    <countryCode>GB</countryCode>
                </shippingAddressDetails>
            </paymentAdditionalDetails>
            <billingAddressDetails>
                <name>John  Doe</name>
                <street>25 Pieces Terrace, </street>
                <postalCode>CB25 9NE</postalCode>
                <city>Waterbeach</city>
                <state>Cambridgeshire</state>
                <countryCode>GB</countryCode>
            </billingAddressDetails>
            <journal journalType="AUTHORISED">
                <bookingDate>
                    <date dayOfMonth="22" month="11" year="2023"/>
                </bookingDate>
                <accountTx accountType="IN_PROCESS_AUTHORISED">
                <amount value="101" currencyCode="USD" exponent="2" debitCreditIndicator="credit"/>
                </accountTx>
            </journal>
        </orderStatusEvent>
    </notify>
</paymentService>