-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
designguy
I am having the similar trouble to Nicksab except I am running the following:
Checkout One version 1.0.11
ZenCart v1.5.5
Jquery is 2.1.4
Template is Furniture Black by 12leaves
Using the
Gateway Processing Services Module (3-step redirect) for payment (gps.php), CEON module works fine. I'm assuming it just doesn't work with this payment module.
Clicking Confirm Order just reloads the same page. The gateway gets record of the transaction as processing, but it doesn't capture the payment. Never get to the confirmation page.
Debug shows this:
Code:
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: in /home/mcas/public_html/includes/classes/order.php on line 354
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/order.php on line 354
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: in /home/mcas/public_html/includes/classes/order.php on line 355
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/order.php on line 355
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: coupon_code in /home/mcas/public_html/includes/classes/order.php on line 356
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/order.php on line 356
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: shipping in /home/mcas/public_html/includes/classes/order.php on line 363
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: pass in /home/mcas/public_html/includes/modules/pages/checkout_one/header_php.php on line 210
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: freeshipper in /home/mcas/public_html/includes/classes/shipping.php on line 187
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/shipping.php on line 187
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Constant FREE_SHIPPING_TITLE already defined in /home/mcas/public_html/includes/languages/english/modules/order_total/ot_shipping.php on line 26
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Constant FREE_SHIPPING_DESCRIPTION already defined in /home/mcas/public_html/includes/languages/english/modules/order_total/ot_shipping.php on line 27
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Constant MODULE_ORDER_TOTAL_COUPON_HEADER already defined in /home/mcas/public_html/includes/languages/english/modules/order_total/ot_coupon.php on line 14
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Constant SHIPPING_NOT_INCLUDED already defined in /home/mcas/public_html/includes/languages/english/modules/order_total/ot_gv.php on line 13
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Constant TAX_NOT_INCLUDED already defined in /home/mcas/public_html/includes/languages/english/modules/order_total/ot_gv.php on line 14
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Use of undefined constant MODULE_ORDER_TOTAL_GV_REDEEM_BOX - assumed 'MODULE_ORDER_TOTAL_GV_REDEEM_BOX' in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 46
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cot_gv in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 48
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_subtotal::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 165
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_shipping::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 165
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cot_coupon in /home/mcas/public_html/includes/classes/order_total.php on line 167
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cot_group_pricing in /home/mcas/public_html/includes/classes/order_total.php on line 167
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_tax::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 165
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_loworderfee::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 165
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cot_gv in /home/mcas/public_html/includes/classes/order_total.php on line 167
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gv_redeem_code in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 238
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: submit_redeem_x in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 284
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_total::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 165
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cc_id in /home/mcas/public_html/includes/modules/order_total/ot_coupon.php on line 391
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: total in /home/mcas/public_html/includes/modules/order_total/ot_group_pricing.php on line 32
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: total in /home/mcas/public_html/includes/modules/order_total/ot_group_pricing.php on line 33
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cc_issue in /home/mcas/public_html/includes/modules/payment/ceon_manual_card.php on line 2933
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: ResCookie in /home/mcas/public_html/includes/templates/frn_black/common/html_header.php on line 37
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: ResCookie in /home/mcas/public_html/includes/templates/frn_black/common/html_header.php on line 147
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: ResCookie in /home/mcas/public_html/includes/templates/frn_black/common/tpl_main_page.php on line 45
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: active in /home/mcas/public_html/includes/templates/frn_black/common/tpl_header_top_section.php on line 22
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: active in /home/mcas/public_html/includes/templates/frn_black/common/tpl_header_top_section.php on line 41
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: active in /home/mcas/public_html/includes/templates/frn_black/common/tpl_header.php on line 93
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 145
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 145
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 175
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 198
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 198
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/mcas/public_html/includes/functions/html_output.php on line 322
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/mcas/public_html/includes/functions/html_output.php on line 322
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_subtotal::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 125
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_shipping::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 125
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/modules/order_total/ot_coupon.php on line 135
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/modules/order_total/ot_coupon.php on line 135
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: selection in /home/mcas/public_html/includes/modules/order_total/ot_group_pricing.php on line 141
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_tax::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 125
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_loworderfee::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 125
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: output_string in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 139
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined variable: selection in /home/mcas/public_html/includes/modules/order_total/ot_gv.php on line 201
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined property: ot_total::$credit_class in /home/mcas/public_html/includes/classes/order_total.php on line 125
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: checkbox in /home/mcas/public_html/includes/templates/template_default/templates/tpl_checkout_one_default.php on line 95
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/mcas/public_html/includes/functions/html_output.php on line 322
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: tax in /home/mcas/public_html/includes/templates/template_default/templates/tpl_modules_checkout_one_shipping.php on line 34
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: gps in /home/mcas/public_html/includes/classes/payment.php on line 198
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Trying to get property of non-object in /home/mcas/public_html/includes/classes/payment.php on line 198
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: cc_id in /home/mcas/public_html/includes/modules/order_total/ot_coupon.php on line 391
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: total in /home/mcas/public_html/includes/modules/order_total/ot_group_pricing.php on line 32
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: total in /home/mcas/public_html/includes/modules/order_total/ot_group_pricing.php on line 33
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/mcas/public_html/includes/functions/html_output.php on line 322
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: ResCookie in /home/mcas/public_html/includes/templates/frn_black/common/tpl_footer.php on line 65
[09-Jan-2017 10:56:06 America/New_York] PHP Notice: Undefined index: ResCookie in /home/mcas/public_html/includes/templates/frn_black/common/tpl_footer.php on line 79
From the checkout one log:
Code:
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_ENTRY, version (1.0.11 (2016-12-29)), Zen Cart version (1.5.5), template (frn_black)
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_CALCULATIONS, pass (), free_shipping (), array (
'id' => 'flat_flat',
'title' => 'Flat Rate (Best Way)',
'cost' => '10.00',
)
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_SHIPPING_CHECK (flat_flat)
Array
(
[0] => Array
(
[id] => flat
[module] => Flat Rate
[methods] => Array
(
[0] => Array
(
[id] => flat
[title] => Best Way
[cost] => 10.00
)
)
)
)
Array
(
[0] => flat_flat
)
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_AFTER_SHIPPING_QUOTES
array (
'id' => 'flat_flat',
'title' => 'Flat Rate (Best Way)',
'cost' => '10.00',
)order Object
(
[info] => Array
(
[order_status] => 1
[currency] => USD
[currency_value] => 1.00000000
[payment_method] =>
[payment_module_code] =>
[coupon_code] =>
[shipping_method] => Flat Rate (Best Way)
[shipping_module_code] => flat_flat
[shipping_cost] => 10.00
[subtotal] => 1
[shipping_tax] => 0
[tax] => 0
[total] => 11
[tax_groups] => Array
(
[0] => 0
)
[comments] =>
[ip_address] => 107.77.203.150 - 107.77.203.150
)
[totals] => Array
(
)
[products] => Array
(
[0] => Array
(
[qty] => 1
[name] => Aqua-Clo <b></b>
[model] =>
[tax_groups] => Array
(
[0] => Sales Tax
)
[tax_description] => Sales Tax
[price] => 1.0000
[final_price] => 1
[onetime_charges] => 0
[weight] => 0
[products_priced_by_attribute] => 0
[product_is_free] => 0
[products_discount_type] => 0
[products_discount_type_from] => 0
[id] => 40
[rowClass] => rowEven
[tax] => 0
)
)
[customer] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[format_id] => 2
[telephone] => 8002939183
[email_address] => [email protected]
)
[delivery] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[country_id] => 223
[format_id] => 2
)
[content_type] => physical
[email_low_stock] =>
[products_ordered_attributes] =>
[products_ordered] =>
[products_ordered_email] =>
[attachArray] =>
[billing] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[country_id] => 223
[format_id] => 2
)
[use_external_tax_handler_only] =>
)
messageStack Object
(
[messages] => Array
(
)
)
Array
(
[0] => Array
(
[id] => flat
[module] => Flat Rate
[methods] => Array
(
[0] => Array
(
[id] => flat
[title] => Best Way
[cost] => 10.00
)
)
)
)
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_AFTER_ORDER_TOTAL_PROCESSING
order_total Object
(
[modules] => Array
(
[0] => ot_subtotal.php
[1] => ot_shipping.php
[2] => ot_coupon.php
[3] => ot_group_pricing.php
[4] => ot_tax.php
[5] => ot_loworderfee.php
[6] => ot_gv.php
[7] => ot_total.php
)
)
order Object
(
[info] => Array
(
[order_status] => 1
[currency] => USD
[currency_value] => 1.00000000
[payment_method] =>
[payment_module_code] =>
[coupon_code] =>
[shipping_method] => Flat Rate (Best Way)
[shipping_module_code] => flat_flat
[shipping_cost] => 10.00
[subtotal] => 1
[shipping_tax] => 0
[tax] => 0
[total] => 11
[tax_groups] => Array
(
[0] => 0
)
[comments] =>
[ip_address] => 107.77.203.150 - 107.77.203.150
)
[totals] => Array
(
)
[products] => Array
(
[0] => Array
(
[qty] => 1
[name] => Aqua-Clo <b></b>
[model] =>
[tax_groups] => Array
(
[0] => Sales Tax
)
[tax_description] => Sales Tax
[price] => 1.0000
[final_price] => 1
[onetime_charges] => 0
[weight] => 0
[products_priced_by_attribute] => 0
[product_is_free] => 0
[products_discount_type] => 0
[products_discount_type_from] => 0
[id] => 40
[rowClass] => rowEven
[tax] => 0
)
)
[customer] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[format_id] => 2
[telephone] => 8002939183
[email_address] => [email protected]
)
[delivery] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[country_id] => 223
[format_id] => 2
)
[content_type] => physical
[email_low_stock] =>
[products_ordered_attributes] =>
[products_ordered] =>
[products_ordered_email] =>
[attachArray] =>
[billing] => Array
(
[firstname] => Bob
[lastname] => Hess
[company] =>
[street_address] => 2306 greenwood st
[suburb] =>
[city] => Lindenwold
[postcode] => 98002
[state] => Oregon
[zone_id] => 41
[country] => Array
(
[id] => 223
[title] => United States
[iso_code_2] => US
[iso_code_3] => USA
)
[country_id] => 223
[format_id] => 2
)
[use_external_tax_handler_only] =>
)
messageStack Object
(
[messages] => Array
(
)
)
2017-01-09 10:44:52 checkout_one: CHECKOUT_ONE_AFTER_PAYMENT_MODULES_SELECTION
payment Object
(
[modules] => Array
(
[0] => ceon_manual_card.php
[1] => gps.php
)
[selected_module] =>
[doesCollectsCardDataOnsite] =>
[paymentClass] => gps Object
(
["code"] => gps
[title] => Credit Card
[description] =>
[enabled] => 1
[delimiter] => |
[encapChar] => *
[_logDir] => /home/mcas/public_html/cache
[authorize] =>
[commErrNo] => 0
[commError] =>
[reportable_submit_data] => Array
(
)
[gateway_url] => secure.nmi.com
[sort_order] => 0
[form_action_url] => https://www.musclechemadvancedsupps.com/index.php?main_page=checkout_process
[order_status] => 2
)
)
array (
'id' => 'flat_flat',
'title' => 'Flat Rate (Best Way)',
'cost' => '10.00',
)
... suddenly getting this too - both logs, as described above...
-
Re: One-Page Checkout [Support Thread]
@schoolboy, I've sent you a file to enable the OPC only for me.
@designguy, I've created an account on your store but need the OPC enabled. If you PM me your direct email address, I'll send you a copy of the "enable only for lat9" script, too!
-
Re: One-Page Checkout [Support Thread]
-
Re: One-Page Checkout [Support Thread]
Actually, I need payments to work in the mean time so when I get the script from you and get it in, then I'll enable it for you.
Thanks for your help!
-
Re: One-Page Checkout [Support Thread]
The owner of the store has asked me to remove the plugin for now, but he has another store that is nearly identical that we may use it on. Basically, the module doesn't seem to be working properly with the payment module as it is a 3-step checkout process API on the gateway side as well as zen-cart. If you need the code for the payment module, I can post it here.
-
Re: One-Page Checkout [Support Thread]
@designguy, what is the payment module name? Perhaps it should be added to the list of confirmation-required payment-methods.
-
Re: One-Page Checkout [Support Thread]
@lat9 - I have overwritten the version (1.10) of OPC on the site with 1.12 (githib download) and have not switched it back on as I am not sure if you are "tinkering" as per our PM's .
I'd like to re-activate it while the site is quiet and see if it works. Can I go ahead?
-
Re: One-Page Checkout [Support Thread]
@schoolboy: Don't enable 1.0.12 for the general public on your site. I see the checkout-loop that's introduced in 1.0.12 and I've replicated the issue locally.
I'll report back when I've got a solution.
-
Re: One-Page Checkout [Support Thread]
... and I'm back with that solution. The source of the issue was htmlentities.
@schoolboy's store, which uses GBP as its currency, displays prices like £31.07 but that price value stored in the order is £31.07.
When the OPC's confirmation runs, it checks the current session variables to make sure that the order's overall information hasn't changed from what the customer last saw ... including the order's total value. That current total is copied by javascript (so it's grabbing that displayed price) on the primary OPC page and the processing on the confirmation page is dealing with the htmlentity encoding.
The correction is currently available on the plugin's GitHub repository, as described by this issue and will be part of the forthcoming v1.0.12.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
@designguy, what is the payment module name? Perhaps it should be added to the list of confirmation-required payment-methods.
Never mind, found the answer (Gateway Processing Services Module (3-step redirect)) in your previous post. I'm thinking that this payment method might need to be added to the OPC's "confirmation-required" list.
@designguy, would you mind trying the following change? Edit /includes/modules/pages/checkout_one_confirmation/header_php.php, find the following section:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay');
}
and change that to
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps');
}
That forces the OPC's confirmation page to display for the GPS payment method. Does that correct the issue on your store?
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
The correction is currently available on the plugin's GitHub repository, as described by
this issue and will be part of the forthcoming v1.0.12.
@lat9... Thanks for this. I have uploaded the altered OBSERVERS file and with the full Gitub version now installed, the OPC appears to be working - both with logged-in customer checkout and PayPal express. I have discount vouchers active, so will put a test through for this too so I can see if ot_gv is affected in any way, when the totals are re-calculated.
Thanks again... this module certainly influences checkout. It has been interesting for me over the last couple of days to see (using "whos-online") a number of abandoned carts - more than expected - while the shop has been using the standard multi-page checkout.
It would then, appear to be an imperative that OPC is considered as a candidate for core ZC in future versions. Modern shoppers - mostly on mobile - will not wade through a clunky checkout process...
-
Re: One-Page Checkout [Support Thread]
@schoolboy, thanks for the feedback that the change has worked for you. I'll look forward to the ot_gv handling report (I have tested that path, really)!
-
Re: One-Page Checkout [Support Thread]
I'll have to set up a test store and try it out. I'll let you know how it goes. Although my first thought is that it is more the gateway's API than the confirmation just because the gateway itself seems to be expecting the information to come at it in 3 stages.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
schoolboy
Thanks again... this module certainly influences checkout. It has been interesting for me over the last couple of days to see (using "whos-online") a number of abandoned carts - more than expected - while the shop has been using the standard multi-page checkout.
It would then, appear to be an imperative that OPC is considered as a candidate for core ZC in future versions. Modern shoppers - mostly on mobile - will not wade through a clunky checkout process...
I would definitely agree with this. I see a lot of abandoned carts from mobile. Not just OPC but a responsive OPC would be what I would want to see.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
designguy
I'll have to set up a test store and try it out. I'll let you know how it goes. Although my first thought is that it is more the gateway's API than the confirmation just because the gateway itself seems to be expecting the information to come at it in 3 stages.
I believe that the 3-stage requirement will be "met" with the addition of the payment method to the "requires confirmation" list. That way, the payment-server will receive
stage 1 on the checkout_one page transition to the checkout_one_confirmation page
stage 2 on the checkout_one_confirmation transition to the checkout_process page
stage 3 on the checkout_process page itself.
Quote:
Originally Posted by
designguy
I would definitely agree with this. I see a lot of abandoned carts from mobile. Not just OPC but a responsive OPC would be what I would want to see.
OPC has been designed to be responsive if your active template is, in which case the blocks on the page will simply "fall into place".
-
Re: One-Page Checkout [Support Thread]
@lat9... Error logs still occurring - but the checkout seems to be completing in spite of errors (they appear to be "Notices" more than "faults").
if you have a chance, FTP into the server and take a peek.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
schoolboy
@lat9... Error logs still occurring - but the checkout seems to be completing in spite of errors (they appear to be "Notices" more than "faults").
if you have a chance, FTP into the server and take a peek.
Those logs are due to the code-bug I introduced into the core when myDEBUG Backtrace was integrated. Check out this zen cart commit for the correction. It's nothing to do with OPC.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Those logs are due to the code-bug I introduced into the core when
myDEBUG Backtrace was integrated. Check out
this zen cart commit for the correction. It's nothing to do with OPC.
Hello,
I might also be experiencing the same problem?
My setup:
zencart 1,54
Responsive Sheffield Blue 2.0
OPC 1.10
When I go to the checkout page I get a warning message:
"This site says...
Please contact the store owner; some required elements of this page are missing."
I also get an error log:
Code:
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined index: in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 354
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Trying to get property of non-object in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 354
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined index: in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 355
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Trying to get property of non-object in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 355
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined variable: coupon_code in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 356
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Trying to get property of non-object in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 356
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined index: shipping_tax_total in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 366
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined variable: order_id in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order.php on line 444
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined variable: current_page_base in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 150
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Constant SHIPPING_DAYS_DELAY already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/shipping/upsxml.php on line 77
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Use of undefined constant MODULE_SHIPPING_UPSXML_RATES_TEST_MODE - assumed 'MODULE_SHIPPING_UPSXML_RATES_TEST_MODE' in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/upsxml.php on line 69
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Use of undefined constant MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_64 - assumed 'MODULE_SHIPPING_UPSXML_SERVICE_CODE_EU_ORIGIN_64' in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/upsxml.php on line 176
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined variable: pass in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/pages/checkout_one/header_php.php on line 210
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined property: freeoptions::$quotes in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/freeoptions.php on line 195
[17-Jan-2017 05:20:30 America/Chicago] PHP Notice: Undefined variable: specialservicesdomestic in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 1998
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined index: FirstClassMailType in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 479
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined index: FirstClassMailType in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 480
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined index: FirstClassMailType in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 481
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined variable: fp in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 1557
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined variable: cnt_dump in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 585
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Undefined variable: cnt_dump in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/usps.php on line 586
[17-Jan-2017 05:20:31 America/Chicago] PHP Notice: Use of undefined constant MODULE_SHIPPING_BOXES_MANAGER_STATUS - assumed 'MODULE_SHIPPING_BOXES_MANAGER_STATUS' in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/fedexwebservices.php on line 82
[17-Jan-2017 05:20:32 America/Chicago] PHP Notice: Use of undefined constant MODULE_SHIPPING_BOXES_MANAGER_STATUS - assumed 'MODULE_SHIPPING_BOXES_MANAGER_STATUS' in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/shipping/fedexwebservices.php on line 269
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant FREE_SHIPPING_TITLE already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/order_total/ot_shipping.php on line 26
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant FREE_SHIPPING_DESCRIPTION already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/order_total/ot_shipping.php on line 27
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant MODULE_ORDER_TOTAL_COUPON_HEADER already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/order_total/responsive_sheffield_blue/ot_coupon.php on line 14
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant SHIPPING_NOT_INCLUDED already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/order_total/responsive_sheffield_blue/ot_gv.php on line 13
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant TAX_NOT_INCLUDED already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/order_total/responsive_sheffield_blue/ot_gv.php on line 14
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Use of undefined constant MODULE_ORDER_TOTAL_GV_REDEEM_BOX - assumed 'MODULE_ORDER_TOTAL_GV_REDEEM_BOX' in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_gv.php on line 46
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_subtotal::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_shipping::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: cot_coupon in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 162
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: cot_group_pricing in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 162
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: cot_quantity_discount in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 162
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_bogo::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_tax::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_loworderfee::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: gv_redeem_code in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_gv.php on line 232
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: submit_redeem_x in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_gv.php on line 278
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_total::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 160
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_subtotal::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_shipping::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: total in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 183
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: cc_id in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_coupon.php on line 392
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined variable: tax in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_coupon.php on line 113
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: total in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_group_pricing.php on line 136
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: total in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_group_pricing.php on line 137
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: tax in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_group_pricing.php on line 137
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined offset: 185 in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_quantity_discount.php on line 206
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined offset: 185 in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_quantity_discount.php on line 207
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined offset: 2092 in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_quantity_discount.php on line 211
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined offset: 2092 in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/order_total/ot_quantity_discount.php on line 212
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_bogo::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_tax::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_loworderfee::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: ot_total::$credit_class in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/order_total.php on line 181
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant MODULE_PAYMENT_BRAINTREE_ENTRY_REFUND_TEXT_COMMENTS already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/payment/braintree_api.php on line 123
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Constant MODULE_PAYMENT_BRAINTREE_ENTRY_REFUND_DEFAULT_MESSAGE already defined in /var/www/vhosts/religious-shop.com/httpdocs/includes/languages/english/modules/payment/braintree_api.php on line 124
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: layaway_term in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/payment/layaway.php on line 60
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: braintree_api::$cards in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/payment/braintree_api.php on line 216
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined property: braintree_api::$cards in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/payment/braintree_api.php on line 246
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined variable: ccnum in /var/www/vhosts/religious-shop.com/httpdocs/includes/modules/payment/braintree_api.php on line 251
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: freecharger in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/payment.php on line 173
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Trying to get property of non-object in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/payment.php on line 173
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined offset: 2 in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/shopping_cart.php on line 990
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: weight in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/shopping_cart.php on line 990
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: cost in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/shopping_cart.php on line 991
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: qty in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/shopping_cart.php on line 992
[17-Jan-2017 05:20:33 America/Chicago] PHP Notice: Undefined index: ship_cost in /var/www/vhosts/religious-shop.com/httpdocs/includes/classes/shopping_cart.php on line 994
I applied the changes to the error logging pages as described above but still get this error.
Best regards,
Frank
-
Re: One-Page Checkout [Support Thread]
My setup is opc 1.0.11 not opc 1.0.10.
Sorry for the mistake.
Best regards,
Frank
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
fjbern1943
Hello,
I might also be experiencing the same problem?
My setup:
zencart 1,54
Responsive Sheffield Blue 2.0
OPC 1.10
When I go to the checkout page I get a warning message:
"This site says...
Please contact the store owner; some required elements of this page are missing."
...
Frank
Frank, there were template-file changes introduced in v1.0.11 and you've apparently got a template-override in place that didn't pick up a required form-element of the page.
You can press the F12 key on current browsers and then click the Console tab. The OPC's jQuery handling will identify which element(s) are missing there.
-
Re: One-Page Checkout [Support Thread]
Hello,
You were right on. I had the file "tpl_checkout_one_default.php" in the Responsive Sheffield Blue directory. I removed it and now the error message went adios. Thank you,
Frank
-
Re: One-Page Checkout [Support Thread]
Frank, thanks for the follow-up!
-
1 Attachment(s)
Re: One-Page Checkout [Support Thread]
Hi @lat9 thanks for the mod and was really looking forward to having on my site but it's not working for me, well it doesn't look as it should according to what the customer should see, basically its seems that the ajax part doesn't work and the formatting is plain text see attached picAttachment 16900
prob some other jscript file causing this but not sure, ? maybe you can shed some light, cheers
-
Re: One-Page Checkout [Support Thread]
@jagall, I just went to your site and see that you're currently using the Tableau template. Unfortunately, that template has been previously reported (as mentioned in the readme) as incompatible with OPC.
-
Re: One-Page Checkout [Support Thread]
@lat9 thanks for getting back to me so quickly, just my luck! I didn't see a ref to troubleshooting in the readme but obviously missed that one maybe i need to change templates!!! thank you
-
Re: One-Page Checkout [Support Thread]
@jagall, the first page of the readme identifies known incompatibilities as well as a list of order-total, shipping and payment modules that the Zen Cart community have found to be compatible.
-
1 Attachment(s)
Re: One-Page Checkout [Support Thread]
ZC 1.5.5d - local development, not publicly accessible
OPC 1.0.12beta
no template overrides
Payment module eWay - requires the confirmation page /index.php?main_page=checkout_one_confirmation
All order totals are duplicated when using OPC. This does not happen when I am using the standard 3 page checkout.
Attachment 16903
Checked relevant OPC includes/modules/pages/(etc) and OPC template files - to no avail.
What may be wrong??
Thanks / Frank
-
Re: One-Page Checkout [Support Thread]
Frank, does the order-total duplication occur on both the checkout_one and the checkout_one_confirmation pages? I will admit that this issue has me a bit puzzled.:huh:
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Frank, does the order-total duplication occur on both the checkout_one and the checkout_one_confirmation pages? I will admit that this issue has me a bit puzzled.:huh:
Never mind; it's on the confirmation page.
I've got the payment method re-enabled on my demo site and I see the issue; an issue seen is an issue for which a solution can be found!
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Never mind; it's on the confirmation page.
I've got the payment method re-enabled on my demo site and I see the issue; an issue seen is an issue for which a solution can be found!
I've created an issue on GitHub to track this change for the upcoming v1.0.12 release. The solution to the order-totals duplication is available on GitHub at this time.
Please note that a change to the checkout_one_confirmation page's template is required, so watch for that on a update if you've created a template-override for your store.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
I've created an
issue on GitHub to track this change for the upcoming v1.0.12 release. The solution to the order-totals duplication is available on GitHub at this time.
Please note that a change to the checkout_one_confirmation page's template is required, so watch for that on a update if you've created a template-override for your store.
Thanks Cindy, 1.0.12beta2 works a treat.
Cheers / Frank
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
frank18
Thanks Cindy, 1.0.12beta2 works a treat.
Cheers / Frank
Thanks for the update, Frank, that you concur the issue is now resolved!
As a side-note, I've tweaked the plugin's next version to 1.1.0 (currently 1.1.0-beta1 on GitHub) as I've updated the plugin's configuration settings to allow a "conditional" enabling by customer_id. That way, store-owners that have shipping, payment or order-total modules (or templates) that haven't yet been found to work with the One-Page Checkout can install the plugin but enable it only for specific customers during a validation period.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Never mind, found the answer (Gateway Processing Services Module (3-step redirect)) in your previous post. I'm thinking that this payment method might need to be added to the OPC's "confirmation-required" list.
@designguy, would you mind trying the following change? Edit /includes/modules/pages/checkout_one_confirmation/header_php.php, find the following section:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay');
}
and change that to
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps');
}
That forces the OPC's confirmation page to display for the GPS payment method. Does that correct the issue on your store?
Quote:
Originally Posted by
designguy
I'll have to set up a test store and try it out. I'll let you know how it goes. Although my first thought is that it is more the gateway's API than the confirmation just because the gateway itself seems to be expecting the information to come at it in 3 stages.
@designguy, I'm going to go with my gut on this one and add the gps payment method to the list of payments that require the confirmation page. That update will be in the forthcoming v1.1.0 release of the One-Page Checkout.
-
Re: One-Page Checkout [Support Thread]
I've just submitted v1.1.0 of One-Page Checkout to the Zen Cart plugins for review; I'll post back once it's available there.
That release contains updates to address the following issues (identified by their GitHub issue number):
#76: Add confirmation required for Gateway Processing Services Module (3-step redirect)
#74: Update configuration to add "conditional" enablement
#73: Correct duplicate order-total values on the confirmation page
#72: Correct checkout-loop when an order's currency symbol includes htmlentities, e.g. `£`
#71: Correct shipping cost not updated when additional products are added to an order.
-
Re: One-Page Checkout [Support Thread]
v1.1.0 is now available for download.
-
Re: One-Page Checkout [Support Thread]
Love the one page checkout. Works great. Now I need to combine it with COWOA. Did not have any luck. Using 1.5.5d with Winchester Responsive template. Does anyone have a working site with both modules merged? I would love to learn in what order you went about. Merging all these files got way out of hand for me.
-
Re: One-Page Checkout [Support Thread]
Quote:
Does anyone have a working site with both modules merged?
I can confirm that COWOA and OPC can work together. We do have quite a bit of custom code though, and I can't really recall how much I had to do to get OPC to work with COWOA, but it doesn't seem like it was too much.
Use a development copy of your site and just work through your problems one at a time.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
LightBrown
I can confirm that COWOA and OPC can work together. We do have quite a bit of custom code though, and I can't really recall how much I had to do to get OPC to work with COWOA, but it doesn't seem like it was too much.
Use a development copy of your site and just work through your problems one at a time.
Thanks for that update, @LightBrown. Which version of COWOA did you use for the integration?
-
Re: One-Page Checkout [Support Thread]
Following up on COWOA with One Page Checkout. Had to use my templates includes\templates\MY_TEMPLATE\common\tpl_header.php AND tpl_main_page.php otherwise template breaks as reported before.
The next edits were done so the order steps does not display as we use OPC.
no_account.php
Removed the following
Code:
define('HEADING_TITLE', 'Step 1 of 5 - Billing Information');
replaced with
Code:
define('HEADING_TITLE', 'Billing Information');
tpl_no_account_default.php
removed
Code:
<!-- bof Order Steps (tableless) -->
<div id="order_steps">
<div class="order_steps_text">
<span id="active_step_text_COWOA"><i class="fa fa-file-text-o"></i><br /><?php echo TEXT_ORDER_STEPS_BILLING; ?></span><span class="order_steps_text1_COWOA"><i class="fa fa-truck"></i><br /><?php echo TEXT_ORDER_STEPS_1; ?></span><span class="order_steps_text2_COWOA"><i class="fa fa-credit-card"></i><br /><?php echo TEXT_ORDER_STEPS_2; ?></span><span class="order_steps_text3_COWOA"><i class="fa fa-pencil-square"></i><br /><?php echo TEXT_ORDER_STEPS_3; ?></span><span class="order_steps_text4_COWOA"><i class="fa fa-check"></i><br /><?php echo TEXT_ORDER_STEPS_4; ?></span>
</div>
<div class="order_steps_line_2">
<span class="progressbar_active_COWOA"> </span>
<span class="progressbar_inactive_COWOA"> </span><span class="progressbar_inactive_COWOA"> </span><span class="progressbar_inactive_COWOA"> </span><span class="progressbar_inactive_COWOA"> </span>
</div>
</div>
<!-- eof Order Steps (tableless) -->
did not use the admin\incudes\stylesheet.css as it would break my admin display. Not sure why tho.
I moved some stuff around in tpl_login_cowoa_default.php as I did not like the layout of the page. But that is just personal and had nothing to do with functionality.
-
Re: One-Page Checkout [Support Thread]
Hi Cindy,
OPC ver 1.1.0
OPC doesn't work worth a flip if you forget to copy the plugin's ajax.php file :blush:
Checkout using auth.net SIM completes with myDEBUG generated
Checkout using PPEC from shopping cart screen completes but generates 2 myDEBUG files and myDEBUG_OPC file.
Checkout by selecting PP in the Payment Methods on checkout screen completes but generates 5 myDEBUG and myDEBUG_OPC file.
Looks like multiple myDEBUG_OPC instances are combined into a single file instead of a separate file for each instance?
The myDEBUG files are greek to me and I can send them to you.
Suggestions? I call myself stepping through the install several times. That's how I caught the missed ajax.php file.
TNX
Rick
=====================================
The RED banner "Your order's details have changed. Please review the current values and re-submit." is annoying when submitting the payment the first time using the prefilled defaults, selecting payment method and only clicking the SUBMIT button.
ZC 1.5.4
Westminster_New template
I have shipping modules in service that are not in the OPC readme and a commercial OT mod with 2 variants installed.
Credit card payment is auth.net SIM (not listed in the OPC readme).
shipping:
USPS
Fedex
freeshipper
freeoptions x 2
storepickup
order_total:
discount coupon
group pricing
low order (installed but disabled)
prowebs optionone
prowebs optiontwo
quantity discount
shipping
subtotal
tax
total
payment:
auth.net SIM
PayPal EC
Check/money order installed but disabled
auth.net AIM installed but disabled
-
Re: One-Page Checkout [Support Thread]
Rick, the OPC debug file is generated (and accumulated) on a customer-id basis so that I can infer the transitions from the main (checkout_one) to confirmation (checkout_one_confirmation) pages.
Note that the error message is indicating that something has changed between the main-page's submission and the confirmation page's processing and "normally" isn't displayed.
Send me a copy of the myDEBUG and OPC debug files and I'll see what's up.
-
Re: One-Page Checkout [Support Thread]
Files sent via email.
The only thing changed was the radio button to select payment method prior to clicking submit the first time. I dunno.
-
Re: One-Page Checkout [Support Thread]
Rick, it looks like those prowebs order-totals are interfering with the OPC's "has the order changed" checking. I've requested a copy so that I can see what's going on.
I'm guessing that you set the OPC debug level to "full" to generate those PHP notify logs; it's normally sufficient to just use the "true" setting to get the OPC log generated. The "full" setting was added for additional debug and is not normally needed.
-
Re: One-Page Checkout [Support Thread]
Yes, I set to full because I figured that would tell you more.
Disabling the prowebs OT, still generates myDEBUGS (still set to full). The fileset includes 5 OT but I am only using 2 of them.
-
Re: One-Page Checkout [Support Thread]
Rick, when the OPC log is set to "full" you'll normally get a slew of logged notices, usually due to a constant's redefinition.
When you disabled the prowebs order-total modules, did that enable the checkout to proceed without issue? If not, would you first delete that OPC log, re-run the checkout with the prowebs OTs disabled and then email me that log file?
-
Re: One-Page Checkout [Support Thread]
Good morning Cindy,
Deleted myDEBUG-OPC files
Changed OPC log from Full to True
Prowebs OT config set to false (disabled)
Checkout payment using auth.net SIM completed without any errors on the customer side.
myDEBUG-OPC generated. CustNumber appended to the end. Probably normal ? ~33kb filesize
No RED banner either :smile:
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
RixStix
Good morning Cindy,
Deleted myDEBUG-OPC files
Changed OPC log from Full to True
Prowebs OT config set to false (disabled)
Checkout payment using auth.net SIM completed without any errors on the customer side.
myDEBUG-OPC generated. CustNumber appended to the end. Probably normal ? ~33kb filesize
No RED banner either :smile:
Hey, Rick, thanks for the update. I'm going to have to add those prowebs order-totals to the list of "known to be incompatible" items and I'll note that Authorize.net/SIM is "known to work".
With the OPC debug set to true, a myDEBUG-OPC log will be generated (and they're normally quite large, as you've seen).
-
Re: One-Page Checkout [Support Thread]
No problem. I didn't want you to spend too much time 'futzing' with things that are out of your control.
I could always remove those OT mods and find a different way to provide customer selectable Signature and Insurance requirements during checkout that are independent of specific shipping methods.
Enjoy the rest of the weekend.
-
Re: One-Page Checkout [Support Thread]
Pleased to report that the Nochex payment module works with OPC. So, that's another one for the list of compatible payments mods :smile:
Cheers / Frank
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
frank18
Pleased to report that the Nochex payment module works with OPC. So, that's another one for the list of compatible payments mods :smile:
Cheers / Frank
Thanks for that, Frank. I'll update the documentation to reflect that Nochex has been found to be compatible!
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Thanks for that update, @LightBrown. Which version of COWOA did you use for the integration?
V 2.6, I think.
-
Re: One-Page Checkout [Support Thread]
A report that quantity discounts 1.12.1 & preview 1.12 (paid mod) works with OPC ...
-
Re: One-Page Checkout [Support Thread]
-
Re: One-Page Checkout [Support Thread]
My apologies if this is a silly question, but how does this plugin differ from the Paypal Express Checkout that comes standard with Zencart?
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
ttfan
My apologies if this is a silly question, but how does this plugin differ from the Paypal Express Checkout that comes standard with Zencart?
This plugin provides a reformatting of the checkout pages, so instead of going from checkout_shipping to checkout_payment to checkout_confirmation your customers will normally see a consolidation of those three pages into a single checkout_one page. Depending on the payment methods that your store uses, your customers might also see a confirmation page.
Essentially, the checkout process gets a bit more streamlined by this plugin's processing.
-
Re: One-Page Checkout [Support Thread]
I do love this plugin. :smile: I have a client using Klarna for payment. I was expecting it would be a problem, and it is. I get 'the details of your order have changed' error. Klarna isn't a popular payment module, so not sure if you want to try and tackle this one or not. If yes, I can send the error log.
-
Re: One-Page Checkout [Support Thread]
James, what happens after you edit the following block in /includes/modules/pages/checkout_one_confirmation/header_php.php:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps');
}
to include that Klarna payment method, presumed to have a payment-module-code of klarna:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps,klarna');
}
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
James, what happens after you edit the following block in /includes/modules/pages/checkout_one_confirmation/header_php.php:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps');
}
to include that Klarna payment method, presumed to have a payment-module-code of klarna:
Code:
// -----
// There are some payment methods (like eWay) that "replace" the confirmation form via the HTML they return on
// the "process_button" payment-class function. Rather than hard-code the list in code, below, the following
// constant will be updated as additional payment-methods that make use of that interface are identified.
//
if (!defined ('CHECKOUT_ONE_CONFIRMATION_REQUIRED')) {
define ('CHECKOUT_ONE_CONFIRMATION_REQUIRED', 'eway_rapid,stripepay,gps,klarna');
}
That might have fixed it. I'm getting an error back from Klarna that the phone number is mis-formatted so I'll track that down now.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
jeking
That might have fixed it. I'm getting an error back from Klarna that the phone number is mis-formatted so I'll track that down now.
In the next release of the OPC, I'm going to just move that PHP definition into an admin-configurable setting; it'll make these "special" payment methods easier to deal with.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
In the next release of the OPC, I'm going to just move that PHP definition into an admin-configurable setting; it'll make these "special" payment methods easier to deal with.
There's always something. :smile:
Once I get this working, I'll confirm if there are any other issues or if this was all that's needed.
-
Re: One-Page Checkout [Support Thread]
Hello, I realy liked the idea of having one page checkout but not working for me.
I am using theme from themeforest and when i go to checkout i have these warnings
[16-Feb-2017 18:10:23 Europe/Sofia] Request URI: /v2/index.php?main_page=checkout_one_confirmation, IP address: 212.25.58.42
#1 zen_calculate_tax() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:561]
#2 order->cart() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:35]
#3 order->__construct() called at [/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php:112]
#4 require(/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/home/xxxxxxx/public_html/v2/index.php:41]
[16-Feb-2017 18:10:23 Europe/Sofia] PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172
[16-Feb-2017 18:10:23 Europe/Sofia] Request URI: /v2/index.php?main_page=checkout_one_confirmation, IP address: 212.25.58.42
#1 zen_calculate_tax() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:562]
#2 order->cart() called at [/home/xxxxxxx/public_html/v2/includes/classes/order.php:35]
#3 order->__construct() called at [/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php:112]
#4 require(/home/xxxxxxx/public_html/v2/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/home/xxxxxxx/public_html/v2/index.php:41]
[16-Feb-2017 18:10:23 Europe/Sofia] PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172
Does anybody encoutered the same problem and if yes did you managed to fix it?
Thank you.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
perfumbg
PHP Warning: A non-numeric value encountered in /home/xxxxxxx/public_html/v2/includes/functions/functions_taxes.php on line 172
I think that issue is resolved by making the change shown here: https://github.com/zencart/zencart/pull/1380/files ... and is a bug in Zen Cart that only occurs in newer PHP versions. It's not related to One Page Checkout specifically.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
DrByte
Thank you that did the trick but stil have some isues:
Code:
[16-Feb-2017 19:04:15 Europe/Sofia] Request URI: /v2/shoppingcart.php, IP address: 212.25.58.42
#1 session_start() called at [/home/xxxxxx/public_html/v2/includes/functions/sessions.php:107]
#2 zen_session_start() called at [/home/xxxxxx/public_html/v2/includes/init_includes/overrides/init_sessions.php:90]
#3 require(/home/xxxxxx/public_html/v2/includes/init_includes/overrides/init_sessions.php) called at [/home/xxxxxx/public_html/v2/includes/autoload_func.php:48]
#4 require(/home/xxxxxx/public_html/v2/includes/autoload_func.php) called at [/home/xxxxxx/public_html/v2/includes/application_top.php:170]
#5 require(/home/xxxxxx/public_html/v2/includes/application_top.php) called at [/home/xxxxxx/public_html/v2/shoppingcart.php:11]
[16-Feb-2017 19:04:15 Europe/Sofia] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/xxxxxx/public_html/v2/shoppingcart.php:1) in /home/xxxxxx/public_html/v2/includes/functions/sessions.php on line 107
[16-Feb-2017 19:04:15 Europe/Sofia] Request URI: /v2/shoppingcart.php, IP address: 212.25.58.42
#1 header() called at [/home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php:78]
#2 require(/home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php) called at [/home/xxxxxx/public_html/v2/includes/autoload_func.php:48]
#3 require(/home/xxxxxx/public_html/v2/includes/autoload_func.php) called at [/home/xxxxxx/public_html/v2/includes/application_top.php:170]
#4 require(/home/xxxxxx/public_html/v2/includes/application_top.php) called at [/home/xxxxxx/public_html/v2/shoppingcart.php:11]
[16-Feb-2017 19:04:15 Europe/Sofia] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/v2/shoppingcart.php:1) in /home/xxxxxx/public_html/v2/includes/init_includes/init_templates.php on line 78
Where should i look for that ?
Thank you so much!
-
Re: One-Page Checkout [Support Thread]
Also I checked full debug and new debug was generated with much more information.
Code:
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 359
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 359
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 360
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 360
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined variable: coupon_code in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 361
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 361
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: shipping in /home/xxxxxxxx/public_html/v2/includes/classes/order.php on line 368
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined variable: pass in /home/xxxxxxxx/public_html/v2/includes/modules/pages/checkout_one/header_php.php on line 210
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Constant MODULE_ORDER_TOTAL_COUPON_HEADER already defined in /home/xxxxxxxx/public_html/v2/includes/languages/bulgarian/modules/order_total/luxury_temp/ot_coupon.php on line 14
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined property: ot_subtotal::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 165
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: cot_coupon in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 167
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: cot_group_pricing in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 167
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined property: ot_total::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 165
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: cc_id in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 392
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 32
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 33
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/html_header.php on line 27
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_colorclass.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_header_option - assumed 'luxury_header_option' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_colorclass.php on line 4
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_banner_section - assumed 'luxury_banner_section' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 54
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined variable: class in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 104
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined variable: style in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_main_page_2.php on line 104
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_header_option - assumed 'luxury_header_option' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 5
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_category_menu - assumed 'luxury_category_menu' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_header_menu_2.php on line 130
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_preset - assumed 'luxury_preset' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/templates/tpl_modules_search.php on line 2
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined property: ot_subtotal::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 125
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 136
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Trying to get property of non-object in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 136
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined variable: selection in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 141
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined property: ot_total::$credit_class in /home/xxxxxxxx/public_html/v2/includes/classes/order_total.php on line 125
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: checkbox in /home/xxxxxxxx/public_html/v2/includes/templates/template_default/templates/tpl_checkout_one_default.php on line 95
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: cc_id in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_coupon.php on line 392
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 32
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Undefined index: total in /home/xxxxxxxx/public_html/v2/includes/modules/order_total/ot_group_pricing.php on line 33
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant CSS_BUTTON_POPUPS_IS_ARRAY - assumed 'CSS_BUTTON_POPUPS_IS_ARRAY' in /home/xxxxxxxx/public_html/v2/includes/functions/html_output.php on line 339
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant luxury_footer - assumed 'luxury_footer' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_footer.php on line 35
[16-Feb-2017 20:26:42 Europe/Sofia] PHP Notice: Use of undefined constant CONTACT_US - assumed 'CONTACT_US' in /home/xxxxxxxx/public_html/v2/includes/templates/luxury_temp/common/tpl_footer.php on line 87
Any help is wellcome, thanks.
-
Re: One-Page Checkout [Support Thread]
Maybe there is no problem with the OPC but with compability with modules, when I remove COD no warnings appear in the logs but still have that anoying pop-up:
Please contact the site owner; some of the required elements are mssing
How to fix that what elements are missing, or i cant find them
Link dont use category menu because you will be redirected to the Live site add product form the main page!
login details for custommer
icogiev at g m a i l.com
123456
-
Re: One-Page Checkout [Support Thread]
I found the problem I was missing shipping_ot when I enabled it no more pop-ups!
Thanks for all the help, great module!
-
Re: One-Page Checkout [Support Thread]
I just successfully checked out using the credentials you provided.
-
Re: One-Page Checkout [Support Thread]
:hug:
OPC logfile sure made it easy (for me) to confirm data entered/submitted by customer when contacted by customer insisting that they entered a different shipping address.
Customer finally admits changing address info in their account after order was placed without realizing that a data trail might exist. :oops:
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
RixStix
OPC logfile sure made it easy (for me) to confirm data entered/submitted by customer when contacted by customer insisting that they entered a different shipping address.
Customer finally admits changing address info in their account after order was placed without realizing that a data trail might exist.
Nice one, Rick! You kind of have to "wrap your head" around the formatting, but your comment reinforces my original belief that the debug-logs should be kept on a customer-by-customer basis instead of the transaction-basis that's used by many of the built-in payment methods.
-
Re: One-Page Checkout [Support Thread]
I'm using One-Page Checkout 1.1.0 on ZenCart 1.55e and COWOA 2.7 beta, and Ceon Manual Card 4.01. Everything is working great with one hiccup that I believe is related to the One-Page Checkout addon
:
If a bad credit card number is entered (wrong number of digits), the normal prompt comes up about it. But after you put the correct one in, a note comes up 'Your order's details have changed. Please review the current values and re-submit.' (That text is in /includes/languages/english/checkout_one_confirmation.php)
Then you have to enter the credit card information AGAIN to get the order to process.
It is a pretty minor inconvenience that won't happen often but if there is an easy fix for it it would be nice if it never happened. Thanks for the great addon!
-
Re: One-Page Checkout [Support Thread]
It's certainly related to using OPC with COWOA! I haven't yet validated any version of COWOA with OPC and I'll update the OPC readme to indicate as such.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
It's certainly related to using OPC with COWOA! I haven't yet validated any version of COWOA with OPC and I'll update the OPC readme to indicate as such.
For info... I'm working on converting what I have as COWOA to ZC1.5.5e. Already has a one page, but its older code and I like your version better. Setting it up on the response classic template..
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
davewest
For info... I'm working on converting what I have as COWOA to ZC1.5.5e. Already has a one page, but its older code and I like your version better. Setting it up on the response classic template..
Good news, Dave! Thanks for the update.
-
Re: One-Page Checkout [Support Thread]
Hi there!
I too am getting the "Please contact the site owner; some of the required elements are missing" pop up error. I followed the instructions from an earlier post to determine the missing element. I'm missing #otshipping. I'm new to all of this and was hoping you could tell me in newbie language what I need to do to resolve this?
Thanks,
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Kritterann23
Hi there!
I too am getting the "Please contact the site owner; some of the required elements are missing" pop up error. I followed the instructions from an earlier post to determine the missing element. I'm missing #otshipping. I'm new to all of this and was hoping you could tell me in newbie language what I need to do to resolve this?
Thanks,
Welcome to the Zen Cart community! If you'll answer a couple of questions, I'll try to help:
- Would you provide a link to your store, either here in the support-thread or via PM (private message) to me?
- What template are you using?
- What version of OPC are you using?
- What version of Zen Cart are you using?
-
Re: One-Page Checkout [Support Thread]
Just a follow-up to @Kritterann23's issue, the YourSite template from themeforest makes incompatible changes to the /includes/templates/YourSite/templates/tpl_modules_order_total.php module, removing the HTML id attributes that OPC is looking for.
I'll add that template to the list of known incompatibilities.
-
Re: One-Page Checkout [Support Thread]
strange thing I have not noticed before. Might have done this myself when merging. So when I place an order I come to the one page checkout page. All looks as I expect. I fill in credit card info and press confirm order button and it gets me to a 2nd page with all order info on it and card info and such and wants me to confirm again? Is this normal? I use PayPal Pro payment module.
When I tested on the test site I used mainly the money order payment module to testing and this second confirmation page never shows.
Now this one page checkout is suddenly a two page checkout? I am confused.
-
Re: One-Page Checkout [Support Thread]
Just want to add I am on 155e using modified Winchester responsive. COWOA is installed. Payment mods are PayPal Pro and PayPal Express.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
mydanilo
strange thing I have not noticed before. Might have done this myself when merging. So when I place an order I come to the one page checkout page. All looks as I expect. I fill in credit card info and press confirm order button and it gets me to a 2nd page with all order info on it and card info and such and wants me to confirm again? Is this normal? I use PayPal Pro payment module.
When I tested on the test site I used mainly the money order payment module to testing and this second confirmation page never shows.
Now this one page checkout is suddenly a two page checkout? I am confused.
Quote:
Originally Posted by
mydanilo
Just want to add I am on 155e using modified Winchester responsive. COWOA is installed. Payment mods are PayPal Pro and PayPal Express.
That's to be expected. PayPal Payments Pro, like Authorize.net/AIM, collects credit-card data on-site; that's where the additional confirmation page for those payment methods comes from.
-
Re: One-Page Checkout [Support Thread]
I'm not just getting the confirmation page, I am prompted to confirm a second time. Really confusing and easy to miss that another time the confirm button needs to be pressed. Then the 3rd page is the actual confirmation that order was placed.
-
Re: One-Page Checkout [Support Thread]
Let me ask this and please confirm it this is how the checkout flow should be with One_Page Checkout.
Item in shopping cart, now pressing checkout
Step 1 - Login page - ether choose returning customer, guest checkout, or new customer, fill in info and now pressing continue
Step 2 - Checkout page - this is now the new one page checkout page. I choose shipping method and fill in my credit card info in payment box. At bottom of screen is my cart summary all correct. I press the Confirm Order button (just below button we have this text: Upon order-submittal, a confirmation email will be sent to dxxxxxss######################). Here I would expect by pressing button that my card is getting charged and I will see the order confirmation page. But let's see.
Step 3 - Review and Confirm - Didn't we just do this? Why this extra step? This page looks like an order confirmation and we could loose many orders right here. Unless I scroll to the bottom of the page and read: "Final Step - continue to submit your order. Thank you!" Then have to press button Confirm Order.
Step (or page) 4 - Order Confirmation page. Order complete.
Is this how it is supposed to work? Or did I merge code wrong and ended up with one more step to confirm order? Looks like I only consolidated shipping and payment info on one page. The rest is still all the steps from the original checkout process. So I am saving one step... can't be right.
-
Re: One-Page Checkout [Support Thread]
@mydanilo, that's the way it (currently) works for those payment methods that "collect credit card data on-site", like PayPal Payments Pro.
I've got an active change-request open for the OPC to change the initial "wording" on that confirm-order button for payment methods like this, specifically to reduce customer confusion.
-
Re: One-Page Checkout [Support Thread]
I will make the changes in wording and button so I can go live with it. Thought something was wrong. Thanks for clarifying.
-
Re: One-Page Checkout [Support Thread]
I would like to try this plugin on a brand new site using zencart 155e. I am using a responsive template called westminster_new.
Would one page checkout work? Or is it still to new to know?
I tried to make the plugin called fast and easy checkout to work but it does not for some reason.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Maynards
I would like to try this plugin on a brand new site using zencart 155e. I am using a responsive template called westminster_new.
Would one page checkout work? Or is it still to new to know?
I tried to make the plugin called fast and easy checkout to work but it does not for some reason.
Works a treat on Westminster New, have it running on several client sites with this template.
To install, simply follow the detailed instructions to a T and you are up and running.
Good Luck!
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
frank18
Works a treat on Westminster New, have it running on several client sites with this template.
To install, simply follow the detailed instructions to a T and you are up and running.
Good Luck!
Thanks, I will give it a try
-
Re: One-Page Checkout [Support Thread]
It did not work for me. I obviously did something wrong. What I did since I am working on a new site was merged all files to a local copy of my site on my computer then uploaded the whole site via FTP to my server. Was that wrong???
Since I am not very well versed on the process of adding plungins like this to a site. I struggled a bit when reading the instructions on the addon.
Was I suppose to FTP the files one at a time straight to a copy of my site that is on the server???
Thanks in advance for any help on the procedure of adding this plugin.
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Maynards
It did not work for me. I obviously did something wrong. What I did since I am working on a new site was merged all files to a local copy of my site on my computer then uploaded the whole site via FTP to my server. Was that wrong???
Since I am not very well versed on the process of adding plungins like this to a site. I struggled a bit when reading the instructions on the addon.
Was I suppose to FTP the files one at a time straight to a copy of my site that is on the server???
Thanks in advance for any help on the procedure of adding this plugin.
In what way did it not work? What Zen Cart version and what template are you using? Did you enable the plugin after uploading the files (it defaults to disabled)?
For plugins that have a lot of files (like this one), I usually
- Unzip the plugin into a directory on my local machine, recognizing that there's usually an intermediate directory (e.g. one_page_checkout-1.1.0) that represents the "root" directory of that zip-file.
- Change the YOUR_ADMIN and YOUR_TEMPLATE directory names in that local copy.
- Merge any necessary files into that local copy.
- Use my FTP program (I use WinSCP) and copy the local copy, starting at its root, to the root directory of my hosted Zen Cart.
- Go to the site's admin to make sure that the plugin installed correctly and perform any configuration settings required.
-
Re: One-Page Checkout [Support Thread]
Had a customer complaining that they could not change the selected shipping method after getting to index.php?main_page=checkout_one_confirmation.
In a round-about way it is possible to change the shipping method (I know that... ) but a first time customer may be looking for an 'Edit' button next to "Shipping Method:" which ofc does not exist.
Any chance to get that done in the next updated version please? An 'Edit' button just needs to redirect back to the index.php?main_page=checkout_one page.
Cheers / Frank
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
frank18
Had a customer complaining that they could not change the selected shipping method after getting to index.php?main_page=checkout_one_confirmation.
In a round-about way it is possible to change the shipping method (I know that... ) but a first time customer may be looking for an 'Edit' button next to "Shipping Method:" which ofc does not exist.
Any chance to get that done in the next updated version please? An 'Edit' button just needs to redirect back to the index.php?main_page=checkout_one page.
Cheers / Frank
Meanwhile, in includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_one_confirmation_default.php I changed this part
PHP Code:
<?php
if ($order->info['shipping_method']) {
?>
<h3 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h3>
<h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4>
<?php
}
?>
to this
PHP Code:
<?php
if ($order->info['shipping_method']) {
?>
<h3 id="checkoutConfirmDefaultShipment"><?php echo HEADING_SHIPPING_METHOD; ?></h3>
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link (FILENAME_CHECKOUT_ONE, '', 'SSL') . '">' . zen_image_button (BUTTON_IMAGE_EDIT_SMALL, BUTTON_EDIT_SMALL_ALT) . '</a>'; ?></div>
<h4 id="checkoutConfirmDefaultShipmentTitle"><?php echo $order->info['shipping_method']; ?></h4>
<?php
}
?>
Cheers / Frank
-
Re: One-Page Checkout [Support Thread]
Thanks, @frank18, I'll look to get this into the next release ... with a caveat:
There are payment modules that replace the shipping-address link during the "normal" checkout_confirmation processing. I'll look to more mimic the full checkout_confirmation page on the OPC confirmation one.
-
Re: One-Page Checkout [Support Thread]
zencart 155e
getting this
Your order's details have changed. Please review the current values and re-submit.
Kindly help
-
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
diptimoy
zencart 155e
getting this
Your order's details have changed. Please review the current values and re-submit.
Kindly help
A teeny bit more information will help me help!
- What template are you using?
- Was this a fresh ZC 1.5.5e install or did you upgrade?
- What shipping, order_total and payment modules are you using?
-
Re: One-Page Checkout [Support Thread]
I am working with Zen Cart 1.5.5d.
I have installed One-Page Checkout. Nice!
I have been working on a two modules. One charges a fee for shipping items that require special shipping fee (in this case it is a Hazardous Materials Fee or Hazmat), the second module charges a fee for shipping items that are different from the majority sold in the store (e.g the items doesn't fit into the standard shipping configuration) it is called Surcharge Fee.
Both of these are based on the priority_handling_1.2.1, which was based on a modification of the Insurance Shipping module, which is a modification of the low order fee module from Harald Ponce de Leon.
For some reason it is based on the $credit_selection component. Not sure why, but now is making itself apparent in One-Page Checkout.
The modules are picked up and display themselves, there is an "Apply" button that is also visible, that I can take of in regards to interfacing with my plugins.
Where I am needing a little guidance is with the order total. It is not picking up the additional fees in the order total amount, nor is it showing their presence in the "addition" display in order total calculation.
Any pointers to where I might look to get those into the total?
It works properly in the default checkout system.
Tony
-
Re: One-Page Checkout [Support Thread]
As a followup. There are no files that conflict (overwrite) from the Surcharge/HazMat plugin and the One-Page Checkout.
TR
-
Re: One-Page Checkout [Support Thread]
I also am getting "cart message" outlined in thread message 393 - "Your order's details have changed. Please review the current values and re-submit." it is like loop and I cannot get past it. However if I do not have any items that require the hazmat shipping or surcharge fee it processes correctly.
TR
-
Re: One-Page Checkout [Support Thread]
The website is at http://bms.night.net it is underdevelopment.
To see the hazmat fee added this link will add it to the cart.
http://bms.night.net/index.php?main_...oducts_id=2486
To see the surcharge fee added this link will add it to the cart.
http://bms.night.net/index.php?main_...oducts_id=1589
TR
-
Re: One-Page Checkout [Support Thread]
Tony, there are a couple of things going on here.
First, you shouldn't be getting that "something's changed" message when updating a "credit-class" order total by clicking an "Apply" button. In /includes/modules/pages/checkout_one_confirmation/header_php.php, find:
Code:
if ($checkout_one->hashSession ($currencies->format ($order->info['total'])) != $session_start_hash) {
$error = true;
$messageStack->add_session ('checkout_payment', ERROR_NOJS_ORDER_CHANGED, 'error');
}
and change that to
Code:
if ($order_confirmed && $checkout_one->hashSession ($currencies->format ($order->info['total'])) != $session_start_hash) {
$error = true;
$messageStack->add_session ('checkout_payment', ERROR_NOJS_ORDER_CHANGED, 'error');
}
I'll get that updated in the next OPC release.
Secondly, the processing performed by your Priority Handling order-total will require some re-alignment to interoperate with OPC. An OT module's collect_posts function is called on each entry to the OPC's initial page, just like on the normal checkout_payment page. Your order-total, for that method :
Code:
function collect_posts()
{
global $db, $currencies;
if ($_POST['opt_priority_handling']) {
$_SESSION['priority_handling'] = $_POST['opt_priority_handling'];
} else {
$_SESSION['priority_handling'] = '0';
}
}
resets the session-based value if the associated $_POST variable isn't set ... which it isn't upon return to the OPC initial page after ticking and clicking the Apply button.
This processing is similar to the order-total's behavior in a normal checkout. If you tick the "Priority Handling" box on the payment page but choose to edit your order's comments from the confirmation page, the box is no longer ticked when the payment page is redisplayed.
I'll "chew" on this a bit, as it's not yet clear to me how to preserve the state of that checkbox input.
-
Re: One-Page Checkout [Support Thread]
In my case I changed the CheckBox/Radio button from the Priority Handling to a hidden field that is selected. So there no choice to the user. It should always be set.
While the Hazmat/Surcharge plugins are still being developed the code is available for review:
http://bms.night.net/Hazmat-Surcharge.zip
Tony
-
Re: One-Page Checkout [Support Thread]
You're going to run into the same issue with that HazMat handling; the underlying issue is that there's no "good way" to preserve the state of that checkbox field across redirects.
My initial thought is that you could convert the checkbox to a yes/no radio button so that the variable is always present ...