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 461 to 480 of 738
This thread is locked. New replies are disabled.
16 Sep 2009, 2:46 PM
#461
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

WorldPay Module version 2.0 - Support thread

hardcoding the absolute css links is pretty straight forwards and easy and isnt time consuming at all.....but yes hardcoding every image link would be time consuming and hard work and probably easier to pay phillip to do it as he has created a script that will hunt down and the links which would saves hours of your time...

....the other option would be to just not show the side boxes etc so you wouldnt need to hardcode the image links at all.......

This is pretty simple to do aswel, infact bigenuf kindly produced documentation on how to do this back a few pages.

For me this is the simlpest solution and the site still looks pretty decent

16 Sep 2009, 3:04 PM
#462
petelutonuk avatar

petelutonuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Hi Bigenuf and Ooba_Scott, thanks a lot for your help. I shall back everything up then try this. If it all works I will stop throwing my toys out of the pram. :smile: If it doesn't work, brace yourselves!:cry:

16 Sep 2009, 3:38 PM
#463
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

will be getting my hard hat ready ready just in case!

But i reckon you will be fine :) i have faith!

Good luck but remember to do a backup first!!

16 Sep 2009, 3:40 PM
#464
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

oops sorry bigenuf, you must ahve written your previous post same time as me adn beat me to it :( haha

Damn need to be quicker at typing and stop answering the phone

16 Sep 2009, 3:56 PM
#465
petelutonuk avatar

petelutonuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

:smile: This wont start happening till at least 6:30PM BST so you can probably have a peaceful evening.

16 Sep 2009, 7:08 PM
#466
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Attention Please

It appears that the HREF is now in the whitlist in worldpay it is still not catching the close for <li> but the HREF is working could someone else please verify this for me.

Lake

16 Sep 2009, 7:34 PM
#467
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

</li> </ul> both work now also but something still isn't right and i can't put my finger on it yet, will do a bit more testing.
16 Sep 2009, 8:24 PM
#468
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

As far as i can tell the <base href= tag now works under the Worldpay Whitelist and all the return pages also have the closing tags for </li> and </ul>:clap:

Something is still not right but i can't sus it right now.:cry:

Lake

16 Sep 2009, 8:25 PM
#469
petelutonuk avatar

petelutonuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Hi Bigenuf, yes I enabled whitelist and noticed the "Thank you" page sort of works but is still a mess. I have done what you "designed" and yes it looks a lot better, well done. However...
I can't seem to disable the header etc (as I am not that familiar with php).
The instruction in tpl_main_page.php to uncomment $flag_disable_header = true: <br/> ... Does that mean remove the ***** if so this does not seem to uncomment it and doesn't work. Am I being a bit thick here?:dontgetit

I thought that in php, // commented things out, what is the * ?
Also on my site I have extra stylesheets that are needed but I do not know how to include them as they are not called up in html_header.php like the other 3 are.
I use the CSS drop down menu module which needs it own stylesheet (I have disabled it for now)
I also have another stylesheet for the Ezpages side boxes....any ideas how I can get these to see their stylesheets....I am getting a little confused.
You never know, all this effort and worldpay might just allow all the tags we need again :clap:

16 Sep 2009, 8:46 PM
#470
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

petelutonuk:

Hi Bigenuf, yes I enabled whitelist and noticed the "Thank you" page sort of works but is still a mess. I have done what you "designed" and yes it looks a lot better, well done. However...
I can't seem to disable the header etc (as I am not that familiar with php).
The instruction in tpl_main_page.php to uncomment $flag_disable_header = true: <br/> ... Does that mean remove the ***** if so this does not seem to uncomment it and doesn't work. Am I being a bit thick here?:dontgetit

I thought that in php, // commented things out, what is the * ?
Also on my site I have extra stylesheets that are needed but I do not know how to include them as they are not called up in html_header.php like the other 3 are.
I use the CSS drop down menu module which needs it own stylesheet (I have disabled it for now)
I also have another stylesheet for the Ezpages side boxes....any ideas how I can get these to see their stylesheets....I am getting a little confused.
You never know, all this effort and worldpay might just allow all the tags we need again :clap:

This is what i used

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'wp_callback')) ) {
   $flag_disable_right = true;
   $flag_disable_left = true;
//    $flag_disable_footer = true;
//    $flag_disable_header = true;
  }

