Re: WorldPay Module for ZenCartv1.3x
I have solved the problem with the page only half loading by updating to the PHP5 Beta worldpay code.
Now I have another problem! I can checkout and process the card - I have tried this using my own credit card on a live environment. Worldpay process the card just fine (I can see it in my Worldpay transaction list on the worldpay site).
However, Zen Cart doesn't create the order - IE: There are no orders on the system and if I log back in again as a customer the products are still showing in my shopping cart.
Any help please please please :)
Re: WorldPay Module for ZenCartv1.3x
Can you give me any advise on how to download this module into my zen cart ?
Regards,
Keith
Re: WorldPay Module for ZenCartv1.3x
Just an update : I thought it might be a session issue (as observed earlier in the thread) so I asked the following question to my hosting provider :
Do you maintain sessions? The reason I ask is that I am trying to set up my Zen Cart store to use Worldpay. The Worldpay callback is not working and it would appear to be due to the session being lost.
The answer I have received back is as follows :
Due to the clustered structure of our systems there is no single log file or session for you to use as your site is served by many servers.
Would that indicate what my problem is ?
EDIT: Forgot to mention - WOrldpay is emailling the following error code to me :
Error reported: Callback to
http://myurl.co.uk/shop/index.php?main_page=wp_callback: NOT OK, recevied HTTP
status: 302
Server Reference: mg1imspsp3:callbackFailureEmail-168796:MerchReq-850
(where myurl is my shops url)
Re: WorldPay Module for ZenCartv1.3x
Hi all - I have tried all of Andrie's modifications and it STILL doesn't work!!
Worldpay processes the payment correctly. A 302 callback error is generated.
THe interim "hack" page returns me back to my site but the cart is still full and there are no orders on the system!
Can anyone please please please help????
Re: WorldPay Module for ZenCartv1.3x
Quote:
Originally Posted by
Ryk
Well, using the beta mod and the callback fixes above, everything works perfectly on php5.2.6 when I run a test transaction, but the moment I switch to live, I get this error immediately I arrive on the Worldpay site:
As Worldpay don't man support at the weekend(!), can anyone offer suggestions as to what the problem may be?
Just thought - the site is 1.3.7 - could that be an issue?
Ryk, you have probably fixed this by now but just in case....
look for 'https://select-test.worldpay.com/wcc/purchase'
in includes/modules/payment/worldpay.php
and take out the '-test' so it reads 'https://select.worldpay.com/wcc/purchase'
I hope that helps
Kind Regards
AfterHouR
Re: WorldPay Module for ZenCartv1.3x
Would the developer of the worldpay module please contact me as soon as possible, I have left telephone messages, emails, and tried every means. There is a security issue with the module. If anyone here would like me to demonstrate it on their server, I would be happy to do so :D
I strongly recommend not using this module even with SSL.
Thank you
Philip Clarke. (former author of modules myself, I had to re-sign up because I cannot get in contact and I am getting very irritated about this).
Re: WorldPay Module for ZenCartv1.3x
Hi Phillip - you have me quite worried now - we are not actively using the module as yet but are about to do so. More details would be appreciated.
We couldn't get the module to work initially due to sessions not being stored on our clustered server space but thanks to some fantastic help from Andries friend, Stephen Biro, and his "hack page" solution it seems to be working fine now.
Re: WorldPay Module for ZenCartv1.3x
Private message me with your server and I'll show you something. So far I've done proof of concept on two servers including one with SSL, so I'd like more testing ground.
Re: WorldPay Module for ZenCartv1.3x
Oh and if you are using a clustered system and you want to restore the sessions, then how did you configure zencart ? I mean you could use database session storage that would be referenced by all the clustered machines, or a common networked filesystem would store the sessions, it should only fall over if each of the cluster was individually storign the sessions in it's own file system. Sorry I haven't read this thread throughly, I used to develop modules for zen-cart was helping out someone and then found this hole in this module. I now have an outstanding orders for lip balm and 100 fine quality xmas cards, without having to pay a penny.
Re: WorldPay Module for ZenCartv1.3x
Hi everyone,
be careful with sending sensitive info about your store/server to anyone you don't know. ;)