Examples of Payment Notifications data

The following examples show the data that is passed to your system by  Payment Notifications (Callbacks) for different types of transaction.

Agreement completed

Plain auth response received for installation 52793
AVS=2410
address=Susan's New Shopper Contact Details
amount=15.00
amountString=£15.00
authAmount=15.0
authAmountString=£15.00
authCurrency=GBP
authMode=A
cardType=Mastercard
cartId=Regular Payment Notifications LIVE
charenc -> ISO-8859-1
compName=SBTest6
country=AD
countryMatch=0
countryString=Andorra
currency=GBP
desc=for example "Payment 3 of FuturePay agreement ID 193743" - this is passed from your product order Page through to the Worldpay system with the purchase information.
email=clare@fantastic
fax=11111
futurePayId=193762
instId=52793
installation=52793
msgType=authResult
name=
postcode=cb1 3pt
rawAuthCode=A
rawAuthMessage=Authorised
_SP.charEnc -> ISO-8859-1
tel=111111
testMode=0
transId=21172954
transStatus=Y
transTime=1028815409000

 

The fourth digit of the AVS is valid for immediate payments only, not subsequent payments.

Payment declined

Plain auth response received for installation 52793
AVS=2410
address=1 Main Street
amount=10.00
amountString=£10.00
authAmount=10.0
authAmountString=£10.00
authCurrency=GBP
authMode=A
cardType=Mastercard
cartId=Regular FuturePay Payment Notifications LIVE
charenc -> ISO-8859-1
compName=SBTest6
country=GB
countryMatch=0
countryString=United Kingdom
currency=GBP
desc=for example "Payment 3 of FuturePay agreement ID 193743" - this is passed from your product order Page through to the Worldpay system with the purchase information.   
email=susan@fantasticbuinsess.com
fax=01223
futurePayId=193743
instId=52793
installation=52793
msgType=authResult
name=Cardholder Name
postcode=CB1 1HT
rawAuthCode=D
rawAuthMessage=Declined
_SP.charEnc -> ISO-8859-1
tel=01223
testMode=0
transId=21167440
transStatus=N
transTime=1028734490000

Cancellation of an agreement by you

Plain auth response received for installation 99999
futurePayId=193721
futurePayStatusChange=Merchant Cancelled
instId=99999
installation=99999
msgType=authResult

Cancellation of an agreement by your shopper

Plain auth response received for installation 99999
futurePayId=193744
futurePayStatusChange=Customer Cancelled
instId=99999
installation=99999
msgType=authResult

Authorised payment made within a FuturePay agreement

POST /fail?installation=XXXXXX&msgType=authResult HTTP/1.0Content-Type: application/x-www-form-urlencoded; charset=UTF-8Host: www.website.co.ukContent-Length: 800User-Agent: WJHRO/1.0 (Worldpay Java HTTP Request Object)region=&authAmountString=%26%23163%3B59.99&_SP.charEnc=UTF-8&desc=
Payment+X+of+FuturePay+agreement+ID+XXXXXXX&tel=0770+XXX+XXXX&address1=&countryMatch=S&cartId=CartId&address2=&address3=
&lang=en&callbackPW=&rawAuthCode=A&amountString=%26%23163%3B59.99&transStatus=Y&authCost=59.99&currency=GBP&installation=
XXXXXX&amount=59.99&countryString=United+Kingdom&displayAddress=20+Test+Road&name=Mr+Smith&testMode=0&transTime=
1343438417376&routeKey=ECMC-SSL&ipAddress=&fax=&rawAuthMessage=cardbe.msg.authorised&instId=XXXXXX&AVS=0111&compName=
Company+Ltd&futurePayId=XXXXXXX&authAmount=59.99&postcode=XXXXXX&cardType=MasterCard&cost=59.99&authCurrency=
GBP&country=GB&charenc=UTF-8&email=mail%40test.com&address=20+Test+Road&transId=XXXXXX&msgType=authResult&town=&authMode=A

For an authorised payment made within a FuturePay agreement, the desc parameter includes the following: