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

WorldPay Module version 2.0 - Support thread

Locked

Views: 215,937

Results 381 to 400 of 738
This thread is locked. New replies are disabled.
9 Sep 2009, 2:59 PM
#381
philip_clarke avatar

philip_clarke

Suspended

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

WorldPay Module version 2.0 - Support thread

JasonRocket:

Hi Philip

What does this mean? I currently have your worldpay module installed. I've not tested it since reading this post. will it currenly work?

When you say "normal". Has something changed.

I'm panicking a little here.

I noticed that RBS sent me some emails regarding changes that will be made next week.

Jason

Your shop will not have been working for a very long time already. These aren't to do with future changes, worldpay has stripped the BASE (and SCRIPT) tags from your receipt payment page already.

This basically means your customers have been presented with a page where the layout falls to pieces, any scripts fail to work, no images display, no links work etc...

Basically the only option would be for you to go into you templates and handcode everything now, immediately. It can't be done automatically (by me) because everyone has different template structures so has to be done on a case by case basis. This make the worldpay gateway unworkable for ZC's structure.

The story is told over the last few pages, but basically some stupid middle manager has got the wrong idea into their head and killed the system because of "security", when I've proven that it's not an issue and they have bigger security problems on their own website (look for the screenshots).

Nothing I can do.

9 Sep 2009, 6:15 PM
#382
fgcity avatar

fgcity

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Hi. I have World Pay and Zencart. I have read the posts about the updates and i wanted to ask something else.

The errors i have is basically for Callback failure but the customer payments go through. The problem i have is that zencart doesn't empty the cart nor registers the order after the order has been made and a person has payed.

Cab this at-least somehow be fixed? It was quite a hustle to get World Pay in the first place and i would really not want to change the gateway due to this. Is there anything that can be made to still use the module and have some sort of a solution?

9 Sep 2009, 9:00 PM
#383
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

fgcity:

Cab this at-least somehow be fixed?

In the current climate that is a very rude question ask as it suggests that the modules is broken. You are lucky to get any kind of response. YOU have either

  • not set up suhosin correctly,
  • set up your payment response password incorrectly either in Admin or at WorldPay
  • are on an internal network where worldpay cannot access your system
  • worldpay has not set your payment response password correctly
  • worldpay is caching an old password or no password at all and will not clear until it feels like it.
  • you session settings are incorrect in configuration.

all of these points have been addressed in this thread many times.

9 Sep 2009, 11:05 PM
#384
khalilm avatar

khalilm

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Spoke to worldpay - and apparently they are looking into allowing base href tag -- and there are few extra restrictions still in a test mode that will be removed before it goes live.

jszemmel, seems we have conflicting responses. My reply was dated Sept 8. Can you expand a bit more on the response you got please?

Thanks,
Khalil

10 Sep 2009, 8:10 AM
#385
jasonrocket avatar

jasonrocket

New Zenner

Join Date:
Oct 2008
Posts:
59
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

jszemmel:

Spoke to worldpay - and apparently they are looking into allowing base href tag -- and there are few extra restrictions still in a test mode that will be removed before it goes live. Please don't leave us Philip

Hi jszemmel

I hope you can keep us up to date with anything else they come back with. Thanks

10 Sep 2009, 2:05 PM
#386
khalilm avatar

khalilm

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Well after complaining yet again about any movement here is the response I received:

My apologies for this, to give you some background the reason these changes may not have been as satisfactory as we'd hope is that we are working to a deadline from Visa / Mastercard to become fully PCI compliant by the end of September which has been a massive operation for development and has meant that with the whitelist we have had to be more strict than is possibly necessary.

We will be revisiting any outstanding issues and working to minimize the impact as much as possible following this and I would imagine any serious problems once this goes live will be quickly addressed.

I am sorry that this has been an inconvenient time to sign up and that information has not been as clear as we would hope in this matter.

For your information our complains procedure is detailed at:
http://www.rbsworldpay.com/support/index.php?page=complaints&c=UK

And our cancellations form at:
http://www.rbsworldpay.com/support/bg/cancellations/

I have decided to switch to InternetSecure because who knows how long this will take.

Philip, again thanks for all the work.

Khalil

10 Sep 2009, 2:14 PM
#387
jasonrocket avatar

jasonrocket

New Zenner

Join Date:
Oct 2008
Posts:
59
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Could I just please confirm something?

I processed a test payment through. I can see what happens to the Thank you page (It looks completly messed up) and I know why due to reading earlier posts.

But the payment still seemed to go through and I received both rbs and zencart email receipts to confirm this. So, am I right to say that payments still work?

If I work out how to correct the thank you page by hard coding absolute links etc then that will be the problem over?

Has anyone been able to fix their thank you page yet by hard code?

and thanks philip for your response to my earlier post and I hope there may be a way to carry on with this module.

10 Sep 2009, 2:39 PM
#388
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

It depends on your templating system, the removal of the base href tag and then you recoding into files may very well harm the rest of you site depending on how it is configured. There's no way to know hence why I can't issue a patch.

Philip.

11 Sep 2009, 5:49 AM
#389
bigenuf avatar

bigenuf

New Zenner

Join Date:
Nov 2008
Posts:
47
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

philip_clarke:

It depends on your templating system, the removal of the base href tag and then you recoding into files may very well harm the rest of you site depending on how it is configured. There's no way to know hence why I can't issue a patch.

Philip.

Good Morning Philip and all,

I'm not a coder and don't really know what i've done but it works for me and should work for others and i'm sure those of you who actually know what they are doing can make this work as a temp patch for everyone or maybe not, but this does work for me.

Make folder wp_callback

includes/templates/YOUR_TEMPLATE/wp_callback

Copy the following files into this folder and they will act as an override
and not overwrite the main files of the Worldpay module or other files
for that matter.

includes/templates/template_default/templates/tpl_modules_wp_checkout_cancelled.php

includes/templates/template_default/templates/tpl_modules_wp_checkout_success.php

includes/templates/template_default/common/html_header.php

includes/templates/template_default/common/tpl_header.php

includes/templates/template_default/common/tpl_footer.php

includes/templates/template_default/common/tpl_main_page.php

Copy the contents of includes/templates/YOUR_TEMPLATE/css
to
includes/templates/YOUR_TEMPLATE/wp_callback

Edit the html_header.php and hard code the location of your stylesheets

<link rel="stylesheet" type="text/css" href="http://YOUR_WEBSITE/includes/templates/YOUR_TEMPLATE/wp_callback/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="http://YOUR_WEBSITE/includes/templates/YOUR_TEMPLATE/wp_callback/stylesheet_css_buttons.css" /> <link rel="stylesheet" type="text/css" media="print" href="http://YOUR_WEBSITE/includes/templates/YOUR_TEMPLATE/wp_callback/print_stylesheet.css" />

You can now edit the css sheets in order to change anything you might need to change for the Worldpay callback page.

In both the
tpl_header.php and
tpl_footer.php you can make adjustments as or if needed.

Edit tpl_main_page.php and turn off the sideboxes for this page as none of the graphics will be working anyway. Look for this
and make changes as needed.

  • to turn off the header and/or footer uncomment the lines below<br />
  • to turn off the left and/or right columns uncomment the lines below<br />
  • $flag_disable_header = true;<br />
  • $flag_disable_left = true;<br />
  • $flag_disable_right = true;<br />
  • $flag_disable_footer = true;<br />

I've tested this on both versions 1.3.7.1 and 1.3.8a

This override will only effect the worldpay return pages and no others so if it doesn't work for you just delete the folder or rename it and you haven't messed with any of the working files of this fine module.

I hope this helps someone as i would hate to lose this module it works perfectly for me and i would think from what i've seen here it is more secure then most if not all of the other payment modules available.

11 Sep 2009, 9:39 AM
#390
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Hint 1

One thing to mentioned first. When editing files and then ftping them up, you need to have your browser open with your shopping cart page displayed with something in it and hit reload of press f5 every minute or so, this will stop your session timing out otherwise you'll end up having to log in frequently which is more time consuming to see your changes.

Hint 2

Above is a good and comprehensive guide, There is a way to test exactly what your customer will see when worldpay sucks things in.

What's not mentioned is that to see how badly screwed up worldpay makes your site, you need to remove the base href tag from

includes/templates/template_default/common/tpl_header.php

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />

by changing it to

<!--base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /-->
<base href="http://rbsworldpay.co.uk"  />

This will screw your site up ! But this way you know the exact extent of how bad the missing base href tag is and will generate lots of 404's not found over at worldpay's site, but it's the best way to see how bad things are.

The other thing to mentioned is that template_default may not be the template you are using to copy the files over to/ from the new folder, because you may already be using an overriding template. What you need to do is put

<h1>HELLO WORLD 1</h1>

and then 2 and then 3 etc.... in any file you find where the folder and filename ends in

common/html_header.php

which will tell you which one to copy over.

Once you've done all of the editing it's best to still have the base href tag removed, put something in your shopping basket and go to world pay, then hit the cancel button on worldpay's website that will bring up the set of templates that you would have been editing

If the cancel page displays correctly (and you can hit f5 to refresh it if you need to reedit, and upload) then there is a good chance that you can go and make a payment in test mode and see if the final page works. The final page is ONE SHOT meaning that it will dump your shopping cart and try and redirect you, so you can't edit and then hit reload, you need to play around with the cancelled transaction page.

