Zen Cart Logo
Forums / All Other Contributions/Addons / One-Page Checkout [Support Thread]

One-Page Checkout [Support Thread]

Views: 629,358

Results 2,001 to 2,020 of 3,077
10 May 2021, 6:02 PM
#2001
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

One-Page Checkout [Support Thread]

A link to the site would help. If you don't want to 'publish' it, you can send it to me via the Private Message feature on the Zen Cart forums (refer to that link in the top menu-bar).

10 May 2021, 6:22 PM
#2002
lintong avatar

lintong

New Zenner

Join Date:
May 2021
Location:
UK
Posts:
5
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Sorry... of course - pollardscoffee.co.uk

Thank you

10 May 2021, 6:39 PM
#2003
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

The site, when viewed with FireFox shows an insecure connection for the main page (it shows 'secure' for the Contact Us page, as it should).

Are you really, really sure that both the HTTP_SERVER and HTTPS_SERVER definitions indicate https://http://pollardscoffee.co.uk?

10 May 2021, 7:29 PM
#2004
lintong avatar

lintong

New Zenner

Join Date:
May 2021
Location:
UK
Posts:
5
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Thank you. Here are my setting - includes = * Enter the domain for your store

  • If you have SSL, enter the correct https address in BOTH the HTTP_SERVER and HTTPS_SERVER settings, instead of just an http address.
    */
    define('HTTP_SERVER', 'https://pollardscoffee.co.uk');
    define('HTTPS_SERVER', 'https://pollardscoffee.co.uk');

/**

  • If you have https enabled on your website, set this to 'true'
    */
    define('ENABLE_SSL', 'true');

and the admin folder =

define('HTTP_SERVER', 'https://pollardscoffee.co.uk');
/**

  • Note about HTTPS_SERVER:
  • There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
    */

/**

  • Note about DIR_WS_ADMIN
  • The DIR_WS_ADMIN value is now auto-detected.
  • In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
    */

/**

  • Enter the domain for your storefront URL.
  • Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
    */
    define('HTTP_CATALOG_SERVER', 'https://pollardscoffee.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://pollardscoffee.co.uk');

/**

  • Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
    */
    define('ENABLE_SSL_CATALOG', 'true');

Could it be an issue with the certificate?

10 May 2021, 7:42 PM
#2005
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

What happens if you temporarily change your template to the built-in responsive_classic? Does it display the same behavior?

Just trying to see if it could be a template-related issue.

10 May 2021, 7:55 PM
#2006
lintong avatar

lintong

New Zenner

Join Date:
May 2021
Location:
UK
Posts:
5
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I get the same Whoops timeout message

11 May 2021, 11:36 AM
#2007
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

Lintong:

I get the same Whoops timeout message
OK, that weeds out the possibility of the template. What other plugins or changes have been installed/made to the site?

The issue that you're having has to do with the site's session creation/maintenance. Who's your webhost and what version of PHP is in use?

13 May 2021, 7:05 PM
#2008
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I'm following up on a post from several weeks ago. Client just approved installing the current version. I have 2.3.8 installed and getting the same error I was before when clicking update for the address section in guest checkout:

setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 1.7.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at Object.<anonymous> (jquery.checkout_one.js?1618668915:998)
at n (jscript__jquery.min.js:2)
at Object.fireWith (jscript__jquery.min.js:2)
at Object.fire [as resolve] (jscript__jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:66)
at n (jscript__jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript__jquery.min.js:2)
at w (jscript__jquery.min.js:4)
at XMLHttpRequest.d (jscript__jquery.min.js:4)

Zen Cart 1.5.7a
PHP 7.2

I did copy the one extra file in /includes/modules/pages/checkout_payment to /includes/modules/pages/checkout_one. It was: jscript_double_submit.php

13 May 2021, 7:24 PM
#2009
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

jeking:

I'm following up on a post from several weeks ago. Client just approved installing the current version. I have 2.3.8 installed and getting the same error I was before when clicking update for the address section in guest checkout:

setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 1.7.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:58 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at Object.<anonymous> (jquery.checkout_one.js?1618668915:998)
at n (jscript__jquery.min.js:2)
at Object.fireWith (jscript__jquery.min.js:2)
at Object.fire [as resolve] (jscript__jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:66)
at n (jscript__jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript__jquery.min.js:2)
at w (jscript__jquery.min.js:4)
at XMLHttpRequest.d (jscript__jquery.min.js:4)

Zen Cart 1.5.7a
PHP 7.2

I did copy the one extra file in /includes/modules/pages/checkout_payment to /includes/modules/pages/checkout_one. It was: jscript_double_submit.php
You need to upgrade to a now-extant version of jQuery. Current version is 3.6.0; zc157c ships with 3.5.1.

