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

One-Page Checkout [Support Thread]

Views: 629,285

Results 721 to 740 of 3,074
31 Jan 2018, 5:33 AM
#721
tmccaff avatar

tmccaff

Zen Follower

Join Date:
Jan 2018
Posts:
157
Plugin Contributions:
0

One-Page Checkout [Support Thread]

I have the following into configuration:

Payment_methods_requiring_information: square,paypal I am thinking perhaps I have this wrong tested only under paypal express at moment.

getting these errors in my php-fpm Log even know orders go through:

[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: paypalwpp in /var/www/giftboundgifts/includes/classes/order.php on line 354
[31-Jan-2018 05:32:01 UTC] PHP Notice: Trying to get property of non-object in /var/www/giftboundgifts/includes/classes/order.php on line 354
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: paypalwpp in /var/www/giftboundgifts/includes/classes/order.php on line 355
[31-Jan-2018 05:32:01 UTC] PHP Notice: Trying to get property of non-object in /var/www/giftboundgifts/includes/classes/order.php on line 355
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined variable: coupon_code in /var/www/giftboundgifts/includes/classes/order.php on line 356
[31-Jan-2018 05:32:01 UTC] PHP Notice: Trying to get property of non-object in /var/www/giftboundgifts/includes/classes/order.php on line 356
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined variable: pass in /var/www/giftboundgifts/includes/modules/pages/checkout_one/header_php.php on line 209
[31-Jan-2018 05:32:01 UTC] PHP Notice: Constant FREE_SHIPPING_TITLE already defined in /var/www/giftboundgifts/includes/languages/english/modules/order_tot$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Constant FREE_SHIPPING_DESCRIPTION already defined in /var/www/giftboundgifts/includes/languages/english/modules/ord$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Constant MODULE_ORDER_TOTAL_COUPON_HEADER already defined in /var/www/giftboundgifts/includes/languages/english/modu$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Constant SHIPPING_NOT_INCLUDED already defined in /var/www/giftboundgifts/includes/languages/english/modules/order_t$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Constant TAX_NOT_INCLUDED already defined in /var/www/giftboundgifts/includes/languages/english/modules/order_total/$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined property: ot_subtotal::$credit_class in /var/www/giftboundgifts/includes/classes/order_total.php on line 1$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined property: ot_shipping::$credit_class in /var/www/giftboundgifts/includes/classes/order_total.php on line 1$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: cot_coupon in /var/www/giftboundgifts/includes/classes/order_total.php on line 167
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: cot_group_pricing in /var/www/giftboundgifts/includes/classes/order_total.php on line 167
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined property: ot_tax::$credit_class in /var/www/giftboundgifts/includes/classes/order_total.php on line 165
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined property: ot_loworderfee::$credit_class in /var/www/giftboundgifts/includes/classes/order_total.php on lin$
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: gv_redeem_code in /var/www/giftboundgifts/includes/modules/order_total/ot_gv.php on line 238
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: submit_redeem_x in /var/www/giftboundgifts/includes/modules/order_total/ot_gv.php on line 284
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined property: ot_total::$credit_class in /var/www/giftboundgifts/includes/classes/order_total.php on line 165
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: cc_id in /var/www/giftboundgifts/includes/modules/order_total/ot_coupon.php on line 392
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: total in /var/www/giftboundgifts/includes/modules/order_total/ot_group_pricing.php on line 32
[31-Jan-2018 05:32:01 UTC] PHP Notice: Undefined index: total in /var/www/giftboundgifts/includes/modules/order_total/ot_group_pricing.php on line 33

31 Jan 2018, 6:25 AM
#722
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: One-Page Checkout [Support Thread]

tmccaff:

I have the following into configuration:
Payment_methods_requiring_information: square,paypal I am thinking perhaps I have this wrong tested only under paypal express at moment.
Forgive me if I seem terse. I know you're new here but, in your short time, you've done @ 5 posts per day and often ignored requests or suggestions that could help us help you.
Take the first sentence. What do you mean by configuration? We're not mind readers. It's like saying you have an engine problem. It could be no water, no gas, no battery, no plugs, etc. We could be telling you to check water, gas, etc only to find that you have an electric car.
Second sentence. If you are having problems with square and paypal, what are you doing in the one page checkout thread?
OPC is VERY easy to turn off in the ADMIN >> Configuration >> One-page checkout settings. Have you turned that off and tried to see if you still have problems? If you do, fix those first.
Have you ever looked at the posting tips that show up when you open or reply to a thread? They're often treated like the shrink-wrap on the directions manual. They're there for a reason. Everyone here is a volunteer and shouldn't have to second guess you, set up a test site to try to recreate your problem, or try to sort out code that you fail to use the code tag (#) to display the items.
Your errors show that some ot files have items that should be there but are not working AND items that aren't there that the system is looking for in order to operate. You can't properly troubleshoot when you are trying to run three items together that might have common files.
First steps in getting help on the forum is to attempt to make it easier for the helpers.
Back off to a time in your install when you have only one item using orders.php. See if it works.
Remove it and try the other. See if it works.
Remove it and try the third. See if it works.
If all three work, put 1 and 2 together. See if they work.
If that works, put 1 and 3 together. See if they work.
If that works, put 2 and 3 together. See if they work.
Seems like a lot of work and it is. A lot of time that you should spend getting as close to the problem as possible so that your helper can help you.
Everyone here on the forum is anxious to help but not so able to invest much time in areas you should address before posting.
THANX for your future consideration in helping us to help you.

31 Jan 2018, 11:20 AM
#723
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

@tmccaf, I'll echo SIZE=1[/SIZE] what @dbltoe said. You've posted a bunch of PHP Notices (only one actually issued within *OPC *code) which shouldn't affect operation.

What is the problem you're trying to solve?

7 Feb 2018, 1:13 PM
#724
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

I'm pleased to announce that the beta-test for One-Page Checkout v2.0.0 has begun! I've got these changes (a ton of them) available for testing on an alternate GitHub repository (https://github.com/lat9/one_page_checkout_guest). Once the beta-test phase is complete, I'll merge the v2.0.0 changes and additions back into the base plugin's repository.

This release provides the integration of guest-checkout and registered-accounts features into OPC, using its 1.5.0 version as the basis. Additional documentation can be viewed at https://lat9.github.io/one_page_checkout.

If you are providing beta-test comments, please report those via GitHub issues rather than here in the forum.

8 Feb 2018, 11:40 PM
#725
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

I thought I had seen this before but can't find any mention in the thread. 1.4.2 is installed on ZC 1.5.5f. The problem is the Confirm your Order button cannot be clicked, regardless of payment method selected.

The console shows no errors:
setFormSubmitButton, payment-module: null
jquery.checkout_one.min.js:5 Showing "confirm"
jquery.checkout_one.min.js:5 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.min.js:5 jQuery version: 1.11.1

Shipping module is Free Shipping.
Payment are: Elavon, Check/Money order and PayPal Express Checkout

9 Feb 2018, 11:26 AM
#726
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

I thought I had seen this before but can't find any mention in the thread. 1.4.2 is installed on ZC 1.5.5f. The problem is the Confirm your Order button cannot be clicked, regardless of payment method selected.

The console shows no errors:
setFormSubmitButton, payment-module: null
jquery.checkout_one.min.js:5 Showing "confirm"
jquery.checkout_one.min.js:5 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.min.js:5 jQuery version: 1.11.1

Shipping module is Free Shipping.
Payment are: Elavon, Check/Money order and PayPal Express Checkout
I've never used Elavon. What happens if you (temporarily) disable that payment method? Can the Confirm your Order button be clicked now?

9 Feb 2018, 2:02 PM
#727
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

I've never used Elavon. What happens if you (temporarily) disable that payment method? Can the Confirm your Order button be clicked now?

Nope, I'm afraid not.

9 Feb 2018, 2:23 PM
#728
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

Nope, I'm afraid not.
Did you select a payment type? The "Confirm" or "Review" button won't fire without it.

9 Feb 2018, 2:26 PM
#729
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Did you select a payment type? The "Confirm" or "Review" button won't fire without it.

Yes, tried both Check/Money order and PayPal.

9 Feb 2018, 2:38 PM
#730
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

Yes, tried both Check/Money order and PayPal.
Please email me the OPC log associated with the failed display. Is the site in question publicly available?

9 Feb 2018, 3:10 PM
#731
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Please email me the OPC log associated with the failed display. Is the site in question publicly available?

Will do and yes. Look for both in your email. Thanks!

9 Feb 2018, 6:49 PM
#732
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

Will do and yes. Look for both in your email. Thanks!
Got em! It looks like you've got a down-level version of Image Handler's jscript_imagehover.js (see this GitHub issue for details).

9 Feb 2018, 7:11 PM
#733
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Got em! It looks like you've got a down-level version of Image Handler's jscript_imagehover.js (see this GitHub issue for details).

Nice sluthing! I'll get that fixed.

9 Feb 2018, 7:12 PM
#734
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

Nice sluthing! I'll get that fixed.
I'm pretty sure that that's the root-cause; let me know if that doesn't correct the issue.

9 Feb 2018, 7:27 PM
#735
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

I'm pretty sure that that's the root-cause; let me know if that doesn't correct the issue.

No good dead goes unpunished. I can click the button....and now I'm getting the famous "You must choose a shipping method for your order before the order can be confirmed."

In the console, I do see:
jquery.checkout_one.min.js:5 Uncaught TypeError: Cannot read property 'top' of undefined
at o (jquery.checkout_one.min.js:5)
at t (jquery.checkout_one.min.js:5)
at HTMLSpanElement.<anonymous> (jquery.checkout_one.min.js:5)
at HTMLSpanElement.dispatch (jquery.min.js:3)
at HTMLSpanElement.r.handle (jquery.min.js:3)

I don't think I mentioned this, but I'm using OPC 1.5.0

9 Feb 2018, 7:42 PM
#736
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

No good dead goes unpunished. I can click the button....and now I'm getting the famous "You must choose a shipping method for your order before the order can be confirmed."

In the console, I do see:
jquery.checkout_one.min.js:5 Uncaught TypeError: Cannot read property 'top' of undefined
at o (jquery.checkout_one.min.js:5)
at t (jquery.checkout_one.min.js:5)
at HTMLSpanElement.<anonymous> (jquery.checkout_one.min.js:5)
at HTMLSpanElement.dispatch (jquery.min.js:3)
at HTMLSpanElement.r.handle (jquery.min.js:3)

I don't think I mentioned this, but I'm using OPC 1.5.0
Please update the setting on the site to use the unminified version of the jScript files (that'll give a bit more information as to the location of the issue).

How is the associated product defined (I see it's free shipping)?

9 Feb 2018, 7:55 PM
#737
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

For shipping, I've got "Order Free Shipping 0 Weight Status" set to TRUE.

Minified is now false.

Showing "confirm"
jquery.checkout_one.js:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js:54 jQuery version: 1.11.1
jquery.checkout_one.js:54 setFormSubmitButton, payment-module: moneyorder
jquery.checkout_one.js:54 Showing "confirm"
jquery.checkout_one.js:54 submitFunction, 2 arguments: 0, 0,
jquery.checkout_one.js:54 Current order total: 47.50, text: $47.50
jquery.checkout_one.js:54 submitFunction, on exit submitter=null
jquery.checkout_one.js:54 Setting orderConfirmed (1), submitter (null)
jquery.checkout_one.js:54 Submitting order-creating form
jquery.checkout_one.js:255 Uncaught TypeError: Cannot read property 'top' of undefined
at focusOnShipping (jquery.checkout_one.js:255)
at changeShippingSubmitForm (jquery.checkout_one.js:356)
at HTMLSpanElement.<anonymous> (jquery.checkout_one.js:501)
at HTMLSpanElement.dispatch (jquery.min.js:3)
at HTMLSpanElement.r.handle (jquery.min.js:3)

9 Feb 2018, 8:01 PM
#738
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

For shipping, I've got "Order Free Shipping 0 Weight Status" set to TRUE.

Minified is now false.

Showing "confirm"
jquery.checkout_one.js:54 Setting orderConfirmed (0), submitter (null)
jquery.checkout_one.js:54 jQuery version: 1.11.1
jquery.checkout_one.js:54 setFormSubmitButton, payment-module: moneyorder
jquery.checkout_one.js:54 Showing "confirm"
jquery.checkout_one.js:54 submitFunction, 2 arguments: 0, 0,
jquery.checkout_one.js:54 Current order total: 47.50, text: $47.50
jquery.checkout_one.js:54 submitFunction, on exit submitter=null
jquery.checkout_one.js:54 Setting orderConfirmed (1), submitter (null)
jquery.checkout_one.js:54 Submitting order-creating form
jquery.checkout_one.js:255 Uncaught TypeError: Cannot read property 'top' of undefined
at focusOnShipping (jquery.checkout_one.js:255)
at changeShippingSubmitForm (jquery.checkout_one.js:356)
at HTMLSpanElement.<anonymous> (jquery.checkout_one.js:501)
at HTMLSpanElement.dispatch (jquery.min.js:3)
at HTMLSpanElement.r.handle (jquery.min.js:3)
Ah, thanks for that ... yet another configuration switch that I didn't take into account! Where is that definition set (so I don't have to troll through the various configuration options)?

9 Feb 2018, 8:11 PM
#739
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

lat9:

Ah, thanks for that ... yet another configuration switch that I didn't take into account! Where is that definition set (so I don't have to troll through the various configuration options)?
Never mind, found it in Configuration->Shipping/Packaging.

9 Feb 2018, 8:16 PM
#740
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

lat9:

Never mind, found it in Configuration->Shipping/Packaging.

Sorry, you beat me to it.