Announcement

Collapse
No announcement yet.

Receipt not appearing after successful WorldPay payment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Receipt not appearing after successful WorldPay payment

    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:

    Code:
    http://www.domain.com/cgi-bin/os000xxx.pl?SEQUENCE=3&ACTION=FINISH&ORDERNUMBER=xxx&REFPAGE=xxx
    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:

    Code:
    http://www.domain.com/cgi-bin/os000xxx.pl?SEQUENCE=3&ACTION=Finish
    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>
    Attached Files
    Last edited by musicscotland; 07-May-2015, 04:38 PM. Reason: Solved issue
    Kenny Fraser
    http://kennyfraser.com
Working...
X