13 May 2021, 8:14 PM
#2010
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

You need to upgrade to a now-extant version of jQuery. Current version is 3.6.0; zc157c ships with 3.5.1.

We had tried that when OPC was 2.3.4 and still got this error. I've updated the site to 3.5.1 and get the same error:

jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at Object.s.<computed> [as resolve] (jscript_jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:64)
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at l (jscript_jquery.min.js:2)
at XMLHttpRequest.<anonymous> (jscript_jquery.min.js:2)

Just noticed I'm using the minified. Do you need the unminified to get the right line numbers?

14 May 2021, 11:34 AM
#2011
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

jeking:

We had tried that when OPC was 2.3.4 and still got this error. I've updated the site to 3.5.1 and get the same error:

jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at Object.s.<computed> [as resolve] (jscript_jquery.min.js:2)
at Object.success (index.php?main_page=checkout_one:64)
at c (jscript_jquery.min.js:2)
at Object.fireWith [as resolveWith] (jscript_jquery.min.js:2)
at l (jscript_jquery.min.js:2)
at XMLHttpRequest.<anonymous> (jscript_jquery.min.js:2)

Just noticed I'm using the minified. Do you need the unminified to get the right line numbers?
Yes, unminified version will pinpoint where the issue is sourced.

14 May 2021, 1:13 PM
#2012
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Thank you for the continued help. Here is the entire console log with the unminified 3.5.1

jscript_jquery.js:10353 Uncaught TypeError: url.indexOf is not a function
at jQuery.fn.init.jQuery.fn.load (jscript_jquery.js:10353)
at jscript_menu_conf.js:91
jQuery.fn.load @ jscript_jquery.js:10353
(anonymous) @ jscript_menu_conf.js:91
jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:64)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
(anonymous) @ jquery.checkout_one.js?1618668915:998
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
deferred.<computed> @ jscript_jquery.js:3964
success @ index.php?main_page=checkout_one:64
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
done @ jscript_jquery.js:9786
(anonymous) @ jscript_jquery.js:10047
load (async)
send @ jscript_jquery.js:10066
ajax @ jscript_jquery.js:9682
(anonymous) @ index.php?main_page=checkout_one:76
Deferred @ jscript_jquery.js:3979
zcJS.ajax @ index.php?main_page=checkout_one:42
saveCustomerInfo @ jquery.checkout_one.js?1618668915:976
saveBilling @ jquery.checkout_one.js?1618668915:734
dispatch @ jscript_jquery.js:5429
elemData.handle @ jscript_jquery.js:5233

14 May 2021, 3:05 PM
#2013
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

jeking:

Thank you for the continued help. Here is the entire console log with the unminified 3.5.1

jscript_jquery.js:10353 Uncaught TypeError: url.indexOf is not a function
at jQuery.fn.init.jQuery.fn.load (jscript_jquery.js:10353)
at jscript_menu_conf.js:91

jQuery.fn.load @ jscript_jquery.js:10353
(anonymous) @ jscript_menu_conf.js:91
jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:56 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000,##…}
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:64)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
(anonymous) @ jquery.checkout_one.js?1618668915:998
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
deferred.<computed> @ jscript_jquery.js:3964
success @ index.php?main_page=checkout_one:64
fire @ jscript_jquery.js:3496
fireWith @ jscript_jquery.js:3626
done @ jscript_jquery.js:9786
(anonymous) @ jscript_jquery.js:10047
load (async)
send @ jscript_jquery.js:10066
ajax @ jscript_jquery.js:9682
(anonymous) @ index.php?main_page=checkout_one:76
Deferred @ jscript_jquery.js:3979
zcJS.ajax @ index.php?main_page=checkout_one:42
saveCustomerInfo @ jquery.checkout_one.js?1618668915:976
saveBilling @ jquery.checkout_one.js?1618668915:734
dispatch @ jscript_jquery.js:5429
elemData.handle @ jscript_jquery.js:5233
The highlighted script has polluted the jQuery/javascript pool.

14 May 2021, 4:03 PM
#2014
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I've removed that file but still getting the same error:

jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:55 Object
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:63)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)

14 May 2021, 4:13 PM
#2015
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

jeking:

I've removed that file but still getting the same error:

jquery.checkout_one.js?1618668915:54 setFormSubmitButton, payment-module: null
jquery.checkout_one.js?1618668915:54 Showing "confirm"
jquery.checkout_one.js?1618668915:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1618668915:54 jQuery version: 3.5.1
jquery.checkout_one.js?1618668915:54 saveCustomerInfo, starts ...
index.php?main_page=checkout_one:55 Object
jquery.checkout_one.js?1618668915:998 Uncaught TypeError: Cannot read property 'length' of null
at jquery.checkout_one.js?1618668915:998
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at Object.deferred.<computed> [as resolve] (jscript_jquery.js:3964)
at Object.success (index.php?main_page=checkout_one:63)
at fire (jscript_jquery.js:3496)
at Object.fireWith [as resolveWith] (jscript_jquery.js:3626)
at done (jscript_jquery.js:9786)
at XMLHttpRequest.<anonymous> (jscript_jquery.js:10047)
Jim, send a link to the site to my direct email.

