Shopping Cart Software

Shopping Cart Software ClickCartPro XCS Version
corner image corner image

Callback Failure WorldPay

Callback Failure WorldPay

Postby Newalan » 22 Aug 2010 07:09

Hi,

My callback response is failing from WorldPay. The feature was tested in test Mode and worked fine, but doesn't work on live system.

I am getting payment transaction info from WorldPay but no order are coming through to my PC. I have to login to admin to retrieve the order manually.

The callback URL in the old Clickcart was:

http://www.mydomain.co.uk/ccp51/cgi-bin/cp-app.cgi

The XCS WIKI instructions suggests to use <WPDISPLAY ITEM=MC_callback>

Is this correct?

I have looked for the answers at WorldPay and they suggest as follows:

Please also check the way that your script handles the incoming data is not affected by the following two parameters, the callback specifies content-type in two places:
- the "charset" attribute on the Content-Type header
- the "charenc" parameter in the body of the callback itself

You should also ensure that your server can correctly handle the content-type stated in the callback, such as, ISO language codes.



Any help to understand what they mean and what i should do, will be appreciated.

Alan
Newalan
 
Posts: 83
Joined: 16 Jul 2010 17:02

Re: Callback Failure WorldPay

Postby GreenbarnWeb » 23 Aug 2010 09:07

Hi Alan,
The XCS WIKI instructions suggests to use <WPDISPLAY ITEM=MC_callback>

Is this correct?

Yes that is correct, if you set it up as the wiki instructs ie the same as the test website then it will work.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Re: Callback Failure WorldPay

Postby Newalan » 23 Aug 2010 09:13

Yes that is correct, if you set it up as the wiki instructs ie the same as the test website then it will work.


The strange thing is that it works fine in Test but not in live, when set to live the order transaction details are coming trhough and the payments are indeed collected but no callback on orders.

Alan
Newalan
 
Posts: 83
Joined: 16 Jul 2010 17:02

Re: Callback Failure WorldPay

Postby GreenbarnWeb » 23 Aug 2010 11:04

Hi Alan,

In the live account make sure you have done:
Then check the boxes next to "Payment Response enabled?", "Enable the Shopper Response" and "Enable Recurring Payment Response ?", select ClickCart Pro as your Store-Builder used. Click the "Save Changes" button.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Re: Callback Failure WorldPay

Postby Newalan » 23 Aug 2010 12:22

GreenbarnWeb wrote:Hi Alan,

In the live account make sure you have done:
Then check the boxes next to "Payment Response enabled?", "Enable the Shopper Response" and "Enable Recurring Payment Response ?", select ClickCart Pro as your Store-Builder used. Click the "Save Changes" button.



All of the above has been carried out as you can see from the Screen-grab image below. Install ID and Admin Code blanked out for security)

Image
Newalan
 
Posts: 83
Joined: 16 Jul 2010 17:02

Re: Callback Failure WorldPay

Postby GreenbarnWeb » 23 Aug 2010 13:07

Hi Alan,
I have just tested your website and the correct information is being sent to the WorldPay page. If you click the cancel on WorldPay then it takes you back to the correct place.
If this is still not working you need to contact WorldPay to see if they are having a problem with returning to the ClickCartPro page.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Re: Callback Failure WorldPay

Postby Newalan » 23 Aug 2010 13:14

Ok I will speak to them and see where the problem lies.

Alan
Newalan
 
Posts: 83
Joined: 16 Jul 2010 17:02

Re: Callback Failure WorldPay

Postby Newalan » 26 Aug 2010 12:19

Hi,

I have spent a fair amount of time with WorldPay Technical services and told them about the problem. They investigated their end and have come to conclusion that the Problem is most likely with XCS script.

I asked how they came to this conclusion and their answer was "Are you getting callback failure notification?" which I am not.

Therefore according to WorldPay if their system is not generating callback failure alert then the call back did not fail at their end. It is very likely that the problem lies with XCS script not passing the order details to me.

Another thing they pointed out was that the callback reference works fine in Test mode so the script that deals with the live transaction concerning the callback response in XCS script is a suspect.

I wanted to buy a couple of more carts but until this is sorted out I am not able to move forward. Also certain links regarding WorldPay in the WIKI instructions are incorrect which I pointed but I notice they have not changed either.

I am using a skin and have had some minor problems with other things I am wondering if the problem is in anyway connected with using a skin?

Alan
Newalan
 
Posts: 83
Joined: 16 Jul 2010 17:02

Re: Callback Failure WorldPay

Postby GreenbarnWeb » 26 Aug 2010 15:04

Hi Alan,
Therefore according to WorldPay if their system is not generating callback failure alert then the call back did not fail at their end. It is very likely that the problem lies with XCS script not passing the order details to me.

Another thing they pointed out was that the callback reference works fine in Test mode so the script that deals with the live transaction concerning the callback response in XCS script is a suspect.


You need to point out to WorldPay, that the callback reference for the Test mode is the same as the live mode. So it uses the same code.
If you email me all the info I need (ftp info, ClickCartPro admin and worldpay login) I will have a quick look at this.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Re: Callback Failure WorldPay

Postby GreenbarnWeb » 26 Aug 2010 16:12

Hi Alan,
I can see from the WorldPay and the CCP Admin the Worldpay interface is working.
The problem is that when you come back from WorldPay it is done under a secure webpage, as some parts of your skin does not support that the page is not formatted correctly.
These are the problem parts of the skin:
Code: Select all
&nbsp;
 
<a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
 
&nbsp;
 
 <a href="http://jigsaw.w3.org/css-validator/check/referer">
        <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss"
            alt="Valid CSS!" /></a>
         
&nbsp;
 
<a href="http://jigsaw.w3.org/css-validator/check/referer">
    <img style="border:0;width:88px;height:31px"
        src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
        alt="Valid CSS!" /></a>
 

Code: Select all
<!--
document.writeln(" <center><TABLE CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"468\" BORDER=\"0\"> ");
document.writeln(" <TR><TD><IFRAME SRC=\"http://www.ukbanners.com/cgi/banners.cgi?i=1;account=B108753;page=1\" WIDTH=\"468\" HEIGHT=\"60\" FRAMEBORDER=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" SCROLLING=\"NO\"></IFRAME></TD></TR> ");
document.writeln(" <TR><TD><A HREF=\"http://www.ukbanners.com\" TARGET=\"_parent\"> ");
document.writeln(" <IMG SRC=\"http://www.ukbanners.com/ukbannersbar.gif\" ALT=\"website promotion\" WIDTH=468 HEIGHT=14 BORDER=0></A></TD></TR> ");
document.writeln(" </TABLE></center> ");
 // -->
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Next

Return to Payment Gateway Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron
corner image
Valid XHTML   Valid CSS   w3c wai aa
GreenbarnWeb.com © 2001 - 2013
corner image