After you've done all this (and this is why I can't program the module to do this automatically), you can then "finally" put the base href tag back.

Philip.

11 Sep 2009, 1:20 PM
#391
jasonrocket avatar

jasonrocket

New Zenner

Join Date:
Oct 2008
Posts:
59
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Thanks Bigenuf and Philip

Your instructions will be a big help.

Philip you can't refresh the cancel page as it redirects you to another page.

Bigenuf. I've been able to use your instructions and make this work for me. Although, at the moment i've kept the head and side bars on as currently you only need to turn off whitelisting in RBS inorder to keep using the base tag until it is enforced at the end of this month. but at least I now know I can sort of fix this.

I also added my concerns to RBS worldpay and received a very quick response shown below.

Thank you for your email on 10.09.2009 about the recent changes in our system.

I am sorry that you experience issues using the payment service since we have implemented a series of changes on our platform to comply with the latest PCI DSS standards.

We are fully aware that this is effecting our customers who are using Zencart and we have highlighted that this is causing issues with the payment process.
Adding the <base href> tag onto our whitelist is currently being looked into.
Hopefully we are able to correct this issue as soon as possible. We have acknowledged your complaint and added it to list.

11 Sep 2009, 1:53 PM
#392
khalilm avatar

khalilm

New Zenner

Join Date:
Jan 2009
Posts:
11
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Well after the last email, I suggested that they forward my complaint for me to the customer service center rather than making me fill out another form. Here is the response I got:

I am sorry to hear that you are experiencing issues with the changes implemented on our platform to comply with the PCI DSS standards and that you are thinking of leaving RBS Worldpay.

I can confirm that we have acknowledged this as a complaint.

I can assure you that we are fully aware of the impact this has on the payment process of our customers using Zencart. Our development department is still in discussion about adding the <base href> tag to the whitelist. I can assure you that this is currently treated with highest priority.

I can understand that it must be frustrating and I am sorry to hear that you have the feeling that we have ignored a segment of our customer base and needs.

Please let me know if you want me to update you once a decision on adding this tag to the white list has been made.

Again though, as Philip has stated, instead of properly working with him to discuss the issues, they have instead decided to blame the module first THEN after many complaints acknowledge that they need to "discuss it". This to me is just bad customer service. If they were really interested in helping us they would initiate contact with him and resolve the issues real-time instead of discussing it among themselves.

11 Sep 2009, 3:06 PM
#393
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

http://www.theregister.co.uk/2009/09/11/rbs_worldpay_security_snafu/

Looks like someone found a SQLi vulnerability in rbsworldpay published similar to the XSS one I published last week.

@JasonRocket if I get time I'll teach everyone how to hack their website so that they can see the cancel page repeatedly, I was doing that this morning, but it's a bit involved.

@khalilm - if they mention PCI DSS one more time I probably kille someone, as I demonstrated here, they don't understand it, and "a bad man" (especially since just know someone published the template details and locations) could just shove a form up demanding more money on behalf of worldpay.

