Zen Cart Logo
Forums / Addon Payment Modules / WorldPay Module version 2.0 - Support thread

WorldPay Module version 2.0 - Support thread

Locked

Views: 215,936

Results 201 to 220 of 738
This thread is locked. New replies are disabled.
1 Jun 2009, 3:03 PM
#201
peanut77 avatar

peanut77

Zen Follower

Join Date:
Feb 2005
Posts:
266
Plugin Contributions:
0

WorldPay Module version 2.0 - Support thread

Hi Philip

You worked your magic before for me and now I am having another problem with a world pay set up.

I've installed your latest module - however I cannot get worldpay to return to the site - it does if I cancel the test tranaction but not after completing a successfull test.

I have the debug emails on and they are not showing any errors, orders are being recorded. I have checked the return url and the enable shopper response button is ticked ( as is payment response, enable recurring reponse, payment response password & md5 secret entered).

Basically the site goes through the ordering process and the customer is taken into Worldpay to make the payment. The problem occurs at the last stage within Worldpay when the customer should be returned to the web site and an error message is displayed

"Email Error: Could not instantiate mail function."

This error message is displayed on this page - https://secure-test.wp3.rbsworldpay.com/wcc/card (https://secure-test.wp3.rbsworldpay.com/wcc/card)

This is the callback which has been entered - http://<wpdisplay item="MC_callback"> and all the setting have been entered to the test section of the rbs world pay section.

Any ideas ?

1 Jun 2009, 3:29 PM
#202
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

That would be a bug in the emailing out system, whch hasn't been changed for a few months now. I'll need to know your site's URL to have a look around, so could you PM it to me again and I'll try and get on it this evening. The Customer has been return to your site, but something in zencart itself has then dropped a clanger saying "I can't send out an email, I'm going to die" hence why everything else has been successful and it records the order. I will naturally let you know before I post any test payments or anything that would be likely to show up as a real order.

Thank you
Philip.

2 Jun 2009, 12:38 AM
#203
storeman avatar

storeman

New Zenner

Join Date:
Apr 2009
Posts:
8
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

I don't know f this is OK to post here but here goes:

I have installed the latest version worldpay module and all appears to be working OK in test mode (worldpay test mode)

I have an irritating problem with the success page; when the page is sent from worldpay it throws the right hand boxes off to the right because the center column appears to be too wide. It only happens on this page.

I think it is a css problem but I can't find the right place or page to edit so as to correct the problem.

Any assistance would be appreciated.

Regards

pcbusiness.ca

PS - great mod, whats the usual spondoolee donation requirement.

2 Jun 2009, 12:43 AM
#204
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

This is the right place to post. What I will need is for you to view source on the worldpay success page and the cut and paste it to me at my email address. Please don't post it to the forum as it could contain information about your business banking details. What I need it for, is to see if the "new" rbsworldpay is applying any filtering that may be affecting your stylesheets so I'll need to compare the output with output rendered from a test machine, or you could just PM with the site details (admin access may be required) and I can run my own tests, anyway it will have to be tomrorrow as it is almost 2am in the UK.

Thanks Philip.

2 Jun 2009, 1:29 AM
#205
storeman avatar

storeman

New Zenner

Join Date:
Apr 2009
Posts:
8
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Nipped out there for a while, just got back.

Will PM you with all the info.

Thanks.

2 Jun 2009, 1:28 PM
#206
nlphypnotist avatar

