Page 1 of 2 12 LastLast
Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default 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
    Kind Regards,
    Gail
    www.goodiesbygail.com

  2. #2
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    I looked at the GitHub post and did the suggested change. now error #1 says this...
    Code:
    [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.
    Code:
    <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' =&gt; false,<br />
    'registeredAccounts' =&gt; false,<br />
    'guestIsActive' =&gt; false,<br />
    'isEnabled' =&gt; true,<br />
    'tempAddressValues' =&gt;<br />
    array (<br />
    'ship' =&gt;<br />
    array (<br />
    'gender' =&gt; '',<br />
    'company' =&gt; '',<br />
    'firstname' =&gt; '',<br />
    'lastname' =&gt; '',<br />
    'street_address' =&gt; '',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; '',<br />
    'postcode' =&gt; '',<br />
    'state' =&gt; '',<br />
    'country' =&gt; 223,<br />
    'zone_id' =&gt; 0,<br />
    'zone_name' =&gt; '',<br />
    'address_book_id' =&gt; 0,<br />
    'selected_country' =&gt; 223,<br />
    'country_has_zones' =&gt; true,<br />
    'state_field_label' =&gt; '',<br />
    'show_pulldown_states' =&gt; true,<br />
    'error' =&gt; false,<br />
    'error_state_input' =&gt; false,<br />
    'validated' =&gt; false,<br />
    ),<br />
    'bill' =&gt;<br />
    array (<br />
    'gender' =&gt; '',<br />
    'company' =&gt; '',<br />
    'firstname' =&gt; '',<br />
    'lastname' =&gt; '',<br />
    'street_address' =&gt; '',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; '',<br />
    'postcode' =&gt; '',<br />
    'state' =&gt; '',<br />
    'country' =&gt; 223,<br />
    'zone_id' =&gt; 0,<br />
    'zone_name' =&gt; '',<br />
    'address_book_id' =&gt; 0,<br />
    'selected_country' =&gt; 223,<br />
    'country_has_zones' =&gt; true,<br />
    'state_field_label' =&gt; '',<br />
    'show_pulldown_states' =&gt; true,<br />
    'error' =&gt; false,<br />
    'error_state_input' =&gt; false,<br />
    'validated' =&gt; false,<br />
    ),<br />
    ),<br />
    'guestCustomerInfo' =&gt; NULL,<br />
    'guestCustomerId' =&gt; 6428,<br />
    'tempBilltoAddressBookId' =&gt; 6606,<br />
    'tempSendtoAddressBookId' =&gt; 6607,<br />
    'dbStringType' =&gt; 'stringIgnoreNull',<br />
    'customerInfoOk' =&gt; NULL,<br />
    'billtoTempAddrOk' =&gt; NULL,<br />
    'sendtoTempAddrOk' =&gt; NULL,<br />
    'isVirtualOrder' =&gt; true,<br />
    'billtoAddressChangeable' =&gt; true,<br />
    'sendtoAddressChangeable' =&gt; 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' =&gt;<br />
    array (<br />
    'order_status' =&gt; '1',<br />
    'currency' =&gt; 'USD',<br />
    'currency_value' =&gt; '1.00000000',<br />
    'payment_method' =&gt; '',<br />
    'payment_module_code' =&gt; '',<br />
    'coupon_code' =&gt; '',<br />
    'shipping_method' =&gt; 'FREE_SHIPPING_TITLE',<br />
    'shipping_module_code' =&gt; 'free_free',<br />
    'shipping_cost' =&gt; 0,<br />
    'subtotal' =&gt; 0,<br />
    'shipping_tax' =&gt; 0,<br />
    'tax' =&gt; 0,<br />
    'total' =&gt; 0,<br />
    'tax_groups' =&gt;<br />
    array (<br />
    ),<br />
    'comments' =&gt; '',<br />
    'ip_address' =&gt; '72.182.165.112 - 72.182.165.112',<br />
    ),<br />
    'totals' =&gt;<br />
    array (<br />
    ),<br />
    'products' =&gt;<br />
    array (<br />
    ),<br />
    'customer' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'format_id' =&gt; 2,<br />
    'telephone' =&gt; '',<br />
    'email_address' =&gt; '[email protected]',<br />
    ),<br />
    'delivery' =&gt;<br />
    array (<br />
    ),<br />
    'billing' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'country_id' =&gt; '223',<br />
    'format_id' =&gt; 2,<br />
    ),<br />
    'content_type' =&gt; 'virtual',<br />
    'email_low_stock' =&gt; NULL,<br />
    'products_ordered_attributes' =&gt; NULL,<br />
    'products_ordered' =&gt; NULL,<br />
    'products_ordered_email' =&gt; NULL,<br />
    'products_ordered_html' =&gt; NULL,<br />
    'attachArray' =&gt; NULL,<br />
    'email_order_message' =&gt; NULL,<br />
    'extra_header_text' =&gt; NULL,<br />
    'doStockDecrement' =&gt; NULL,<br />
    'send_low_stock_emails' =&gt; NULL,<br />
    'queryReturnFlag' =&gt; NULL,<br />
    'bestSellersUpdate' =&gt; NULL,<br />
    'use_external_tax_handler_only' =&gt; NULL,<br />
    'products_ordered_attributes_html' =&gt;<br />
    array (<br />
    ),<br />
    ))OnePageCheckout::__set_state(array(<br />
    'isGuestCheckoutEnabled' =&gt; false,<br />
    'registeredAccounts' =&gt; false,<br />
    'guestIsActive' =&gt; false,<br />
    'isEnabled' =&gt; true,<br />
    'tempAddressValues' =&gt;<br />
    array (<br />
    'ship' =&gt;<br />
    array (<br />
    'gender' =&gt; '',<br />
    'company' =&gt; '',<br />
    'firstname' =&gt; '',<br />
    'lastname' =&gt; '',<br />
    'street_address' =&gt; '',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; '',<br />
    'postcode' =&gt; '',<br />
    'state' =&gt; '',<br />
    'country' =&gt; 223,<br />
    'zone_id' =&gt; 0,<br />
    'zone_name' =&gt; '',<br />
    'address_book_id' =&gt; 0,<br />
    'selected_country' =&gt; 223,<br />
    'country_has_zones' =&gt; true,<br />
    'state_field_label' =&gt; '',<br />
    'show_pulldown_states' =&gt; true,<br />
    'error' =&gt; false,<br />
    'error_state_input' =&gt; false,<br />
    'validated' =&gt; false,<br />
    ),<br />
    'bill' =&gt;<br />
    array (<br />
    'gender' =&gt; '',<br />
    'company' =&gt; '',<br />
    'firstname' =&gt; '',<br />
    'lastname' =&gt; '',<br />
    'street_address' =&gt; '',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; '',<br />
    'postcode' =&gt; '',<br />
    'state' =&gt; '',<br />
    'country' =&gt; 223,<br />
    'zone_id' =&gt; 0,<br />
    'zone_name' =&gt; '',<br />
    'address_book_id' =&gt; 0,<br />
    'selected_country' =&gt; 223,<br />
    'country_has_zones' =&gt; true,<br />
    'state_field_label' =&gt; '',<br />
    'show_pulldown_states' =&gt; true,<br />
    'error' =&gt; false,<br />
    'error_state_input' =&gt; false,<br />
    'validated' =&gt; false,<br />
    ),<br />
    ),<br />
    'guestCustomerInfo' =&gt; NULL,<br />
    'guestCustomerId' =&gt; 6428,<br />
    'tempBilltoAddressBookId' =&gt; 6606,<br />
    'tempSendtoAddressBookId' =&gt; 6607,<br />
    'dbStringType' =&gt; 'stringIgnoreNull',<br />
    'customerInfoOk' =&gt; NULL,<br />
    'billtoTempAddrOk' =&gt; NULL,<br />
    'sendtoTempAddrOk' =&gt; NULL,<br />
    'isVirtualOrder' =&gt; true,<br />
    'billtoAddressChangeable' =&gt; true,<br />
    'sendtoAddressChangeable' =&gt; true,<br />
    ))<br />
    2019-06-05 10:45:41 OnePageCheckout: Current sendto:<br />
    2019-06-05 10:45:41 OnePageCheckout: updateOrderAddresses, , , 223, 57<br />
    {&quot;firstname&quot;:&quot;Amethyst&quot;,&quot;lastname&quot;:&quot;Wilson&quot;,&quot;company&quot;:null,&quot;street_address&quot;:&quot;2409 Bentley Dr.&quot;,&quot;suburb&quot;:&quot;&quot;,&quot;city&quot;:&quot;Grand Prairie&quot;,&quot;postcode&quot;:&quot;75052&quot;,&quot;state&quot;:&quot;Texas&quot;,&quot;zone_id&quot;:&quot;57&quot;,&quot;country&quot;:{&quot;id&quot;:&quot;223&quot;,&quot;title&quot;:&quot;United States&quot;,&quot;iso_code_2&quot;:&quot;US&quot;,&quot;iso_code_3&quot;:&quot;USA&quot;},&quot;format_id&quot;:2,&quot;telephone&quot;:&quot;&quot;,&quot;email_address&quot;:&quot;[email protected]&quot;}<br />
    {&quot;firstname&quot;:&quot;Amethyst&quot;,&quot;lastname&quot;:&quot;Wilson&quot;,&quot;company&quot;:null,&quot;street_address&quot;:&quot;2409 Bentley Dr.&quot;,&quot;suburb&quot;:&quot;&quot;,&quot;city&quot;:&quot;Grand Prairie&quot;,&quot;postcode&quot;:&quot;75052&quot;,&quot;state&quot;:&quot;Texas&quot;,&quot;zone_id&quot;:&quot;57&quot;,&quot;country&quot;:{&quot;id&quot;:&quot;223&quot;,&quot;title&quot;:&quot;United States&quot;,&quot;iso_code_2&quot;:&quot;US&quot;,&quot;iso_code_3&quot;:&quot;USA&quot;},&quot;country_id&quot;:&quot;223&quot;,&quot;format_id&quot;:2}<br />
    []<br />
    2019-06-05 10:45:41 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_QUOTES<br />
    array (<br />
    'id' =&gt; 'free_free',<br />
    'title' =&gt; 'FREE_SHIPPING_TITLE',<br />
    'cost' =&gt; 0,<br />
    )order::__set_state(array(<br />
    'info' =&gt;<br />
    array (<br />
    'order_status' =&gt; '1',<br />
    'currency' =&gt; 'USD',<br />
    'currency_value' =&gt; '1.00000000',<br />
    'payment_method' =&gt; '',<br />
    'payment_module_code' =&gt; '',<br />
    'coupon_code' =&gt; '',<br />
    'shipping_method' =&gt; 'FREE_SHIPPING_TITLE',<br />
    'shipping_module_code' =&gt; 'free_free',<br />
    'shipping_cost' =&gt; 0,<br />
    'subtotal' =&gt; 0.0,<br />
    'shipping_tax' =&gt; 0,<br />
    'tax' =&gt; 0.0,<br />
    'total' =&gt; 0.0,<br />
    'tax_groups' =&gt;<br />
    array (<br />
    'Sales Tax' =&gt; 0.0,<br />
    ),<br />
    'comments' =&gt; '',<br />
    'ip_address' =&gt; '72.182.165.112 - 72.182.165.112',<br />
    ),<br />
    'totals' =&gt;<br />
    array (<br />
    ),<br />
    'products' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'qty' =&gt; 1.0,<br />
    'name' =&gt; '* May 2019 *',<br />
    'model' =&gt; 'F',<br />
    'tax_groups' =&gt;<br />
    array (<br />
    'Sales Tax' =&gt; 0,<br />
    ),<br />
    'tax_description' =&gt; 'Sales Tax',<br />
    'price' =&gt; '0.0000',<br />
    'final_price' =&gt; 0.0,<br />
    'onetime_charges' =&gt; 0,<br />
    'weight' =&gt; 0,<br />
    'products_priced_by_attribute' =&gt; '0',<br />
    'product_is_free' =&gt; '0',<br />
    'products_discount_type' =&gt; '0',<br />
    'products_discount_type_from' =&gt; '0',<br />
    'id' =&gt; '658:4848537101bc49281b020978345a2956',<br />
    'rowClass' =&gt; 'rowEven',<br />
    'products_weight' =&gt; 0.0,<br />
    'products_virtual' =&gt; 0,<br />
    'product_is_always_free_shipping' =&gt; 0,<br />
    'products_quantity_order_min' =&gt; 1.0,<br />
    'products_quantity_order_units' =&gt; 1.0,<br />
    'products_quantity_order_max' =&gt; 1.0,<br />
    'products_quantity_mixed' =&gt; 0,<br />
    'products_mixed_discount_quantity' =&gt; 1,<br />
    'tax' =&gt; 0,<br />
    'customid' =&gt;<br />
    array (<br />
    'value' =&gt; 'F',<br />
    'type' =&gt; 'none',<br />
    ),<br />
    'attributes' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'option' =&gt; 'Format &amp; Sizes',<br />
    'value' =&gt; 'Multi Format Zip',<br />
    'option_id' =&gt; 2,<br />
    'value_id' =&gt; '63',<br />
    'prefix' =&gt; '+',<br />
    'price' =&gt; '0.0000',<br />
    ),<br />
    ),<br />
    ),<br />
    ),<br />
    'customer' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'format_id' =&gt; 2,<br />
    'telephone' =&gt; '',<br />
    'email_address' =&gt; '[email protected]',<br />
    ),<br />
    'delivery' =&gt;<br />
    array (<br />
    ),<br />
    'billing' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'country_id' =&gt; '223',<br />
    'format_id' =&gt; 2,<br />
    ),<br />
    'content_type' =&gt; 'virtual',<br />
    'email_low_stock' =&gt; NULL,<br />
    'products_ordered_attributes' =&gt; NULL,<br />
    'products_ordered' =&gt; NULL,<br />
    'products_ordered_email' =&gt; NULL,<br />
    'products_ordered_html' =&gt; NULL,<br />
    'attachArray' =&gt; NULL,<br />
    'email_order_message' =&gt; NULL,<br />
    'extra_header_text' =&gt; NULL,<br />
    'doStockDecrement' =&gt; NULL,<br />
    'send_low_stock_emails' =&gt; NULL,<br />
    'queryReturnFlag' =&gt; NULL,<br />
    'bestSellersUpdate' =&gt; NULL,<br />
    'use_external_tax_handler_only' =&gt; false,<br />
    'products_ordered_attributes_html' =&gt;<br />
    array (<br />
    ),<br />
    ))messageStack::__set_state(array(<br />
    'messages' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'params' =&gt; 'class=&quot;messageStackWarning larger&quot;',<br />
    'class' =&gt; 'header',<br />
    'text' =&gt; '&lt;img src=&quot;includes/templates/magic/images/icons/warning.gif&quot; alt=&quot;Warning&quot; title=&quot; Warning &quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; 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' =&gt;<br />
    array (<br />
    0 =&gt; 'ot_subtotal.php',<br />
    1 =&gt; 'ot_shipping.php',<br />
    2 =&gt; 'ot_quantity_discount.php',<br />
    3 =&gt; 'ot_coupon.php',<br />
    4 =&gt; 'ot_total.php',<br />
    ),<br />
    ))order::__set_state(array(<br />
    'info' =&gt;<br />
    array (<br />
    'order_status' =&gt; '1',<br />
    'currency' =&gt; 'USD',<br />
    'currency_value' =&gt; '1.00000000',<br />
    'payment_method' =&gt; '',<br />
    'payment_module_code' =&gt; '',<br />
    'coupon_code' =&gt; '',<br />
    'shipping_method' =&gt; 'Free Shipping',<br />
    'shipping_module_code' =&gt; 'free_free',<br />
    'shipping_cost' =&gt; 0,<br />
    'subtotal' =&gt; 0.0,<br />
    'shipping_tax' =&gt; 0,<br />
    'tax' =&gt; 0.0,<br />
    'total' =&gt; 0.0,<br />
    'tax_groups' =&gt;<br />
    array (<br />
    'Sales Tax' =&gt; 0.0,<br />
    ),<br />
    'comments' =&gt; '',<br />
    'ip_address' =&gt; '72.182.165.112 - 72.182.165.112',<br />
    ),<br />
    'totals' =&gt;<br />
    array (<br />
    ),<br />
    'products' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'qty' =&gt; 1.0,<br />
    'name' =&gt; '* May 2019 *',<br />
    'model' =&gt; 'F',<br />
    'tax_groups' =&gt;<br />
    array (<br />
    'Sales Tax' =&gt; 0,<br />
    ),<br />
    'tax_description' =&gt; 'Sales Tax',<br />
    'price' =&gt; '0.0000',<br />
    'final_price' =&gt; 0.0,<br />
    'onetime_charges' =&gt; 0,<br />
    'weight' =&gt; 0,<br />
    'products_priced_by_attribute' =&gt; '0',<br />
    'product_is_free' =&gt; '0',<br />
    'products_discount_type' =&gt; '0',<br />
    'products_discount_type_from' =&gt; '0',<br />
    'id' =&gt; '658:4848537101bc49281b020978345a2956',<br />
    'rowClass' =&gt; 'rowEven',<br />
    'products_weight' =&gt; 0.0,<br />
    'products_virtual' =&gt; 0,<br />
    'product_is_always_free_shipping' =&gt; 0,<br />
    'products_quantity_order_min' =&gt; 1.0,<br />
    'products_quantity_order_units' =&gt; 1.0,<br />
    'products_quantity_order_max' =&gt; 1.0,<br />
    'products_quantity_mixed' =&gt; 0,<br />
    'products_mixed_discount_quantity' =&gt; 1,<br />
    'tax' =&gt; 0,<br />
    'customid' =&gt;<br />
    array (<br />
    'value' =&gt; 'F',<br />
    'type' =&gt; 'none',<br />
    ),<br />
    'attributes' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'option' =&gt; 'Format &amp; Sizes',<br />
    'value' =&gt; 'Multi Format Zip',<br />
    'option_id' =&gt; 2,<br />
    'value_id' =&gt; '63',<br />
    'prefix' =&gt; '+',<br />
    'price' =&gt; '0.0000',<br />
    ),<br />
    ),<br />
    ),<br />
    ),<br />
    'customer' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'format_id' =&gt; 2,<br />
    'telephone' =&gt; '',<br />
    'email_address' =&gt; '[email protected]',<br />
    ),<br />
    'delivery' =&gt;<br />
    array (<br />
    ),<br />
    'billing' =&gt;<br />
    array (<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'company' =&gt; NULL,<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; 'Texas',<br />
    'zone_id' =&gt; '57',<br />
    'country' =&gt;<br />
    array (<br />
    'id' =&gt; '223',<br />
    'title' =&gt; 'United States',<br />
    'iso_code_2' =&gt; 'US',<br />
    'iso_code_3' =&gt; 'USA',<br />
    ),<br />
    'country_id' =&gt; '223',<br />
    'format_id' =&gt; 2,<br />
    ),<br />
    'content_type' =&gt; 'virtual',<br />
    'email_low_stock' =&gt; NULL,<br />
    'products_ordered_attributes' =&gt; NULL,<br />
    'products_ordered' =&gt; NULL,<br />
    'products_ordered_email' =&gt; NULL,<br />
    'products_ordered_html' =&gt; NULL,<br />
    'attachArray' =&gt; NULL,<br />
    'email_order_message' =&gt; NULL,<br />
    'extra_header_text' =&gt; NULL,<br />
    'doStockDecrement' =&gt; NULL,<br />
    'send_low_stock_emails' =&gt; NULL,<br />
    'queryReturnFlag' =&gt; NULL,<br />
    'bestSellersUpdate' =&gt; NULL,<br />
    'use_external_tax_handler_only' =&gt; false,<br />
    'products_ordered_attributes_html' =&gt;<br />
    array (<br />
    ),<br />
    ))messageStack::__set_state(array(<br />
    'messages' =&gt;<br />
    array (<br />
    0 =&gt;<br />
    array (<br />
    'params' =&gt; 'class=&quot;messageStackWarning larger&quot;',<br />
    'class' =&gt; 'header',<br />
    'text' =&gt; '&lt;img src=&quot;includes/templates/magic/images/icons/warning.gif&quot; alt=&quot;Warning&quot; title=&quot; Warning &quot; width=&quot;20&quot; height=&quot;20&quot; /&gt; 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' =&gt;<br />
    array (<br />
    0 =&gt; 'paypalwpp.php',<br />
    1 =&gt; 'freecharger.php',<br />
    ),<br />
    'selected_module' =&gt; '',<br />
    'doesCollectsCardDataOnsite' =&gt; false,<br />
    'paymentClass' =&gt;<br />
    freecharger::__set_state(array(<br />
    'code' =&gt; 'freecharger',<br />
    'title' =&gt; 'Free Order',<br />
    'description' =&gt; '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' =&gt; true,<br />
    'sort_order' =&gt; '5',<br />
    'email_footer' =&gt; 'There is no charge for this order.',<br />
    )),<br />
    ))array (<br />
    'id' =&gt; 'free_free',<br />
    'title' =&gt; 'FREE_SHIPPING_TITLE',<br />
    'cost' =&gt; 0,<br />
    )<br />
    2019-06-05 10:45:41 OnePageCheckout: getAddressValuesFromDb(1236), returning: array (<br />
    'gender' =&gt; '',<br />
    'company' =&gt; NULL,<br />
    'firstname' =&gt; 'Amethyst',<br />
    'lastname' =&gt; 'Wilson',<br />
    'street_address' =&gt; '2409 Bentley Dr.',<br />
    'suburb' =&gt; '',<br />
    'city' =&gt; 'Grand Prairie',<br />
    'postcode' =&gt; '75052',<br />
    'state' =&gt; '',<br />
    'country' =&gt; '223',<br />
    'zone_id' =&gt; '57',<br />
    'zone_name' =&gt; 'Texas',<br />
    'address_book_id' =&gt; '1236',<br />
    'error' =&gt; false,<br />
    'error_state_input' =&gt; false,<br />
    'country_has_zones' =&gt; true,<br />
    )</p>
    Kind Regards,
    Gail
    www.goodiesbygail.com

  3. #3
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    also getting this new error message...
    Code:
    [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.
    Kind Regards,
    Gail
    www.goodiesbygail.com

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by GoofyGrrl2 View Post
    also getting this new error message...
    Code:
    [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. #5
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default 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".
    Kind Regards,
    Gail
    www.goodiesbygail.com

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by GoofyGrrl2 View Post
    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.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default 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.

  8. #8
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    41
    Plugin Contributions
    0

    Default 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.
    Kind Regards,
    Gail
    www.goodiesbygail.com

  9. #9
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Not sure about this one

    ZC 1.5.8a
    OPC 2.4.5
    Square WebPay
    PHP 8.0.28

    Just upgraded from ZC 1.5.8 to Z1.5.8a, checking out as a guest using PayPal EC and I get a blank screen when completing the order.

    Code:
    [24-Mar-2023 16:08:15 Europe/London] PHP Fatal error:  Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
    Stack trace:
    #0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
    #1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
    #2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
    #3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
    #4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
    #5 {main}
      thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173
    
    [24-Mar-2023 16:08:15 Europe/London] Request URI: /ipn_main_handler.php?type=ec&markflow=1&clearSess=1&stage=final, IP address: 
    --> PHP Fatal error: Uncaught TypeError: zen_get_zone_code(): Argument #2 ($zone_id) must be of type int, string given, called in /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php on line 2080 and defined in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php:173
    Stack trace:
    #0 /home/mydomain_uk/public_html/includes/classes/OnePageCheckout.php(2080): zen_get_zone_code()
    #1 /home/mydomain_uk/public_html/includes/classes/observers/class.checkout_one_observer.php(597): OnePageCheckout->createPayPalTemporaryAddressInfo()
    #2 /home/mydomain_uk/public_html/includes/classes/traits/NotifierManager.php(87): checkout_one_observer->update()
    #3 /home/mydomain_uk/public_html/includes/modules/payment/paypalwpp.php(1768): base->notify()
    #4 /home/mydomain_uk/public_html/ipn_main_handler.php(75): paypalwpp->ec_step1()
    #5 {main}
      thrown in /home/mydomain_uk/public_html/includes/functions/functions_addresses.php on line 173.
    line #2080 is

    Code:
    'PAYMENTREQUEST_0_SHIPTOSTATE' => zen_get_zone_code($temp_address['country']['id'], $temp_address['zone_id'], $temp_address['state']),
    Last edited by simon1066; 24 Mar 2023 at 05:37 PM.
    Simon

  10. #10
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    I wonder if the above is to do with MySql Strict Mode, although I had no problem with the same database version on ZC v1.5.8

    (I am running MySQL 5.5.68-MariaDB, I know, but an upgrade is in my sights - I have to update my VPS from CentOS 7 to Alma 8 which is a bit of a headache)
    Simon

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg