After upgrading to SellerDeck 2014, WorldPay was not redirecting back to the correct Receipt page after a successful payment.
As described here, the WorldPay variable <wpdisplay item=CACTCAT_ReceiptPage> provides the return link, in the form which worked pre-SD2014:
SD2014 does generate a Customer Receipt email OK using this URL, but doesn't display the Receipt page - the error message is attached.
SOLVED - this was a simple case of improper case... For the return URL to work in SD2014, the FINISH value must be changed from upper case to proper case Finish - this can be hardcoded into WorldPay's ResultY.html in place of <wpdisplay item=CACTCAT_ReceiptPage> in this form:
This omits the ORDERNUMBER and REFPAGE keys and values. xxx should be replaced with your own script number (usually 001).
Or WorldPay could be consulted to update their value for <wpdisplay item=CACTCAT_ReceiptPage>
As described here, the WorldPay variable <wpdisplay item=CACTCAT_ReceiptPage> provides the return link, in the form which worked pre-SD2014:
Code:
http://www.domain.com/cgi-bin/os000xxx.pl?SEQUENCE=3&ACTION=FINISH&ORDERNUMBER=xxx&REFPAGE=xxx
SOLVED - this was a simple case of improper case... For the return URL to work in SD2014, the FINISH value must be changed from upper case to proper case Finish - this can be hardcoded into WorldPay's ResultY.html in place of <wpdisplay item=CACTCAT_ReceiptPage> in this form:
Code:
http://www.domain.com/cgi-bin/os000xxx.pl?SEQUENCE=3&ACTION=Finish
Or WorldPay could be consulted to update their value for <wpdisplay item=CACTCAT_ReceiptPage>