I have to admit i never tried to uncomment that section as i had this in my page. Give it a try or something similar might be in your page.

You can hard code to any stylesheet using this in the html_header.php

<link rel="stylesheet" type="text/css" href="http://YOURSITE.co.uk/includes/templates/YOUR_TEMPLATE/css/stylesheet.css" />

or the location of the stylesheet.

But it looks like the <base href= works now. Try running a test on your site and see ho it looks.

Lake

16 Sep 2009, 8:59 PM
#471
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

rename the override folder in your template folder, the wp_callback folder in order to see what the page looks like without the override since worldpay allow the <base href= now. otherwise it will still try and override it. all side boxes and graphics should work now under worldpay.

Lake

16 Sep 2009, 8:59 PM
#472
petelutonuk avatar

petelutonuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Thanks Bigenuf. I will give that a go later.

On the subject of the tags now appearing to be in the whitelist but pages still looking crap, I did a transaction with it enabled and one with it disabled. I saved the html and used winmerge to compare the files... haven't looked at it all as that would take all night but it seems they are dropping some </div> tags amongst other things.

For example, when my page displays ok about 41 lines down I have this:-

<div class="clearBoth"></div> <!--eof-navigation display--> <!--bof-branding display--> <div id="logoWrapperOuter">

But on the whitelisted attempt I have this :-

<div class="clearBoth" /> <div id="logoWrapperOuter"> (the spaces are where the <!-- --> were) They are obviously filtering out any comments. To me it seems like their filter is very flakey. Perhaps we should just wait till the finish poking about! No wonder Philip got so hacked off with them.
16 Sep 2009, 9:06 PM
#473
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

It appears they are making changes as we speak because a few hours ago the <base href= did not work so we might have to give it 24-48 hours to settle down. I do all my testing on a test site and when i tried my fixed test site it was a mess so i checked to see if the whitelist was enabled in test and it was and when i disabled the override (wp_callback) folder the site looked alsmost exactly like it should with graphics and everything so i tested it on my live site i turned on the whitelist in production and everything looked fine with some small exceptions. I've never installed an override on my main site.

Lake

16 Sep 2009, 9:09 PM
#474
petelutonuk avatar

petelutonuk

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

yes I renamed my template wp_callback folder.
I will keep it there so I can use it if need be.
I am off to bed now, brain cell is frazzled:smile:
And also just discovered I get 7 minutes to edit any mistakes I make when posting in this forum.

16 Sep 2009, 10:15 PM
#475
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

hmmm looks like i will be having to test my thankyou pages again! lol

hopefully they will fix the things then leave it at that.....cant afford to keep having to test this site for my client

:)

17 Sep 2009, 1:46 AM
#476
oxxyfx avatar

oxxyfx

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

So I made a test payment tonight with the withelisting enabled. I put the WP module in test mode and processed an order on my credit card. The results aren't that bad - even though there are some overlapping texts - I could live with that for now - if we cannot make it any better.

Please see the picture attached of the hank you page.

17 Sep 2009, 5:47 AM
#477
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

It looks like your footer is being displaced you could turn that off for the page but other then that it looks great. I would imagine for whatever reason they are replacing some of the </div> with /> kinda throws things out of whack.

Lake

17 Sep 2009, 5:57 AM
#478
bigenuf avatar

bigenuf

New Zenner

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

Re: WorldPay Module version 2.0 - Support thread

Returning code from worldpay is inconsistent.

On one line you see:

<div id="navMainWrapper"> <div id="navMain">

and a few lines down you see

<div id="navMainSearch" />

But the closing </div> is there in more places then not.

17 Sep 2009, 8:44 AM
#479
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

o dear, i havnt managed to do anymore testing yet, and i somehow doubt i will be able to today. Lots of other things i need to be working on and sorting out :(

But it still seems they have a lot of work to do to, they fix one problem then start by messing other bits up......whats the deal with adding the self closing tag /> at the end of divs lol.........that isnt going to help any issues, that probably worse than not pulling in </options> or </li> tags

17 Sep 2009, 9:59 AM
#480
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: WorldPay Module version 2.0 - Support thread

Yep worldpay has once again managed to bugger everything up again.....think it looks even worse than it did before.

My client did a test and sent me a screenshot of what it looked like......so annoyed at worlpay.

They are losing so much credibility....they jst cant get anything right