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

One-Page Checkout [Support Thread]

Views: 629,442

Results 1,161 to 1,180 of 3,078
4 Jun 2019, 2:04 PM
#1161
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

One-Page Checkout [Support Thread]

The ZCA Bootstrap removed the template override files in Version: 2.0.0a

Clear your cache

When you right click the loading image? what image path is returned?

4 Jun 2019, 2:36 PM
#1162
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,279
Plugin Contributions:
37

Re: One-Page Checkout [Support Thread]

rbarbour:

The ZCA Bootstrap removed the template override files in Version: 2.0.0a

Clear your cache

When you right click the loading image? what image path is returned?

The loading image does not display, but when I right click on the words Please Wait ... I am returned the path for the image which is not displaying. I have the following error in Chrome console and the image loads in Chrome, but not in Edge, phones, nor Firefox. (just discovered that)

[Attachment no longer available]

Originally
https://domain.com/includes/templates/template_default/images/confirmation_one_loading.gif
Now, since I copied all of the file from OPC install template_default to the bootstrap directory
https://domain.com/includes/templates/bootstrap/images/confirmation_one_loading.gif

I cleared my cache, still nothing. The question I was posing most recently is where to manually (with a simple img tag) hard code the gif, but I don't think Lat understood.

4 Jun 2019, 2:40 PM
#1163
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

mprough:

The loading image does not display, but when I right click on the words Please Wait ... I am returned the path for the image which is not displaying. I have the following error in Chrome console and the image loads in Chrome, but not in Edge, phones, nor Firefox. (just discovered that)

[Attachment no longer available]

Originally
https://domain.com/includes/templates/template_default/images/confirmation_one_loading.gif
Now, since I copied all of the file from OPC install template_default to the bootstrap directory
https://domain.com/includes/templates/bootstrap/images/confirmation_one_loading.gif

I cleared my cache, still nothing. The question I was posing most recently is where to manually (with a simple img tag) hard code the gif, but I don't think Lat understood.

Well the original image is called from
includes/templates/template_default/templates/tpl_checkout_one_default.php

<div id="checkoutOneLoading" style="display: none;"><?php echo zen_image($template->get_template_dir(CHECKOUT_ONE_LOADING, DIR_WS_TEMPLATE, $current_page_base ,'images') . '/' . CHECKOUT_ONE_LOADING, CHECKOUT_ONE_LOADING_ALT); ?></div>
4 Jun 2019, 2:55 PM
#1164
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: One-Page Checkout [Support Thread]

no need for the inline style "display:none"

this is also set in checkout_one.css
#checkoutOneLoading { position: relative; height: 95vh; top: 50%; left: 50%; display: none; }

5 Jun 2019, 1:15 AM
#1165
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Part 1

Hi, I am new to posting and trying to get all my important ducks in a row so that someone will understand what my problem is and possible be able to help with it.
I am trying to follow the "posting guides" as closely as possible. I am a SAHM who has a hobby website store since 2005(mostly using Zen Cart). I really don't know coding but what I do know I did learn from this fourm. Any Questions I had after finding the correct terms to search for, I have always found the answer here. Now to my issue...
I have a fully functional Live website that is ZenCart version 1.5.6a using the One Page Checkout plugin v. 2.0.5. Php version 7.2.16 and Mysqli version 5.6.43.

Working Plugins besides the One Page Checkout are...
Wishlist
SBA
CEON Uri Mapping
Block Email Manager
Download Already Purchased
Google Recaptcha
Shopping Cart Sidebox
Quantity Discounts
Login as Customer
Ip Blocker
Admin Page Keys
Admin Password Change Display
Display Categories in Separate Boxes
(maybe edit orders?)
I use Paypal Express and Freecharger with the USPS Shipping mod.

Live website is www.goodiesbygail.com It Works great! The temp address for the update is www.goodiesbygail.com/NewStorey/index.php It is in maintenance mode.

Now I have a temp folder within my live store that I have installed a copy of said website(maintenance mode) in, to update to the 1.5.6b version of Zen Cart.
With all the same settings above except now the 1.5.6b version. I am trying to get One Page Checkout 2.1.0 or (Master from Github) to work. I thought I read these were to be the versions compatible with ZC v1.5.6b and PHP 7. Did I read wrong or miss something?
Everything is still working fine but the Once Page Checkout. I can get to the checkout page and it looks good will need a few css tweeks later on but when the CONFIRM THE ORDER button is clicked on the page just loops back on itself. So it is still the Checkout page. Does not do anything else. Not really any error logs but I turned on the debug in the OPC mod I get these, that I have not found answers to yet and i have been looking for a few days now which triggered me to finally post something. Hope I have put the information in the correct formats for the forum.

Error #1

 [04-Jun-2019 18:37:29 America/Chicago] PHP Notice: Undefined index: country_id in /home/goodiesbygail/public_html/NewStorey/includes/modules/order_total/ot_shipping.php on line 29