(note there's nothing wrong with us knowing our template details nor how to change them, in fact we should know this information)

12 Sep 2009, 7:10 AM
#394
bigenuf avatar

bigenuf

New Zenner

Join Date:
Nov 2008
Posts:
47
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

JasonRocket:

Thanks Bigenuf and Philip

Your instructions will be a big help.

Philip you can't refresh the cancel page as it redirects you to another page.

Bigenuf. I've been able to use your instructions and make this work for me. Although, at the moment i've kept the head and side bars on as currently you only need to turn off whitelisting in RBS inorder to keep using the base tag until it is enforced at the end of this month. but at least I now know I can sort of fix this.

I also added my concerns to RBS worldpay and received a very quick response shown below.

Thank you for your email on 10.09.2009 about the recent changes in our system.

I am sorry that you experience issues using the payment service since we have implemented a series of changes on our platform to comply with the latest PCI DSS standards.

We are fully aware that this is effecting our customers who are using Zencart and we have highlighted that this is causing issues with the payment process.
Adding the <base href> tag onto our whitelist is currently being looked into.
Hopefully we are able to correct this issue as soon as possible. We have acknowledged your complaint and added it to list.

It appears they have 2 deadline dates.

September 23rd 2009: we will activate our list of permitted HTML tags for all live payment pages for all customers. At this point any visual impairment to the design of your payment pages caused by the measures we are taking to prevent cross site scripting will be visible to your shoppers. If this causes an issue for your payment pages you can remove the list from your installation via our Merchant Interface(see Disabling and Re enabling Whitelist in Technical Notes below) up until the 14th October 2009 from when all installations will work with the list of permitted HTML tags without exception.

We will update you with further details nearer the time letting you know when to start reviewing your payment pages in the Test and Production environment.

And thanks Philip for the input. Like i said i'm not a coder and don't pretend to be i just make things work for me.
As a last resort with the overrides might we be able to just make a generic page that customers come back to with the RBS logo and anyone who has the skill or wants to change that page they can but at least this will keep the module going.
This module functions great even with the whitelisting and a customer coming back to a messed up page the mechanics of the module still do their job.

12 Sep 2009, 8:12 AM
#395
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Bigenuf:

It appears they have 2 deadline dates.

September 23rd 2009: we will activate our list of permitted HTML tags for all live payment pages for all customers. At this point any visual impairment to the design of your payment pages....

I think everyone should just knock off their base href tag and have a loko at exactly what that means and how bad a big long list of blue links on a white page with no images looks. In fact it's screen grab time.

This is what worldpay will do to your site

This is how it appears in any browser after your customers have paid as you and shows each scroll down the page.

Bigenuf:

As a last resort with the overrides might we be able to just make a generic page that customers come back to with the RBS logo and anyone who has the skill or wants to change that page they can but at least this will keep the module going.

The last resort looks probable, I can almost certainly give an option to dump everything except a central link and table with the "receipt" inside it with black text, white background, possibly the shop logo, and a blue text link back to the front page. It'd dump the templating system all together. I may even be able to stick an option in the module to enable that page so people could have something temporary as a holding place while they sort out the base href tag. Sounds like something I should be working on. Good Idea that man or woman Bigenuf, now explain to my 6 year old about his Birthday party and why Daddy isn't there.

Philip.

12 Sep 2009, 8:21 AM
#396
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Bigenuf:

RBSWorldPay:

At this point any visual impairment to the design of your payment pages caused by the measures we are taking to prevent cross site scripting will be visible to your shoppers.

that reads to me,

RBSWorldPay:

At this point any blindness to the design of your payment pages caused by the measures we are taking to prevent cross site scripting will be visible to your shoppers.

which actually makes sense, they are blind to their actions.

although a more accurate "management speak translation", removing the bull, is:

RBSWorldPay:

At this point any blindness to the design of your payment pages caused by the measures we are taking, will be visible to your shoppers.

In fact I'd like to patent bulltoenglish.google.co.uk a new translation service similar to http://translate.google.co.uk except it enables the average person to understand what middle management is saying.

13 Sep 2009, 7:08 PM
#397
bigenuf avatar

bigenuf

New Zenner

Join Date:
Nov 2008
Posts:
47
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

I've thrown this together and would appreciate if someone who knows what they are doing can have a look at it and see if it will actually work. I've made it so that all one needs to do is drop a folder into their templates folder and it will take care of this worldpay problem.
This is not intended to be a permanent fix just a stop gap measure until Worldpay decides to pull their heads out.
See the following Screen captures of both the Success and Cancelled pages.

Since the mechanics of this module work great all we are bothered with is what the customer sees after they have either completed their transaction or cancelled it and this , i believe, is an acceptable outcome for those of us who are challenged:lamo:

Because forum rules prohibit me from posting a link to this fix if you Philip or anyone else who wants to have a look at it will either PM me or email me and i'll send you a link to it.

13 Sep 2009, 8:23 PM
#398
oxxyfx avatar

oxxyfx

New Zenner

Join Date:
Sep 2007
Posts:
77
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Now I need to understand this. Are these problems going to be because of some future changes, or the changes are already actually in effect?

The reason why I am asking is because I just processed a test payment through my website and WP and all it seemed normal. All screens were the same as they were 6 months ago...

13 Sep 2009, 8:23 PM
#399
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

Yep send me the link through and I'll check that everything is still working, my email address is there when you click on my name anyway. Haven't had any time this week what with a child's birthday. I think I have another suggestion for the branding of the page, I just have to have a look through the standard defined constants in the zen cart package.

Philip.

13 Sep 2009, 8:35 PM
#400
philip_clarke avatar

philip_clarke

Suspended

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

Re: WorldPay Module version 2.0 - Support thread

oxxyfx:

Now I need to understand this. Are these problems going to be because of some future changes, or the changes are already actually in effect?

The reason why I am asking is because I just processed a test payment through my website and WP and all it seemed normal. All screens were the same as they were 6 months ago...

The changes will be coming to global effect inside 14 days. Some people have already got them and have ben discussing it for weeks. This is one of the odd situations that I find myself in, because I maintain the module but don't have a wordlpay account. Bigenuf's suggestions are pretty much the only way that the worldpay module would work in the future, But a lot of people will leave worldpay just because they have been so obtruse during this discussion, given conflicting information and I have lost count of the times that they has "blamed the module" for errors with new users over the last year. :no: