• Resolved Mike Bennett

    (@mike-bennett)


    I am using Business WorldPay Gateway for Woocommerce to handle our payments through Worldpay and everything works fine until we get to the Payment Response.

    I have followed the instructions for the settings in Wordlpay including “Copy: <wpdisplay item=CM_payment_response_url> in the “Payment Response URL” field.”, this caused Wordlpay to issue a failure alert with the message

    Error reported: Callback to http://www.xxxxx.com/wc-api/MDS_Worldpay_Gateway/: NOT OK, recevied HTTP status: 500

    Where does Worldpay get the wc-api/MDS_Worldpay_Gateway part of the address, there is no wc-api directory on my site.

    The payments taken are for membership to our club and I am trying to set the system up to automatically complete the order when Worldpay reports that the payment has been taken.

    Is there PHP code within the plugin to do this or do I have to create my own?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author mdsilviu

    (@mdsilviu)

    You don’t have to do anything excepting setting the plugin as you see in the documentation, the endpoints are created by woocommerce and they are not folders, an endpoint doesn’t mean a folder on your server.
    You get that error because your urls are not available so worldpay can post the data to them. You are on a localhost or you have a coming soon plugin activated that blocks your urls or you have a security plugin that blocks access.

    Thread Starter Mike Bennett

    (@mike-bennett)

    Thanks for your quick response.

    The first two causes don’t apply but I am using Clean Talk to filter out spam, I have just added a whitelist for worldpay.com.

    I have the same issue but Worldpay hangs after payment.

    I have followed the instructions for the settings in Worldpay including “Copy: <wpdisplay item=CM_payment_response_url> in the “Payment Response URL” field.”,

    I added <wpdisplay item=CM_payment_response_url> to the field as per instructions but
    Worldpay say that is not correct.
    I get left with a blank page.
    Please help.
    thanks
    Jenny

    Think I have fixed it. WorldPay gave me some wrong information. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Handle payment response’ is closed to new replies.