2 Jun 2021, 10:29 AM
#2016
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

Zen Cart 1.5.7b
OPC 2.3.7-beta2 (2021-01-17)
PHP Version: 7.1.33
Shipping modules used: Storepickup, Advanced Shipper

Any suggestions as to why this message is frequently displayed when going through checkout?

"It's taking a little longer than normal to update your order's shipping cost. Please close this message and try again. If you continue to receive this message, please contact us."

Sometimes it has to be closed 2 or 3 times before you can actually complete checkout.

2 Jun 2021, 12:26 PM
#2017
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

strelitzia:

Zen Cart 1.5.7b
OPC 2.3.7-beta2 (2021-01-17)
PHP Version: 7.1.33
Shipping modules used: Storepickup, Advanced Shipper

Any suggestions as to why this message is frequently displayed when going through checkout?

"It's taking a little longer than normal to update your order's shipping cost. Please close this message and try again. If you continue to receive this message, please contact us."

Sometimes it has to be closed 2 or 3 times before you can actually complete checkout.
That's the result of having a 'number of' shipping modules (e.g. USPS, UPS and FedEx) where the quote-generation latency gets long. You can control the timeout via configuration of the Update Shipping AJAX Time-out setting (defaults to 5 seconds, which is a ton of time).

2 Jun 2021, 12:51 PM
#2018
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

lat9:

That's the result of having a 'number of' shipping modules (e.g. USPS, UPS and FedEx) where the quote-generation latency gets long. You can control the timeout via configuration of the Update Shipping AJAX Time-out setting (defaults to 5 seconds, which is a ton of time).

The shipping isn't using ANY external shipping methods. They are all methods set within Advanced Shipper for specific locations, weights, and order values. I don't really understand why it's doing this as the shipping cost is displayed next to the various checkboxes as soon as you get to checkout. There is no delay in the method cost being displayed on screen.

2 Jun 2021, 1:13 PM
#2019
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

strelitzia:

The shipping isn't using ANY external shipping methods. They are all methods set within Advanced Shipper for specific locations, weights, and order values. I don't really understand why it's doing this as the shipping cost is displayed next to the various checkboxes as soon as you get to checkout. There is no delay in the method cost being displayed on screen.
That's bizarre. Are there a ton of logs being generated?

2 Jun 2021, 1:29 PM
#2020
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: One-Page Checkout [Support Thread]

I'm seeing instances of this in the log directory, although I don't yet know if that is being generated at the same time as the Ajax timeout occurs
PHP Notice: Malformed value for session-based shipping module; customer will need to re-select: false in /home/mysite/public_html/includes/classes/order.php on line 323
I recall reading that others have experienced this error log and it may be a ZC bug?

Also seeing a few instances of this:

[26-Apr-2021 16:44:22 Europe/London] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShipping, IP address: 79.66.5.148
#1 trigger_error() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:1361]
#2 OnePageCheckout->inputPreCheck() called at [/home/mysite/public_html/includes/classes/OnePageCheckout.php:903]
#3 OnePageCheckout->validateBilltoSendto() called at [/home/mysite/public_html/includes/classes/ajax/zcAjaxOnePageCheckout.php:61]
#4 zcAjaxOnePageCheckout->updateShipping() called at [/home/mysite/public_html/ajax.php:85]
--> PHP Fatal error: Invalid request, tempAddressValues not set. in /home/mysite/public_html/includes/classes/OnePageCheckout.php on line 1361.

And this:
[31-May-2021 12:14:02 UTC] PHP Fatal error: Uncaught Error: Call to a member function isLoggedIn() on null in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php:341
Stack trace:
#0 /home/mysite/public_html/includes/classes/class.base.php(118): checkout_one_observer->update(Object(notifier), 'NOTIFY_ZEN_IS_L...', '', false, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
#1 /home/mysite/public_html/includes/functions/functions_customers.php(275): base->notify('NOTIFY_ZEN_IS_L...', '', false)
#2 /home/mysite/public_html/includes/templates/jsweb/common/html_header.php(156): zen_is_logged_in()
#3 /home/mysite/public_html/index.php(42): require('/home/balloonm/...')
#4 {main}
thrown in /home/mysite/public_html/includes/classes/observers/class.checkout_one_observer.php on line 341