[04-Jun-2019 18:37:29 America/Chicago] PHP Notice: Undefined variable: ot_class in /home/goodiesbygail/public_html/NewStorey/includes/templates/magic/templates/tpl_modules_opc_credit_selections.php on line 43

I am getting a message my post is too long so I may have to post in multiples. Hope this is ok and all the information can be put together.
Sincerely,
Gail

5 Jun 2019, 1:43 AM
#1166
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Part 2

Error #2 was so long I couldn't post it. file attachment is not working for me. Keep saying invalid but it is in html format.
oh well here is the

Rest of Post...

I have also seen the posts about the F12 Console logs. Here is what it says for me
Microsoft Edge Browser

HTML1300: Navigation occurred.
index.php (1,1)
 HTML1524: Invalid HTML5 DOCTYPE. Consider using the interoperable form "!DOCTYPE html>".
index.php (2,1)
[object Object]: {siteHost: "www.swagbucks.com"}
 PAGEEXT FINISHED: browserInject=[object Object]
SBPageExtension.js (2412,1)
 setFormSubmitButton, payment-module: freecharger
jquery.checkout_one.js (54,13)
 Showing "confirm"
jquery.checkout_one.js (54,13)
 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js (54,13)
 jQuery version: 3.3.1
jquery.checkout_one.js (54,13)
 SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
index.php (1,1)
 submitFunction, 2 arguments: 0, 0, 
jquery.checkout_one.js (54,13)
 Current order total: 0.00, text: $0.00
jquery.checkout_one.js (54,13)
 Order total is 0, setting submitter
jquery.checkout_one.js (54,13)
 submitFunction, on exit submitter=1
jquery.checkout_one.js (54,13)
 Setting orderConfirmed (1), submitter (1)
jquery.checkout_one.js (54,13)
 Submitting order-creating form
jquery.checkout_one.js (54,13)
 Updating shipping method to free_free, processing type: submit
jquery.checkout_one.js (54,13)
[object Object]: {cache: false, data: Object, dataType: "json", error: function (jqXHR, textStatus, errorThrown) { zcLog2Console('error: status='+textStatus+', errorThrown = '+errorThrown+', override: '+jqXHR); if (textStatus == 'timeout') { alert( ajaxTimeoutErrorMessage ); } shippingError = true; }, timeout: 5000...}
 Shipping method updated, error: false
jquery.checkout_one.js (54,13)
 Form submitted, type (submit), orderConfirmed (1)
jquery.checkout_one.js (54,13)
 Form checked, passed (true)
jquery.checkout_one.js (54,13)
2 HTML1300: Navigation occurred.
index.php (1,1)
 HTML1524: Invalid HTML5 DOCTYPE. Consider using the interoperable form "!DOCTYPE html>".
index.php (2,1)
[object Object]: {siteHost: "www.swagbucks.com"}
 PAGEEXT FINISHED: browserInject=[object Object]
SBPageExtension.js (2412,1)
 setFormSubmitButton, payment-module: freecharger
jquery.checkout_one.js (54,13)
 Showing "confirm"
jquery.checkout_one.js (54,13)
 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js (54,13)
 jQuery version: 3.3.1
jquery.checkout_one.js (54,13)
 SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.

Chrome Browser

index.php?main_page=checkout_one:27 A parser-blocking, cross site (i.e. different eTLD+1) script, https://code.jquery.com/jquery-3.3.1.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ index.php?main_page=checkout_one:27
VM1691 SBPageExtension.js:3 SBBrowserInjectChrome {siteHost: "www.swagbucks.com"}
VM1691 SBPageExtension.js:2412 PAGEEXT FINISHED: browserInject=[object Object]
VM1667 jquery.checkout_one.js:54 setFormSubmitButton, payment-module: freecharger
VM1667 jquery.checkout_one.js:54 Showing "confirm"
VM1667 jquery.checkout_one.js:54 Setting orderConfirmed (0), submitter (null)
VM1667 jquery.checkout_one.js:54 jQuery version: 3.3.1
The resource https://pagead2.googlesyndication.com/pagead/js/r20190530/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
VM1667 jquery.checkout_one.js:54 submitFunction, 2 arguments: 0, 0, 
VM1667 jquery.checkout_one.js:54 Current order total: 0.00, text: $0.00
VM1667 jquery.checkout_one.js:54 Order total is 0, setting submitter
VM1667 jquery.checkout_one.js:54 submitFunction, on exit submitter=1
VM1667 jquery.checkout_one.js:54 Setting orderConfirmed (1), submitter (1)
VM1667 jquery.checkout_one.js:54 Submitting order-creating form
VM1667 jquery.checkout_one.js:54 Updating shipping method to free_free, processing type: submit
index.php?main_page=checkout_one:51 {cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, …}
VM1667 jquery.checkout_one.js:54 Shipping method updated, error: false
VM1667 jquery.checkout_one.js:54 Form submitted, type (submit), orderConfirmed (1)
VM1667 jquery.checkout_one.js:54 Form checked, passed (true)
Navigated to https://www.goodiesbygail.com/NewStorey/index.php?main_page=checkout_one
2index.php?main_page=checkout_one:27 A parser-blocking, cross site (i.e. different eTLD+1) script, https://code.jquery.com/jquery-3.3.1.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ index.php?main_page=checkout_one:27
SBPageExtension.js:3 SBBrowserInjectChrome {siteHost: "www.swagbucks.com"}
SBPageExtension.js:2412 PAGEEXT FINISHED: browserInject=[object Object]
jquery.checkout_one.js?1554646729:54 setFormSubmitButton, payment-module: freecharger
jquery.checkout_one.js?1554646729:54 Showing "confirm"
jquery.checkout_one.js?1554646729:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js?1554646729:54 jQuery version: 3.3.1
The resource https://pagead2.googlesyndication.com/pagead/js/r20190530/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionall

Firefox Browser

setFormSubmitButton, payment-module: freecharger jquery.checkout_one.js:54:21
Showing "confirm" jquery.checkout_one.js:54:21
Setting orderConfirmed (0), submitter (null) jquery.checkout_one.js:54:21
jQuery version: 3.3.1 jquery.checkout_one.js:54:21
submitFunction, 2 arguments: 0, 0, jquery.checkout_one.js:54:21
Current order total: 0.00, text: $0.00 jquery.checkout_one.js:54:21
Order total is 0, setting submitter jquery.checkout_one.js:54:21
submitFunction, on exit submitter=1 jquery.checkout_one.js:54:21
Setting orderConfirmed (1), submitter (1) jquery.checkout_one.js:54:21
Submitting order-creating form jquery.checkout_one.js:54:21
Updating shipping method to free_free, processing type: submit jquery.checkout_one.js:54:21
Object { cache: false, type: "POST", traditional: true, dataType: "json", timeout: 5000, data: {…}, url: "ajax.php?act=ajaxOnePageCheckout&method=updateShipping", error: error()
 }
index.php:51:19
Shipping method updated, error: false jquery.checkout_one.js:54:21
Form submitted, type (submit), orderConfirmed (1) jquery.checkout_one.js:54:21
Form checked, passed (true) jquery.checkout_one.js:54:21
Navigated to https://www.goodiesbygail.com/NewStorey/index.php?main_page=checkout_one_confirmation
setFormSubmitButton, payment-module: freecharger jquery.checkout_one.js:54:21
Showing "confirm" jquery.checkout_one.js:54:21
Setting orderConfirmed (0), submitter (null) jquery.checkout_one.js:54:21
jQuery version: 3.3.1

I hope that I have provided enough information and the correct format for the post. I look forward to any suggestions.
Thank you,
Gail

5 Jun 2019, 11:35 AM
#1167
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

...
Error #1

[04-Jun-2019 18:37:29 America/Chicago] PHP Notice: Undefined index: country_id in /home/goodiesbygail/public_html/NewStorey/includes/modules/order_total/ot_shipping.php on line 29
[04-Jun-2019 18:37:29 America/Chicago] PHP Notice: Undefined variable: ot_class in /home/goodiesbygail/public_html/NewStorey/includes/templates/magic/templates/tpl_modules_opc_credit_selections.php on line 43

> 
> 
> I am getting a message my post is too long so I may have to post in multiples. Hope this is ok and all the information can be put together.
> Sincerely,
> Gail
That second PHP Notice is due to an error in OPC's processing when a store (like yours) ***doesn't use*** CSS buttons.  I've created a GitHub [issue](https://github.com/lat9/one_page_checkout/issues/199) to track that change.

Where did that *magic *template come from?
5 Jun 2019, 3:33 PM
#1168
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Thank you so much for the reply. Well I have been using zen cart for many many years and did have that book to help when I started out.
It was a silly suggestion in the book I think for the custom template name. It just stuck and so that is my custom template from the template defaut template.

Thanks,
Gail

5 Jun 2019, 3:54 PM
#1169
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

I looked at the GitHub post and did the suggested change. now error #1 says this...

[05-Jun-2019 10:45:41 America/Chicago] PHP Notice:  Undefined index: country_id in /home/goodiesbygail/public_html/NewStorey/includes/modules/order_total/ot_shipping.php on line 29

```

Also the really long debug message #2 was there too. I have a fake account I use for testing.
<p>2019-06-05 10:45:41 checkout_one: CHECKOUT_ONE_ENTRY, version (2.1.0 (2019-04-07)), Zen Cart version (1.5.6b), template (magic)<br /> 2019-06-05 10:45:41 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: , billto: 1236OnePageCheckout::__set_state(array(<br /> 'isGuestCheckoutEnabled' => false,<br /> 'registeredAccounts' => false,<br /> 'guestIsActive' => false,<br /> 'isEnabled' => true,<br /> 'tempAddressValues' =><br /> array (<br /> 'ship' =><br /> array (<br /> 'gender' => '',<br /> 'company' => '',<br /> 'firstname' => '',<br /> 'lastname' => '',<br /> 'street_address' => '',<br /> 'suburb' => '',<br /> 'city' => '',<br /> 'postcode' => '',<br /> 'state' => '',<br /> 'country' => 223,<br /> 'zone_id' => 0,<br /> 'zone_name' => '',<br /> 'address_book_id' => 0,<br /> 'selected_country' => 223,<br /> 'country_has_zones' => true,<br /> 'state_field_label' => '',<br /> 'show_pulldown_states' => true,<br /> 'error' => false,<br /> 'error_state_input' => false,<br /> 'validated' => false,<br /> ),<br /> 'bill' =><br /> array (<br /> 'gender' => '',<br /> 'company' => '',<br /> 'firstname' => '',<br /> 'lastname' => '',<br /> 'street_address' => '',<br /> 'suburb' => '',<br /> 'city' => '',<br /> 'postcode' => '',<br /> 'state' => '',<br /> 'country' => 223,<br /> 'zone_id' => 0,<br /> 'zone_name' => '',<br /> 'address_book_id' => 0,<br /> 'selected_country' => 223,<br /> 'country_has_zones' => true,<br /> 'state_field_label' => '',<br /> 'show_pulldown_states' => true,<br /> 'error' => false,<br /> 'error_state_input' => false,<br /> 'validated' => false,<br /> ),<br /> ),<br /> 'guestCustomerInfo' => NULL,<br /> 'guestCustomerId' => 6428,<br /> 'tempBilltoAddressBookId' => 6606,<br /> 'tempSendtoAddressBookId' => 6607,<br /> 'dbStringType' => 'stringIgnoreNull',<br /> 'customerInfoOk' => NULL,<br /> 'billtoTempAddrOk' => NULL,<br /> 'sendtoTempAddrOk' => NULL,<br /> 'isVirtualOrder' => true,<br /> 'billtoAddressChangeable' => true,<br /> 'sendtoAddressChangeable' => true,<br /> ))<br /> 2019-06-05 10:45:41 OnePageCheckout: isOrderFreeShipping(), address_book_id = -1, order_country = -1, returning ().<br /> 2019-06-05 10:45:41 OnePageCheckout: updateOrderAddresses, on entry:order::__set_state(array(<br /> 'info' =><br /> array (<br /> 'order_status' => '1',<br /> 'currency' => 'USD',<br /> 'currency_value' => '1.00000000',<br /> 'payment_method' => '',<br /> 'payment_module_code' => '',<br /> 'coupon_code' => '',<br /> 'shipping_method' => 'FREE_SHIPPING_TITLE',<br /> 'shipping_module_code' => 'free_free',<br /> 'shipping_cost' => 0,<br /> 'subtotal' => 0,<br /> 'shipping_tax' => 0,<br /> 'tax' => 0,<br /> 'total' => 0,<br /> 'tax_groups' =><br /> array (<br /> ),<br /> 'comments' => '',<br /> 'ip_address' => '72.182.165.112 - 72.182.165.112',<br /> ),<br /> 'totals' =><br /> array (<br /> ),<br /> 'products' =><br /> array (<br /> ),<br /> 'customer' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'format_id' => 2,<br /> 'telephone' => '',<br /> 'email_address' => '[email protected]',<br /> ),<br /> 'delivery' =><br /> array (<br /> ),<br /> 'billing' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'country_id' => '223',<br /> 'format_id' => 2,<br /> ),<br /> 'content_type' => 'virtual',<br /> 'email_low_stock' => NULL,<br /> 'products_ordered_attributes' => NULL,<br /> 'products_ordered' => NULL,<br /> 'products_ordered_email' => NULL,<br /> 'products_ordered_html' => NULL,<br /> 'attachArray' => NULL,<br /> 'email_order_message' => NULL,<br /> 'extra_header_text' => NULL,<br /> 'doStockDecrement' => NULL,<br /> 'send_low_stock_emails' => NULL,<br /> 'queryReturnFlag' => NULL,<br /> 'bestSellersUpdate' => NULL,<br /> 'use_external_tax_handler_only' => NULL,<br /> 'products_ordered_attributes_html' =><br /> array (<br /> ),<br /> ))OnePageCheckout::__set_state(array(<br /> 'isGuestCheckoutEnabled' => false,<br /> 'registeredAccounts' => false,<br /> 'guestIsActive' => false,<br /> 'isEnabled' => true,<br /> 'tempAddressValues' =><br /> array (<br /> 'ship' =><br /> array (<br /> 'gender' => '',<br /> 'company' => '',<br /> 'firstname' => '',<br /> 'lastname' => '',<br /> 'street_address' => '',<br /> 'suburb' => '',<br /> 'city' => '',<br /> 'postcode' => '',<br /> 'state' => '',<br /> 'country' => 223,<br /> 'zone_id' => 0,<br /> 'zone_name' => '',<br /> 'address_book_id' => 0,<br /> 'selected_country' => 223,<br /> 'country_has_zones' => true,<br /> 'state_field_label' => '',<br /> 'show_pulldown_states' => true,<br /> 'error' => false,<br /> 'error_state_input' => false,<br /> 'validated' => false,<br /> ),<br /> 'bill' =><br /> array (<br /> 'gender' => '',<br /> 'company' => '',<br /> 'firstname' => '',<br /> 'lastname' => '',<br /> 'street_address' => '',<br /> 'suburb' => '',<br /> 'city' => '',<br /> 'postcode' => '',<br /> 'state' => '',<br /> 'country' => 223,<br /> 'zone_id' => 0,<br /> 'zone_name' => '',<br /> 'address_book_id' => 0,<br /> 'selected_country' => 223,<br /> 'country_has_zones' => true,<br /> 'state_field_label' => '',<br /> 'show_pulldown_states' => true,<br /> 'error' => false,<br /> 'error_state_input' => false,<br /> 'validated' => false,<br /> ),<br /> ),<br /> 'guestCustomerInfo' => NULL,<br /> 'guestCustomerId' => 6428,<br /> 'tempBilltoAddressBookId' => 6606,<br /> 'tempSendtoAddressBookId' => 6607,<br /> 'dbStringType' => 'stringIgnoreNull',<br /> 'customerInfoOk' => NULL,<br /> 'billtoTempAddrOk' => NULL,<br /> 'sendtoTempAddrOk' => NULL,<br /> 'isVirtualOrder' => true,<br /> 'billtoAddressChangeable' => true,<br /> 'sendtoAddressChangeable' => true,<br /> ))<br /> 2019-06-05 10:45:41 OnePageCheckout: Current sendto:<br /> 2019-06-05 10:45:41 OnePageCheckout: updateOrderAddresses, , , 223, 57<br /> {"firstname":"Amethyst","lastname":"Wilson","company":null,"street_address":"2409 Bentley Dr.","suburb":"","city":"Grand Prairie","postcode":"75052","state":"Texas","zone_id":"57","country":{"id":"223","title":"United States","iso_code_2":"US","iso_code_3":"USA"},"format_id":2,"telephone":"","email_address":"[email protected]"}<br /> {"firstname":"Amethyst","lastname":"Wilson","company":null,"street_address":"2409 Bentley Dr.","suburb":"","city":"Grand Prairie","postcode":"75052","state":"Texas","zone_id":"57","country":{"id":"223","title":"United States","iso_code_2":"US","iso_code_3":"USA"},"country_id":"223","format_id":2}<br /> []<br /> 2019-06-05 10:45:41 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_QUOTES<br /> array (<br /> 'id' => 'free_free',<br /> 'title' => 'FREE_SHIPPING_TITLE',<br /> 'cost' => 0,<br /> )order::__set_state(array(<br /> 'info' =><br /> array (<br /> 'order_status' => '1',<br /> 'currency' => 'USD',<br /> 'currency_value' => '1.00000000',<br /> 'payment_method' => '',<br /> 'payment_module_code' => '',<br /> 'coupon_code' => '',<br /> 'shipping_method' => 'FREE_SHIPPING_TITLE',<br /> 'shipping_module_code' => 'free_free',<br /> 'shipping_cost' => 0,<br /> 'subtotal' => 0.0,<br /> 'shipping_tax' => 0,<br /> 'tax' => 0.0,<br /> 'total' => 0.0,<br /> 'tax_groups' =><br /> array (<br /> 'Sales Tax' => 0.0,<br /> ),<br /> 'comments' => '',<br /> 'ip_address' => '72.182.165.112 - 72.182.165.112',<br /> ),<br /> 'totals' =><br /> array (<br /> ),<br /> 'products' =><br /> array (<br /> 0 =><br /> array (<br /> 'qty' => 1.0,<br /> 'name' => '* May 2019 *',<br /> 'model' => 'F',<br /> 'tax_groups' =><br /> array (<br /> 'Sales Tax' => 0,<br /> ),<br /> 'tax_description' => 'Sales Tax',<br /> 'price' => '0.0000',<br /> 'final_price' => 0.0,<br /> 'onetime_charges' => 0,<br /> 'weight' => 0,<br /> 'products_priced_by_attribute' => '0',<br /> 'product_is_free' => '0',<br /> 'products_discount_type' => '0',<br /> 'products_discount_type_from' => '0',<br /> 'id' => '658:4848537101bc49281b020978345a2956',<br /> 'rowClass' => 'rowEven',<br /> 'products_weight' => 0.0,<br /> 'products_virtual' => 0,<br /> 'product_is_always_free_shipping' => 0,<br /> 'products_quantity_order_min' => 1.0,<br /> 'products_quantity_order_units' => 1.0,<br /> 'products_quantity_order_max' => 1.0,<br /> 'products_quantity_mixed' => 0,<br /> 'products_mixed_discount_quantity' => 1,<br /> 'tax' => 0,<br /> 'customid' =><br /> array (<br /> 'value' => 'F',<br /> 'type' => 'none',<br /> ),<br /> 'attributes' =><br /> array (<br /> 0 =><br /> array (<br /> 'option' => 'Format & Sizes',<br /> 'value' => 'Multi Format Zip',<br /> 'option_id' => 2,<br /> 'value_id' => '63',<br /> 'prefix' => '+',<br /> 'price' => '0.0000',<br /> ),<br /> ),<br /> ),<br /> ),<br /> 'customer' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'format_id' => 2,<br /> 'telephone' => '',<br /> 'email_address' => '[email protected]',<br /> ),<br /> 'delivery' =><br /> array (<br /> ),<br /> 'billing' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'country_id' => '223',<br /> 'format_id' => 2,<br /> ),<br /> 'content_type' => 'virtual',<br /> 'email_low_stock' => NULL,<br /> 'products_ordered_attributes' => NULL,<br /> 'products_ordered' => NULL,<br /> 'products_ordered_email' => NULL,<br /> 'products_ordered_html' => NULL,<br /> 'attachArray' => NULL,<br /> 'email_order_message' => NULL,<br /> 'extra_header_text' => NULL,<br /> 'doStockDecrement' => NULL,<br /> 'send_low_stock_emails' => NULL,<br /> 'queryReturnFlag' => NULL,<br /> 'bestSellersUpdate' => NULL,<br /> 'use_external_tax_handler_only' => false,<br /> 'products_ordered_attributes_html' =><br /> array (<br /> ),<br /> ))messageStack::__set_state(array(<br /> 'messages' =><br /> array (<br /> 0 =><br /> array (<br /> 'params' => 'class="messageStackWarning larger"',<br /> 'class' => 'header',<br /> 'text' => '<img src="includes/templates/magic/images/icons/warning.gif" alt="Warning" title=" Warning " width="20" height="20" /> NOTICE: The website is currently Down For Maintenance to the public',<br /> ),<br /> ),<br /> ))array (<br /> )<br /> 2019-06-05 10:45:41 checkout_one: CHECKOUT_ONE_AFTER_ORDER_TOTAL_PROCESSING<br /> order_total::__set_state(array(<br /> 'modules' =><br /> array (<br /> 0 => 'ot_subtotal.php',<br /> 1 => 'ot_shipping.php',<br /> 2 => 'ot_quantity_discount.php',<br /> 3 => 'ot_coupon.php',<br /> 4 => 'ot_total.php',<br /> ),<br /> ))order::__set_state(array(<br /> 'info' =><br /> array (<br /> 'order_status' => '1',<br /> 'currency' => 'USD',<br /> 'currency_value' => '1.00000000',<br /> 'payment_method' => '',<br /> 'payment_module_code' => '',<br /> 'coupon_code' => '',<br /> 'shipping_method' => 'Free Shipping',<br /> 'shipping_module_code' => 'free_free',<br /> 'shipping_cost' => 0,<br /> 'subtotal' => 0.0,<br /> 'shipping_tax' => 0,<br /> 'tax' => 0.0,<br /> 'total' => 0.0,<br /> 'tax_groups' =><br /> array (<br /> 'Sales Tax' => 0.0,<br /> ),<br /> 'comments' => '',<br /> 'ip_address' => '72.182.165.112 - 72.182.165.112',<br /> ),<br /> 'totals' =><br /> array (<br /> ),<br /> 'products' =><br /> array (<br /> 0 =><br /> array (<br /> 'qty' => 1.0,<br /> 'name' => '* May 2019 *',<br /> 'model' => 'F',<br /> 'tax_groups' =><br /> array (<br /> 'Sales Tax' => 0,<br /> ),<br /> 'tax_description' => 'Sales Tax',<br /> 'price' => '0.0000',<br /> 'final_price' => 0.0,<br /> 'onetime_charges' => 0,<br /> 'weight' => 0,<br /> 'products_priced_by_attribute' => '0',<br /> 'product_is_free' => '0',<br /> 'products_discount_type' => '0',<br /> 'products_discount_type_from' => '0',<br /> 'id' => '658:4848537101bc49281b020978345a2956',<br /> 'rowClass' => 'rowEven',<br /> 'products_weight' => 0.0,<br /> 'products_virtual' => 0,<br /> 'product_is_always_free_shipping' => 0,<br /> 'products_quantity_order_min' => 1.0,<br /> 'products_quantity_order_units' => 1.0,<br /> 'products_quantity_order_max' => 1.0,<br /> 'products_quantity_mixed' => 0,<br /> 'products_mixed_discount_quantity' => 1,<br /> 'tax' => 0,<br /> 'customid' =><br /> array (<br /> 'value' => 'F',<br /> 'type' => 'none',<br /> ),<br /> 'attributes' =><br /> array (<br /> 0 =><br /> array (<br /> 'option' => 'Format & Sizes',<br /> 'value' => 'Multi Format Zip',<br /> 'option_id' => 2,<br /> 'value_id' => '63',<br /> 'prefix' => '+',<br /> 'price' => '0.0000',<br /> ),<br /> ),<br /> ),<br /> ),<br /> 'customer' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'format_id' => 2,<br /> 'telephone' => '',<br /> 'email_address' => '[email protected]',<br /> ),<br /> 'delivery' =><br /> array (<br /> ),<br /> 'billing' =><br /> array (<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'company' => NULL,<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => 'Texas',<br /> 'zone_id' => '57',<br /> 'country' =><br /> array (<br /> 'id' => '223',<br /> 'title' => 'United States',<br /> 'iso_code_2' => 'US',<br /> 'iso_code_3' => 'USA',<br /> ),<br /> 'country_id' => '223',<br /> 'format_id' => 2,<br /> ),<br /> 'content_type' => 'virtual',<br /> 'email_low_stock' => NULL,<br /> 'products_ordered_attributes' => NULL,<br /> 'products_ordered' => NULL,<br /> 'products_ordered_email' => NULL,<br /> 'products_ordered_html' => NULL,<br /> 'attachArray' => NULL,<br /> 'email_order_message' => NULL,<br /> 'extra_header_text' => NULL,<br /> 'doStockDecrement' => NULL,<br /> 'send_low_stock_emails' => NULL,<br /> 'queryReturnFlag' => NULL,<br /> 'bestSellersUpdate' => NULL,<br /> 'use_external_tax_handler_only' => false,<br /> 'products_ordered_attributes_html' =><br /> array (<br /> ),<br /> ))messageStack::__set_state(array(<br /> 'messages' =><br /> array (<br /> 0 =><br /> array (<br /> 'params' => 'class="messageStackWarning larger"',<br /> 'class' => 'header',<br /> 'text' => '<img src="includes/templates/magic/images/icons/warning.gif" alt="Warning" title=" Warning " width="20" height="20" /> NOTICE: The website is currently Down For Maintenance to the public',<br /> ),<br /> ),<br /> ))<br /> 2019-06-05 10:45:41 checkout_one: CHECKOUT_ONE_AFTER_PAYMENT_MODULES_SELECTION<br /> payment::__set_state(array(<br /> 'modules' =><br /> array (<br /> 0 => 'paypalwpp.php',<br /> 1 => 'freecharger.php',<br /> ),<br /> 'selected_module' => '',<br /> 'doesCollectsCardDataOnsite' => false,<br /> 'paymentClass' =><br /> freecharger::__set_state(array(<br /> 'code' => 'freecharger',<br /> 'title' => 'Free Order',<br /> 'description' => 'There is no charge for this order. Typically used for granting Free Shipping. Required to allow no-charge checkouts. Required for free downloads.',<br /> 'enabled' => true,<br /> 'sort_order' => '5',<br /> 'email_footer' => 'There is no charge for this order.',<br /> )),<br /> ))array (<br /> 'id' => 'free_free',<br /> 'title' => 'FREE_SHIPPING_TITLE',<br /> 'cost' => 0,<br /> )<br /> 2019-06-05 10:45:41 OnePageCheckout: getAddressValuesFromDb(1236), returning: array (<br /> 'gender' => '',<br /> 'company' => NULL,<br /> 'firstname' => 'Amethyst',<br /> 'lastname' => 'Wilson',<br /> 'street_address' => '2409 Bentley Dr.',<br /> 'suburb' => '',<br /> 'city' => 'Grand Prairie',<br /> 'postcode' => '75052',<br /> 'state' => '',<br /> 'country' => '223',<br /> 'zone_id' => '57',<br /> 'zone_name' => 'Texas',<br /> 'address_book_id' => '1236',<br /> 'error' => false,<br /> 'error_state_input' => false,<br /> 'country_has_zones' => true,<br /> )</p> ```******
5 Jun 2019, 5:33 PM
#1170
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

also getting this new error message...

[05-Jun-2019 12:29:02 America/Chicago] PHP Notice:  Trying to get property 'delivery' of non-object in /home/goodiesbygail/public_html/NewStorey/includes/classes/OnePageCheckout.php on line 169

Pressing Confirm the Order still loops back to checkout page. Never completing the purchase. If I disable OPC the order does goes through correctly.

5 Jun 2019, 5:46 PM
#1171
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

also getting this new error message...

[05-Jun-2019 12:29:02 America/Chicago] PHP Notice: Trying to get property 'delivery' of non-object in /home/goodiesbygail/public_html/NewStorey/includes/classes/OnePageCheckout.php on line 169

">> Pressing Confirm the Order still loops back to checkout page. Never completing the purchase. If I disable OPC the order does goes through correctly.
> 
Does the same issue occur if you change, for this test, the store's template to use the "Responsive Classic" template?  That PHP Notice indicates that the order's delivery address isn't set; are your store's products, by chance, all 'virtual'?
5 Jun 2019, 7:20 PM
#1172
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Yes this occurs if I change the template. Some of my products are downloads and others are shipped through mail. I thought downloads are not considered "virtual".

5 Jun 2019, 7:32 PM
#1173
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

Yes this occurs if I change the template. Some of my products are downloads and others are shipped through mail. I thought downloads are not considered "virtual".
Downloads **are **considered virtual. I've just posted v2.1.1 of OPC on its GitHub repository and am preparing to submit to the Zen Cart plugins for review.

You might try that version to see if it corrects your issues, as I've discovered (thanks to your posting) that there's a serious issue with virtual-only orders in v2.1.0.:(

5 Jun 2019, 7:35 PM
#1174
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

As mentioned above, I've just submitted v2.1.1 of OPC to the Zen Cart moderators for review; I'll post back when it's available for download.

 This release contains changes associated with the following GitHub issues:

#198: Add TEXT/HTML email choice to post-checkout guest account conversion.
#199: Correct debug-log thrown when a store uses non-CSS buttons.
#200: Correct virtual orders can't be checked out.

5 Jun 2019, 7:36 PM
#1175
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Ok I will try that, Thank you. Sorry to be the "Debbie Downer" of the forum. lol Was very hesitant to make a support type post of my own. I have always found answers on the forums. Your help has truly been appreciated and I will report back on if the change works.

5 Jun 2019, 7:45 PM
#1176
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Woo Hoo it went through!!! Thank you! Thank you!
I did get this php log

[05-Jun-2019 14:43:32 America/Chicago] PHP Notice:  Undefined index: country_id in /home/goodiesbygail/public_html/NewStorey/includes/modules/order_total/ot_shipping.php on line 29

5 Jun 2019, 7:57 PM
#1177
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Ok it works and sends the order through. Other than the short PHP Notice I posted above this new log appeared...

[05-Jun-2019 14:55:36 America/Chicago] Request URI: /NewStorey/index.php?main_page=checkout_process, IP address: 72.182.165.112
#1  strpos() called at [/home/goodiesbygail/public_html/NewStorey/includes/classes/order.php:681]
#2  order->create() called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php:88]
#3  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php:14]
#4  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/NewStorey/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/NewStorey/includes/classes/order.php on line 681.

[05-Jun-2019 14:55:36 America/Chicago] Request URI: /NewStorey/index.php?main_page=checkout_process, IP address: 72.182.165.112
#1  mysqli_real_escape_string() called at [/home/goodiesbygail/public_html/NewStorey/includes/classes/db/mysql/query_factory.php:122]
#2  queryFactory->prepare_input() called at [/home/goodiesbygail/public_html/NewStorey/includes/classes/db/mysql/query_factory.php:516]
#3  queryFactory->prepareInput() called at [/home/goodiesbygail/public_html/NewStorey/includes/functions/functions_general.php:896]
#4  zen_db_input() called at [/home/goodiesbygail/public_html/NewStorey/includes/functions/functions_general.php:929]
#5  zen_db_perform() called at [/home/goodiesbygail/public_html/NewStorey/includes/classes/order.php:696]
#6  order->create() called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php:88]
#7  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php:14]
#8  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/NewStorey/index.php:36]
--> PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/goodiesbygail/public_html/NewStorey/includes/classes/db/mysql/query_factory.php on line 122.

[05-Jun-2019 14:55:36 America/Chicago] Request URI: /NewStorey/index.php?main_page=checkout_process, IP address: 72.182.165.112
#1  strpos() called at [/home/goodiesbygail/public_html/NewStorey/includes/classes/order.php:1068]
#2  order->send_order_email() called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php:97]
#3  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/checkout_process.php) called at [/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php:14]
#4  require(/home/goodiesbygail/public_html/NewStorey/includes/modules/pages/checkout_process/header_php.php) called at [/home/goodiesbygail/public_html/NewStorey/index.php:36]
--> PHP Warning: strpos() expects parameter 1 to be string, array given in /home/goodiesbygail/public_html/NewStorey/includes/classes/order.php on line 1068.

5 Jun 2019, 9:13 PM
#1178
goofygrrl2 avatar

goofygrrl2

New Zenner

Join Date:
Jun 2007
Location:
Texas
Posts:
41
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Well do not know where those came from. I have not been able to recreate the log. Good or Bad?

6 Jun 2019, 11:34 AM
#1179
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

Ok I will try that, Thank you. Sorry to be the "Debbie Downer" of the forum. lol Was very hesitant to make a support type post of my own. I have always found answers on the forums. Your help has truly been appreciated and I will report back on if the change works.
You were not a "Debbie Downer"; the level of information that you provided was what pointed me to the source of the problem you identified!

GoofyGrrl2:

Well do not know where those came from. I have not been able to recreate the log. Good or Bad?
Perhaps good; I'd call it "good" to have not received those logs if, for that checkout, the products in the cart were identical to those when the original log(s) were created.

Thank ***you ***for performing that up-front information-gathering that led to a quick resolution of the issue.

6 Jun 2019, 11:37 AM
#1180
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,686
Plugin Contributions:
56

Re: One-Page Checkout [Support Thread]

GoofyGrrl2:

Sorry to be the "Debbie Downer" of the forum.

You have a loooooong way to go before you become the Debbie Downer of the forum. :)