WorldPay Submission Error

Author Message
 Posted 24 September 2010 09:14
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
Hello again,

I've been trying to integrate a shop with WorldPay and been getting a bit stuck. I've been getting an error message from WorldPay when the transaction is submitted:


The information sent from the merchant's site is invalid or incomplete. Please send the following information to the merchant:

The transaction cannot be processed due to one or more of the following:

    * the installation ID field is blank or contains invalid characters
    * a different submission protocol is required. For instance, a more secure submission may be required
    * the installation number is invalid


The only thing I've noticed that could account for the error is that the names of the input elements on the form sending the transaction are all lowercase, when all of WorldPay's documentation uses capital letters. For example 'instid' on Kartris' form is 'instId' in WorldPay's instructions. It could mean WorldPay's systems aren't finding the relevant fields when the form is posted (thus a message saying the installation ID is invalid or blank).

I'm not sure if this is really making a difference, but it's all I can see at the moment.


Thanks as always,
Mike
Post #116
Add to Twitter Add to Facebook
 Posted 28 September 2010 09:55
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
Hi Medz,
I've tried out the two .dlls and those have got me past the error message! WorldPay is now processing the test transactions - so my next question regards getting the order information back into the shop.

Is it still the same page for the payment response as before with PayPal (CheckoutComplete.aspx)? The payment process seems to get to WorldPay's thankyou page and then stall (i.e. just sit there and not do anything, with no further options presented to the shopper), so I assume it should be redirecting. No order information is getting returned to Kartris.

Thanks as always,
Mike
Post #118
Add to Twitter Add to Facebook
 Posted 28 September 2010 11:46
Kartris Expert

Kartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris Expert

Group: Administrators
Last Login: 15 May 2012 06:29
Posts: 51, Visits: 1,160
In your Worldpay configuration page (on worldpay.com), you need to specify the worldpay_callback link back to your site. You also need to tick the "callback enabled" and "callback response" checkboxes. Once done, Kartris should then be able to automatically catch and recognise completed orders.

callback url format->  http://www.yourkartrissite.com/callback.aspx?g=rbsworldpay
Post #119
Add to Twitter Add to Facebook
 Posted 28 September 2010 12:41
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
OK I've tried the callback url as specified - I take it when you say 'worldpay_callback' you actually mean the 'Payment Response URL' setting. No luck so far it seems - nothing has come through to the Orders page in the shop admin (after having put some more test transactions through). I'll keep trying though - anything else I could be looking for?

Cheers (I really appreciate your quick response on this),
Mike
Post #120
Add to Twitter Add to Facebook
 Posted 28 September 2010 13:31
Kartris Expert

Kartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris Expert

Group: Administrators
Last Login: 15 May 2012 06:29
Posts: 51, Visits: 1,160
Hi Mike, can you check your Kartris error logs and see if something is coming up there?

Backend -> Configuration -> Database Admin -> Error Logs

Sorry about the incorrect field names. Those came from an outdated manual!

Payment Response URL -> http://www.yourkartrissite.com/callback.aspx?g=rbsworldpay

Payment Response enabled? -> check

Enable the Shopper Response -> check

Also, it might be worth setting the 'Payment Response failure email address' field to your email address so that you'll receive an email whenever a callback failure occurs.


Tags:
Post #121
Add to Twitter Add to Facebook
 Posted 28 September 2010 17:23
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
Hi Medz,

The settings all seem to be OK - except I've now changed it so I'm receiving the Payment Response Failure emails, which has thrown up something interesting.

The email is quite specific about the error:

Error reported: Callback to http://-----------------/callback.aspx?g=rbsworldpay:NOT OK, recevied HTTP status: 302

From what I can tell, status 302 involves redirection - perhaps this is a response from Kartris to attempt to redirect the user back to the front page of the shop? I vaguely remember somewhere in WorldPay's instructions it saying that it doesn't like it when sites start trying to redirect people around (probably because of the fraud potential in it). Perhaps all that might be needed would be to disable that feature when dealing with WorldPay callbacks? Something to try at least.

Cheers,
Mike


Post #122
Add to Twitter Add to Facebook
 Posted 29 September 2010 17:35
Big Cheese

Big CheeseBig CheeseBig CheeseBig CheeseBig CheeseBig CheeseBig CheeseBig CheeseBig Cheese

Group: Administrators
Last Login: 16 May 2012 15:12
Posts: 185, Visits: 826
If you switch the Worldpay config settings to 'fake' mode, this should simulate a worldpay callback. It's a form of test mode built into most payment gateway support on kartris. Basically what happens is that at the point you'd normally be sent to Worldpay, kartris instead formats a page containing the data that Worldpay would normally post back to the callback, and then allows you to submit this.

If you do this, what happens? Does the callback.aspx page redirect you, or does it display some message?


Tags:
Post #125
Add to Twitter Add to Facebook
 Posted 30 September 2010 09:45
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
I've tried this, when it submits I'm redirected to a page with all the order details, titled 'Your transaction was successful.' I'm guessing this is what was originally meant to be seen!
Post #128
Add to Twitter Add to Facebook
 Posted 04 October 2010 10:17
Kartris Expert

Kartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris ExpertKartris Expert

Group: Administrators
Last Login: 15 May 2012 06:29
Posts: 51, Visits: 1,160
Hi Mike, can you confirm that you're not getting anything in the error logs on the Kartris backend? I suspect that the callback page is hitting an error and is trying to redirect to error.htm thus the 302 status.

Post #133
Add to Twitter Add to Facebook
 Posted 04 October 2010 10:45
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Awaiting Activation
Last Login: 15 November 2011 16:51
Posts: 14, Visits: 209
I've had another look, and there are definitely no error messages coming up in the logs. All there is, is the 'Successful Callback Log' ones generated when I checked it out with WorldPay in 'fake' mode last week.

Cheers,
Mike
Post #134
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse