Please help I am still in the dark about what is happening to my site in regards to the callback response from Worldpay. Let me start at the beginning, I have installed the latest version of Zen-Cart, and the latest WP Module. I have followed the instructions exactly i.e. installed all the bits where they need to be and set the callback to http://<wpdisplay item=MC_callback>, along with callback enabled and callback response both been ticked.
The first point is my shop is still in test mode and needs to be until the shop is working this isn’t a problem! The problem is When I go through to a payment page and enter the test details (or actual details) and press the make payment my shop records I cancellation, not a payment accepted!
E.g.
... your payment has been cancelled!
Response from Worldpay:
This is a TEST TRANSACTION. No money has changed hands
Your payment has been cancelled. Please contact us for alternative methods of payment. If you have experienced any problems with your payment please contact Worldpay immediately.
Our ref:
To try and narrow the problem down I opened the tpl_wpcallback_default.php
shop/includes/templates/template_default/templates/tpl_wpcallback_default.php
and changed the transStatus from
if($transStatus == "Y")
to
if($transStatus == "")
and then ran another test payment.
This worked I a way, the payment was accepted, and an order in zen-card was created!
e.g.
Thank You! We Appreciate your Business!
Response from WorldPay:
This is a TEST TRANSACTION. No money has changed hands
Please check your contact details. If there are any errors please contact us immediately.
Tel:
Email:
Your payment details are detailed below. If you have experienced any problems with your payment please contact WorldPay immediately.
has been debited from your card.
Our ref:
Your WorldPay Transaction ID is
You will find WorldPay contact information here
Your Order Number is: 10
What this has shown me is that not only is the transStatus not been received or sent, but neither is the amount, the transaction ID, Our ref, or the Worldpay banner that should appear. I have put the transStatus back to if($transStatus == "Y") now, and my shop is still in test mode
Does anyone have any idea why my shop isn’t seeing the Worldpay response?
is it sending it to a different place than where the shop is looking?
If any one needs any settings I’m using or anything please ask!
My shop URL is http://www.surewin.co.uk/shop
P.S. I have also tried installing a new shop with out any modifications and I still get the same problem! And my shop is NOT in maintenance mode!