Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

One Page Checkout Support


2260 replies to this topic

#2221 Crow123

  • Community Member
  • 4 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Vancouver - B.C.

Posted 07 July 2011, 15:58

View PostDebs, on 04 July 2011, 23:57, said:

The issue is with IE9, when someone enters an e-mail address IE9 freezes and will not proceed. It comes up, after a while, with "(website) is not responding due to a long-running script". I have placed <meta http-equiv="X-UA-Compatible" content="IE=8"/> into my checkout.php to force it to run as IE8, but still same problem.



I just saw this issue and was hoping you guys got it figured out.

<meta http-equiv="X-UA-Compatible" content="IE=7"/>

Have you tried forcing Compatible mode IE=7 rather then 8..? Probably a long shot, but worth a try.

I have had a few complaints on this too. I do not have ie9 to test against.


Hi Debs,

No still not working I am afraid, switching to 7 from 8 made no difference other than my input boxes became smaller. Anyone else had any results? As it appears to be a relatively small number of us suffering from this, I can only assume it has to do with the versions we are using. Anyone using 1.5 have this issue?

Steve C

#2222 Debs

  • Community Member
  • 133 posts
  • Real Name:Debs
  • Gender:Female
  • Location:Fargo, ND UNITED STATES

Posted 08 July 2011, 03:31

View PostCrow123, on 07 July 2011, 15:58, said:

Hi Debs,

No still not working I am afraid, switching to 7 from 8 made no difference other than my input boxes became smaller. Anyone else had any results? As it appears to be a relatively small number of us suffering from this, I can only assume it has to do with the versions we are using. Anyone using 1.5 have this issue?

Steve C

Hi Steve,
I took a quick look into it and wonder if it could be this issue:
jQuery UI does not work on IE9...

This page URL covers it a bit, and a possible solution: http://forum.jquery.com/topic/jquery-ui-does-not-work-on-ie9

I do not have IE9 to test... perhaps you could try and post your results. Our jQuery UI is combined with a few things... and they all may need to be updated.

Debs

Edited by Debs, 08 July 2011, 03:43.


#2223 Thekidd

  • Community Member
  • 8 posts
  • Real Name:Kevin

Posted 10 July 2011, 18:34

View PostKimptonComputers, on 30 June 2011, 18:52, said:

Dear All,
I thought that I had managed to get all the bugs out of this contribution and was jumping for joy to have it all setup and working as I wanted. Today I have noticed a major issue when I use Internet Explorer 8 or 9 :o .

After adding a product to the cart, you proceed to the checkout page. Then...
1, If you’re a new customer, you fill in your details then click checkout button. IE then hangs and then crashes.
2, If you already have an account, you sign in using the checkout.php page, all the fields are populated, but the ajax keeps refreshing (Loading…) at the bottom of the page then after 2 or 3 min it just stops but then the checkout button doesn’t work. Very occasionally it will stop after 4 or 5 min and when pressed it takes you to PayPal as normal.

I have tested the site using Internet Explorer 8 & 9, Google Chrome, Firefox 4 and Safari 5. All the browsers work perfectly except Internet Explorer.
The shop is at: allaccessories.co.uk
Site is OSC 2.2 RC2 and OPC 1.5


Please take a look and any suggestions would be greatly appreciated.
Many thanks


Can you post all of the bugs you found and how you resolved them. We need to consolidate this info into one place. What cc module are you using?

#2224 Crow123

  • Community Member
  • 4 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Vancouver - B.C.

Posted 14 July 2011, 04:39

View PostDebs, on 08 July 2011, 03:31, said:

Hi Steve,
I took a quick look into it and wonder if it could be this issue:
jQuery UI does not work on IE9...

This page URL covers it a bit, and a possible solution: http://forum.jquery.com/topic/jquery-ui-does-not-work-on-ie9

I do not have IE9 to test... perhaps you could try and post your results. Our jQuery UI is combined with a few things... and they all may need to be updated.

Debs

Interesting Debs,

I tried a bunch of what they were talking about, but really came away with a couple of thoughts.....

1..I have no idea what or how to deal with JQuerry, or infact any JavaScript
2..Maybe I should update the JQuerry.

So I grabbed the latest version of JQuerry called: jquery-ui-1.8.14.custom.min.js, changed the name to jQuery.ui.js and placed it into the ext folder, I also grabbed a copy of jQuery.js 1.6.2 and slammed that into my website, again into the ext folder.

Now I no longer get the Waiting for long running script error, I do, however, get the annoying Message from webpage "there was an error checking e-mail address, please inform......" pop up. So really no better off. In fact worse, as my Chrome no longer works, I get the same error as I do in IE9.

The fact that I changed the error I am getting indicates to me that I am on the right path, and need to get my JQuerry files sorted out, but to do that I need a better understanding of what they do. Anyone disagree/agree? I am sure I have created my own problems by using what I guessed at as the right script and would love someone to give me a clearer picture as to what we need for this script to work.

Steve C

#2225 liviust

  • Community Member
  • 1 posts
  • Real Name:liviu st

Posted 20 July 2011, 07:54

Please Help. and soory about my english.

i have a local (my town) store and i dont need Payment Method & Shipping Method.


I want to totally remove from checkout page.

Payment Method
...............
Shipping Method
...............

i try evrything but no succes.


Thank you!

#2226 steve_s

  • Community Member
  • 1,580 posts
  • Real Name:steve
  • Gender:Male
  • Location:London

Posted 28 July 2011, 18:55

View PostZima, on 15 June 2011, 09:51, said:

Did you find a solution Steve? I am having the same issue with IE. Firefox and Chrome work fine.
Hi

just in case no one found a solution i have heard IE9 does not like any javascaript before the head tag so placing in the <head></head> tags should work

Worth a shot

Steve

#2227 Debs

  • Community Member
  • 133 posts
  • Real Name:Debs
  • Gender:Female
  • Location:Fargo, ND UNITED STATES

Posted 28 July 2011, 22:07

View PostCrow123, on 14 July 2011, 04:39, said:

Interesting Debs,

I tried a bunch of what they were talking about, but really came away with a couple of thoughts.....

1..I have no idea what or how to deal with JQuerry, or infact any JavaScript
2..Maybe I should update the JQuerry.

So I grabbed the latest version of JQuerry called: jquery-ui-1.8.14.custom.min.js, changed the name to jQuery.ui.js and placed it into the ext folder, I also grabbed a copy of jQuery.js 1.6.2 and slammed that into my website, again into the ext folder.

Now I no longer get the Waiting for long running script error, I do, however, get the annoying Message from webpage "there was an error checking e-mail address, please inform......" pop up. So really no better off. In fact worse, as my Chrome no longer works, I get the same error as I do in IE9.

The fact that I changed the error I am getting indicates to me that I am on the right path, and need to get my JQuerry files sorted out, but to do that I need a better understanding of what they do. Anyone disagree/agree? I am sure I have created my own problems by using what I guessed at as the right script and would love someone to give me a clearer picture as to what we need for this script to work.

Steve C

Hey Steve,
Did you get this fixed? I came across a solution that worked for me and it had nothing to do with updating the jquery core file or jQuery.ui.js...

For me The issue was in /includes/checkout/checkout.js

View this site: http://www.oscommercesupport.net/labs/ezosc_stores/v3.4/ezosc-professional/ecommerce-solutions-c-26.html
add item to your cart and go to the checkout page.

Save this file:
http://www.oscommercesupport.net/labs/ezosc_stores/v3.4/ezosc-professional/includes/checkout/checkout.js

Try replacing your /includes/checkout/checkout.js with this modified one.

I'm not certain why it corrected the error but it appears the updated /includes/checkout/checkout.js fixes some issues.

Well it fixed the issue for me. Let me know if it worked for you too.


Should I have posted this "file/ fix"?

Well they are using the core open source checkout here that included hundreds of hours of open source coding... plus the source code was not scrambled/ obfuscated.