nlphypnotist

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi phill can you help me out please , Im running zencart 1.38 all was working fine , But i just upgraded to your new version and i am getting a call back fail it was all working befoe ? i have gone though all the msgs on this forum and can not find the answer i have spoken to worldpay and they tell me its the php file thats all can you help me as i did not back my site up and delited all the older files ;-(
Many thanks mark
Our systems have detected that your callback has failed.

This callback failure means we were unable to pass information
to your server about the following transaction:

Transaction ID: 33333333333
Cart ID: rvnmaifmvqfd9u789egjhnmut7
Installation ID: 3333333

Error reported: Callback to http://www.eeeeee.co.uk/wp_callback?zenid=rvnmaifmvqfd9u789egjhnmut7: NOT OK, recevied HTTP status: 302
Server Reference: mg1imscs5pa:callbackFailureEmail-13754:MerchReq-15

2 Jun 2009, 1:45 PM
#207
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Afternoon,

I don't think it's the new module but if you are positive then go here

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1148

and scroll down the page, you can download old modules for example

http://www.zen-cart.com/index.php?main_page=download_contrib&contrib_id=1148&update_id=8 is version 2.07

I think you should try but I am pretty certain that the failure will not be due to the upgrade.

Thank you
Philip.

2 Jun 2009, 2:26 PM
#208
nlphypnotist avatar

nlphypnotist

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

To be honest phill i have no idea what was installed your or some one el's mod ? Do you know why it having the problems ? I have seen a few people who have had this problem but not any answers to it ? I have put in the password and put the password in with world pay i never done this with the other mod it just keeps coming back saying callback fail?
Regards
Mark

2 Jun 2009, 2:32 PM
#209
nlphypnotist avatar

nlphypnotist

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

I have run the debug mode and it just keeps saying Password Failure:
I have updated my worldpay with the password and the zencart i have installed you mod 3 times just to make sure? It looks like their is a problem with the password whay does it need a password as the other mod never needed it?
Regards
Mark

2 Jun 2009, 3:08 PM
#210
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Okay once upon a time Zen Cart did not use the payment response password, at that time I then hacked the system and proved that I could "buy" anything from any shop using worldpay even when the MD5 encryption was on, without have to pay for anything. That would be the reason why you need a password.

The Payment response password needs to be set in worldpay and in the ZC admin, then you should probably use the update and the "copy" to your production environment buttons at the bottom of the screen, then wait ten minutes or so as worldpay seems slow to update, and then try it. The reason why the questions remain unanswered is that it's always a payment response problem that takes time to filter through the worldpay system, or it's occassionally something else that I fix and then release another version. version 2.08 is very important as worldpay is chaning domain name and if you don't upgrade then

a) you'll be sending out goods when people don't pay for them
b) you payment gateway won't work when the Royal Bank of Scotland turns off the old worldpay domain name.

Philip.

2 Jun 2009, 3:13 PM
#211
nlphypnotist avatar

nlphypnotist

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Wow what a pain in the sss it was to do with world pays updating the password took ages to update. Ok quick question now its working , How can i add the small wp logo on the text on the check out ? where it says "Credit Card via WorldPay"
Regards
mark

2 Jun 2009, 3:23 PM
#212
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Yes that is why it's normally unanswered, being British I always recommend going for a cup of tea, it's always the same way !!!IT'S NOT WORKING!!!, err, okay it is it just took a bit of time to update at worldpay's end.... :oops:

If you wish to change add an image then you should edit the file

includes/languages/english/modules/payment/worldpay.php

and add the image html to the constant MODULE_PAYMENT_WORLDPAY_TEXT_TITLE

Thank you
Philip.

2 Jun 2009, 3:28 PM
#213
nlphypnotist avatar

nlphypnotist

New Zenner

Join Date:
Mar 2009
Posts:
5
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

All done thanks and cup of tea does help, I edited the code and put in the wp logo ill post it just incase anyone els wants to see how its done.
Regards
Mark

// $Id: worldpay.php 1.0 2004-09-04 05:01:15Z networkdad $
//

define('FILENAME_WORLDPAY', 'worldpay_response');

define('TABLE_WORLDPAY_PAYMENTS', DB_PREFIX . 'worldpay_payments');
define('MODULE_PAYMENT_WORLDPAY_TEXT_CATALOG_TITLE', 'Secure Credit Card Payment');
define('MODULE_PAYMENT_WORLDPAY_TEXT_ADMIN_TITLE', 'WorldPay Payment Gateway');
define('MODULE_PAYMENT_WORLDPAY_TEXT_ADMIN_DESCRIPTION', 'WorldPay Credit Card Payments');
define('MODULE_PAYMENT_WORLDPAY_TEXT_DESCRIPTION', '<strong>Worldpay Payment Module</strong>');
define('MODULE_PAYMENT_WORLDPAY_TEXT_ERROR_MESSAGE', 'Your transaction has been cancelled or declined. Please try again');
define('MODULE_PAYMENT_WORLDPAY_TEXT_TITLE', '<img src="includes/templates/template_default/buttons/english/wplogo.gif" align="top" alt="Click to pay via World Pay">');
define('MODULE_PAYMENT_WORLDPAY_TOTALS_MATCH', 'Totals Match');
define('MODULE_PAYMENT_WORLDPAY_TOTALS_MISMATCH', 'Warning: Totals do not Match');
define('MODULE_PAYMENT_WORLDPAY_COUNTRY_MATCH', 'Countries Match');
define('MODULE_PAYMENT_WORLDPAY_COUNTRY_MISMATCH', 'Warning: Country Mismatch');
define('MODULE_PAYMENT_WORLDPAY_ADDRESS_MATCH', 'Addresses Match');
define('MODULE_PAYMENT_WORLDPAY_ADDRESS_MISMATCH', 'Warning: Address Mismatch');
define('MODULE_PAYMENT_WORLDPAY_POSTCODE_MATCH', 'Postcodes Match');
define('MODULE_PAYMENT_WORLDPAY_POSTCODE_MISMATCH', 'Warning: Postcode Mismatch');
define('MODULE_PAYMENT_WORLDPAY_SUHOSIN_TEXT', 'Suhosin is a PHP module that can affect communication between WorldPay and ZenCart');
define('MODULE_PAYMENT_WORLDPAY_CAUTION', 'WorldPay has issued a CAUTION for this transaction');
define('MODULE_PAYMENT_WORLDPAY_WARNING', 'WorldPay has issued a WARNING for this transaction');

?>

4 Jun 2009, 1:00 PM
#214
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi there,

I hope you can help. I am currently working on updating my website and have decided on Zen Cart. I have installed the latest version on a local server and am working on making it look and work how I want. I have installed a free template fron zen-cart-power.com. I already have a worldpay account so have installed worldpay module 2.08, although I am not yet ready to try to connect to worldpay to test.

In the box that the customer has the opportunity to select a payment card option, there is already a drop down box with Visa or Mastercard as the two choices. This remains when I select
display accepted cards in admin. I then get a second set of choices, but this one shows the cards I accept as it should.

Am I doing something wrong here? Apologies if I'm being a bit of an idiot.

Thanks

4 Jun 2009, 2:59 PM
#215
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

It is likely that you have in Kahlili's (good) suggestions in zencart which was to put in a select box with applicable cards, except that I added it to the module code so that it was more suitable for an international audience and could be adjusted from admin rather than by editing the HTML.

The solution is to take out Khalil's code as you have a inferior duplicate of functionality with the uptodate module.

Thank you
Philip.

4 Jun 2009, 7:23 PM
#216
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Thank you for your help, Philip.

I like the opportunity to make adjustments to the list of credit cards in admin, although not essential. Is it possible to retain Khalil's code and remove the original, or is that not the right way to do it? Do both lists work in the same way - i.e do they both reduce the pages necessary at worldpay by one?

Thanks

Brian

4 Jun 2009, 9:09 PM
#217
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

It does the same thing in that it skips one page, plus it has the option to be either a select box or list with radio buttons, also under the surface it stores the selected card as a session variable so that if the user changes their minds and wants to add something else to their cart, it remembers what they selected so they still get one less click. It's everything Khalil suggested and more.

Thank you
Philip.

5 Jun 2009, 11:36 AM
#218
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

OK, I would like to do as you suggest and remove the unnecessary code. If possible, could you please point me to the section(s) to remove?

Thanks again.

Brian

5 Jun 2009, 2:55 PM
#219
philip_clarke avatar

philip_clarke

Suspended

Join Date:
Sep 2008
Posts:
608
Plugin Contributions:
3

Re: WorldPay Module version 2.0 - Support thread

Search this thread for Khalil and then just overwrite the files with standard zencart files from the zip. I can't be any more precise than that because it wasn't me that put the code in. I adjusted the module afterwards and personally didn't try the code. but It's somewhere in this thread, it's probably something like tpl_checkout or similar.

Philip.

5 Jun 2009, 7:12 PM
#220
brian500 avatar

brian500

New Zenner

Join Date:
Jun 2009
Location:
UK
Posts:
10
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Thank you, Philip. That's sorted.

Brian