Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

I am using the worldpay module (version 1.5). I was testing it and found that if I clicked confirm order and got to the world pay page and then entered the catalog/checkout_process.php address then the order was submittted without having to go through the payment process. Is there any way of preventing this?

Link to comment
Share on other sites

Good point - this probebly would happen if you have cookies enabled - ummm :huh:


The chances are that if don't use os you prob wouldn't know what the next page is - but still is a point that should possibly be looked into?


Also, I get sent an email from worldpay at the same time I get sent an email from checkout_process.php (with send additional emails to *me* set up) - If I didn't get a worldpay email i would probebly think it was a bit suss and check it out.


If you feel that you would like to do something about it there are a couple of ways you could possibly check it. Since you have left the site, im not sure if the $navigation->path variable would work (may do?). but you should be able to use something along the lines of

if(getenv('HTTP_REFERER') == 'wpcallback.php'){
#--> process
} else{
#--> dont process


Hope this helps a bit :D



Edited by Nimmit
Link to comment
Share on other sites

it should be the same refferer every time ? it has probebly got variables on the end though this should work

if(eregi('^wpcallback.php', getenv('HTTP_REFERER'))
The variable thing should work anyway.


Edited by Nimmit
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.

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...