Anyways, see if it works for you too.

Attached Files



#2228 kamatel

  • Community Member
  • 6 posts
  • Real Name:Maciej

Posted 18 August 2011, 12:38

Hi
I have this same problem and I dont found any resolution of this problem in internet.
Because post is dated on April I hope that you have any resolutions.
If you havy it pls send me email
biuro(at)kamatel.eu

Regards
Maciej

#2229 sarbi55

  • Community Member
  • 1 posts
  • Real Name:osman yagmur

Posted 06 September 2011, 09:27

Hello,
Thank you for this great contribution. I have a small problem thought. Page stuck at "Setting Payment Method" section. I checked problem from the firebug console and it writes:

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMDocumentFragment.appendChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://www.domain.com/js/jquery.min.js :: <TOP_LEVEL> :: line 6181" data: no]

Line 0

Response is here:

{
"success": "true",
"inputFields": ["<tr class=\"paymentFields\"><td width=\"10\"><img src=\"images\/pixel_trans.gif\" border=\"0\" alt=\"\" width=\"10\" height=\"1\"><\/td><td colspan=\"2\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr><td width=\"10\"><img src=\"images\/pixel_trans.gif\" border=\"0\" alt=\"\" width=\"10\" height=\"1\"><\/td><td class=\"main\" width=\"150px\">Card Type:<\/td><td><img src=\"images\/pixel_trans.gif\" border=\"0\" alt=\"\" width=\"10\" height=\"1\"><\/td><td class=\"main\" width=\"350px\"><select name=\"protx_direct_cc_type\" onchange=\"protx_update_fields(this.value);\"><option value=\"\" SELECTED>-Please Select-<\/option><option value=\"VISA\">Visa<\/option><option value=\"DELTA\">Visa Debit<\/option><option value=\"UKE\">Visa Electron<\/option><option value=\"MC\">Mastercard<\/option><option value=\"MAESTRO\">Maestro \/ Switch<\/option><\/select><\/td><td width=\"10\"><img src=\"images\/pixel_trans.gif\" border=\"0\" alt=\"\" width=\"10\" height=\"1\"><\/td><\/tr>"]
}

(I deleted some of HTML codes)

Any ideas? Thank you.

#2230 felis8681

  • Community Member
  • 44 posts
  • Real Name:sophie streit

Posted 06 September 2011, 22:40

I hope anyone can help me - I installed this contrib. on a complete new installation so I just overrighte all files and it works fine exept that the button for the login is missing where it says...if you already have an account..........
Also miss the buttons (+and-) to change the amount of each item.

And I also would be interessted if it is possible to integrate any "must agree to terms " to the one page checkout?

I realy do hope you can help me. Thank you!

#2231 MarioDirenzo

  • Community Member
  • 1 posts

Posted 16 September 2011, 10:12

Hello,

I would like to add a checkbox in order to add an extra fee to the total order. How I can do that?
I've already made the module for extra fee in order total folder and it works (by default it adds the extra fee to order total when checkout page is loaded), but I'm not able to set the variable needed in order to turn off extra fee if is it not needed by customer (clicking the checkbox).
Please help
Many thanks

#2232 bassmaga

  • Community Member
  • 27 posts
  • Real Name:Kamil
  • Gender:Male
  • Location:Poland

Posted 23 September 2011, 21:47

Hi,

I looking for help on this forum all day. I tried to install many versions of OPC (1.5, 1.4, 1.3, and previos- only 1.06 started but I back to 1.5). After instalation I have problem to show /checkout.php page. I have header left and right columns but the rest is blank. When I delete in source style="display:none" I see the script but it don't works. I read a Seve's hints but don't have solution. I don't see a related errors in logs.

osc 2.2rc2a

regards

#2233 Fourpaws

  • Community Member
  • 53 posts
  • Real Name:Claudio
  • Gender:Male

Posted 24 September 2011, 19:29

I have this installed on my store as well as Discount Coupon Codes (by KGT Contribution 4269)

I have just also installed CSS Buttons (Contribution 3328) and cannot get the Redeem Button to show on the "One Page Checkout" page.

I think that the line that needs changing is the following, but what do I change it to - any ideas?

<td class="main">' . tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'id="voucherRedeem"') . '</td>


#2234 Fourpaws

  • Community Member
  • 53 posts
  • Real Name:Claudio
  • Gender:Male

Posted 25 September 2011, 04:19

Ignore previous post - it needed defining

#2235 micopen84

  • Community Member
  • 1 posts
  • Real Name:Michele

Posted 12 October 2011, 09:50

hi, am new to this forum, but I follow him a long time.
in my shop, I installed one page checkout, it works very well,
Now I need to add the additional payments, insurance, special packaging, etc.. extraordinary rendition
everything must loaded as a preview for standard shipping and payment methods.

If any of you can do this job for me, please contact me
Sorry for my bad English. [img]http://forums.oscommerce.com//public/style_emoticons/default/smile.png[/img])))

#2236 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 16 October 2011, 01:59

I use 2.3.1
I still get this error 'there was an error setting payment method, please inform....
I tryed the following but i did not help
catalog/includes/classes/onepage_checkout.php
find
/* Comment line below for oscommerce versions before MS2.2 RC2a */
$confirmation = $GLOBALS[$payment]->confirmation();
 
/* Uncomment line below for oscommerce versions before MS2.2 RC2a */
//$confirmation = $GLOBALS[$payment]->selection();
 
change it to
/* Comment line below for oscommerce versions before MS2.2 RC2a */
//$confirmation = $GLOBALS[$payment]->confirmation();
 
/* Uncomment line below for oscommerce versions before MS2.2 RC2a */
$confirmation = $GLOBALS[$payment]->selection();


#2237 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 17 October 2011, 23:55

View Postpeteravu, on 16 October 2011, 01:59, said:

I use 2.3.1
I still get this error 'there was an error setting payment method, please inform....
I tryed the following but i did not help
catalog/includes/classes/onepage_checkout.php
find
/* Comment line below for oscommerce versions before MS2.2 RC2a */
$confirmation = $GLOBALS[$payment]->confirmation();
 
/* Uncomment line below for oscommerce versions before MS2.2 RC2a */
//$confirmation = $GLOBALS[$payment]->selection();
 
change it to
/* Comment line below for oscommerce versions before MS2.2 RC2a */
//$confirmation = $GLOBALS[$payment]->confirmation();
 
/* Uncomment line below for oscommerce versions before MS2.2 RC2a */
$confirmation = $GLOBALS[$payment]->selection();
Why do I get this error?

#2238 rhubarb

  • Community Member
  • 175 posts
  • Real Name:Nick
  • Location:Southampton UK

Posted 27 October 2011, 10:03

My One Page Checkout works fine with JQuery v1.3.2 but I found thet JQuery v1.4.2 causes errors on first load, the first error is: "There was an error updating your billing address".

Looks like I'm going to have to always include JQuery v1.3.2 and reference this for it to work.

#2239 rhubarb

  • Community Member
  • 175 posts
  • Real Name:Nick
  • Location:Southampton UK

Posted 27 October 2011, 22:15

The jQuery red gear and green tick icons show to the right of the billing fields on my local server but when the files were uploaded to the remote online server none of the icons would show. I checked all the files exist many times.

As a test I copied the html from the checkout page and saved it to an html file then uploaded it and found that all the icons showed on the local server, and on the remote server sometimes the red icons showed (maybe on first load) and always the green tick icon would show adjacent the country field. So the green tick shows on the remote server using the html file but not in the php file.

This has really got me baffled, any ideas please?

#2240 rhubarb

  • Community Member
  • 175 posts
  • Real Name:Nick
  • Location:Southampton UK

Posted 28 October 2011, 11:14

I solved my problem of the icons not showing, by mistake my ftp program was set to upload as plain text, once set to automatic and re-uploaded then it worked.