forked from alphagov/pay-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notification.xml
36 lines (36 loc) · 1.9 KB
/
notification.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE paymentService PUBLIC "-//WorldPay//DTD WorldPay PaymentService v1//EN"
"http://dtd.worldpay.com/paymentService_v1.dtd">
<paymentService version="1.4" merchantCode="MERCHANTCODE">
<notify>
<orderStatusEvent orderCode="{{transactionId}}">
<payment>
<paymentMethod>VISA-SSL</paymentMethod>
<paymentMethodDetail>
<card type="creditcard"/>
</paymentMethodDetail>
<amount value="5000" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
<lastEvent>{{status}}</lastEvent>
<CVCResultCode description="NOT SENT TO ACQUIRER"/>
<AVSResultCode description="NOT SENT TO ACQUIRER"/>
<cardHolderName><![CDATA[J. Shopper]]></cardHolderName>
<issuerCountryCode>N/A</issuerCountryCode>
<balance accountType="IN_PROCESS_CAPTURED">
<amount value="5000" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
</balance>
<riskScore value="66"/>
</payment>
<journal journalType="{{status}}">
<bookingDate>
<date dayOfMonth="{{bookingDateDay}}" month="{{bookingDateMonth}}" year="{{bookingDateYear}}"/>
</bookingDate>
<accountTx accountType="IN_PROCESS_AUTHORISED" batchId="23">
<amount value="5000" currencyCode="GBP" exponent="2" debitCreditIndicator="debit"/>
</accountTx>
<accountTx accountType="IN_PROCESS_CAPTURED" batchId="25">
<amount value="5000" currencyCode="GBP" exponent="2" debitCreditIndicator="credit"/>
</accountTx>
<journalReference type="capture" reference="{{refund-ref}}"/>
</journal>
</orderStatusEvent>
</notify>
</paymentService>