Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Worldpay V3c


Guest

Recommended Posts

Then the last thing you can try is to replace the url for WP in the form post with a 'mailto:[email protected]' so that instead of posting to WP you get an email back with the results of the post. This looks like a virus to your system.....

 

Then you can check the variables being sent to WP see if you can spot what is missing or wrong. In particular, check the 'MC_' variables make sense.

Ian-san

Flawlessnet

Link to comment
Share on other sites

Looking at the emailed form, it seems to be pointing to the correct files.

 

-----------

 

MC_successURL=http%3A%2F%2Fwww.amberstudio.com%2Fcatalog%2Fcheckout_process.php%3FosCsid%3Db0f479b8b12236ff88a741951fcd8c7b%26

 

shipping_selected%3Dzones%26shipping_cost%3D0%26shipping_method%3DNo%2Bshipping%2Bavailable%2Bto%2Bthe%2Bselected%2Bcountry&

 

MC_failURL=http%3A%2F%2Fwww.amberstudio.com%2Fcatalog%2Fcheckout_payment.php%3FosCsid%3Db0f479b8b12236ff88a741951fcd8c7b%26shipping_selected%3Dzones&x=100&y=10

------------

Link to comment
Share on other sites

Yes - it all looks fine.

 

I remember that WP made some changes recently, try putting this code into the callback url in your WP admin:

 

http://<wpdisplay item="MC_callback">

 

and turning callback back on??

 

I dont know why it should work but it is worth a try!

Ian-san

Flawlessnet

Link to comment
Share on other sites

I guess that is the problem! The substitution in the C / Y files is not being done.

 

I think the next step is to ask WP why you do not have a Callback option available to you?

Ian-san

Flawlessnet

Link to comment
Share on other sites

Ian

 

I have done what you suggest and contacted worldpay about callback.

 

I don't understand how it works in terms of how do i enable it when they give it to me ?

 

Will there be more fields available on the wp mod I have now, or do I have to download another wp mod with the added callback feature

Link to comment
Share on other sites

This is how mine looks:

 

Under configuration options in WP, you should see some extra form entry fields:

 

Fill in the Callback url with http://<wpdisplay item="MC_callback">

Do NOT check the box: Callback enabled?

 

I also have this box checked as well: Use callback response?

 

Probably it is not used as the Callback enabled box is not checked but you can never tell with WP. Also, you would think that the Callback url would not be used if callback is not enabled but again, you cannot be certain. My belief is that it passes the variables to the C / Y files as callback is not enabled.

 

Sorry there is some confusion in these posts but that seems to be the nature of using WP - nothing is very clear.

 

I dont know if this will solve your problem but it is one more step done ...

Ian-san

Flawlessnet

Link to comment
Share on other sites

Hi,

 

It finally clicked where the callback feature is, tried it and still it's not working.

 

I tried it with 'Use callback response?' only and no joy, but it did not log a callback failure or failure count, so I'm not sure what it does.

 

I tried it with 'Callback enabled?' as well, (what the hell!) still nothing but noticed back in WP admin that callback had been suspended and there was a callback failure count for every time I tried it.

 

WP responded back by attaching 'worldpayv3a.zip' to an email and asking me to try it! So I did, no joy.

 

Getting close... I can feel it!

 

Any ideas,

 

Penge

Link to comment
Share on other sites

Looking at line 71 and 72 of includes/modules/worldpay.php

 

tep_draw_hidden_field('MC_successURL', tep_href_link(FILENAME_CHECKOUT_PROCESS, $worldpay_success, 'SSL')) .

 

 

tep_draw_hidden_field('MC_failURL', tep_href_link(FILENAME_CHECKOUT_PAYMENT, $worldpay_fail, 'SSL'));

 

 

do I need SSL configured on my server to get callback working?

Link to comment
Share on other sites

This is what WP says

 

--------

I have checked your cart, the problem is being caused by the fact that your website (i.e OSCOMMERCE) is not passing through to WorldPay an MC_callback variable with a value of the callback URL.

 

It is however passing through an "MC_successURL" and "MC_failURL" variable. I suspect that if you set the callback URL within the Customer Management System to http://<WPDISPLAY ITEM=MC_successURL> the callback would work.

 

However, this would open up the problem, that is the shopper pressed the

cancel button on the payment page, this URL would be called (rather than

the "MC_failURL") and mark the order as paid/completed within the shopping cart, even though this is not the case.

--------

 

I have tried the new callback url - still no luck

 

Don't know what to do now

 

Penge

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...