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

One-Page Checkout [Support Thread]

Views: 633,121

Results 2,641 to 2,660 of 3,107
5 Aug 2023, 5:09 PM
#2641
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,973
Plugin Contributions:
8

One-Page Checkout [Support Thread]

jasonshanks:

Hello wonderful people ( who are very smart I might add ). I first off want to say , i love OPC. It seems i have had a sales boost with guest checkout enabled. But i have noticed a few customers tell me they are getting a error ( "We have a problem on our end. So Sorry! Please report this error to the Store Owner: SQ-MISSING-TOKEN" )

How do i prevent this error so I don't lose customers who just bounce ?

Zencart 1.5.6b
OPC 2.3.12
php 7.4.25

you need to upgrade to a minimum of OPC 2.4.0. see:

https://github.com/lat9/one_page_checkout/releases/tag/v2.4.0

which will require a move to zc 157a.

once there, on the admin, you can got to:

configuration -> One-Page Checkout Settings -> Payment Methods Handling Form Submittal

and then esnure that square_webPay is listed there.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

5 Aug 2023, 5:19 PM
#2642
jasonshanks avatar

jasonshanks

Zen Follower

Join Date:
Feb 2009
Location:
atlanta GA
Posts:
297
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Wonderful , thank you so much Carl. Your help is very much appreciated and all that you do. hah Now to make the time for some down time to upgrade.

Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online https://www.missingcord.com

6 Aug 2023, 10:21 PM
#2643
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

jasonshanks:

Now to make the time for some down time to upgrade.

Do the upgrade in a test site and swap them out when you're happy with the newer version. Just minutes of "down time".

https://myzencarthost.com/index.php?rp=/knowledgebase/1/Creating-a-Test-Site-with-cPanel.html

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

14 Aug 2023, 2:00 PM
#2644
jeking avatar

jeking

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

I'm curious if anyone has seen this or had it reported as an 'issue'.

Zen Cart 1.5.8a
OPC 2.4.6beta3

When using Edge and using the browser pre-fill option to pre-fill the credit card fields, after the credit card fields are filled, the address section become active. My client says the Update button does not work, only the cancel. In my testing, both Cancel and Update are functional.

I can understand the pre-fill is trying to fill the address, it's part of the pre-fill settings. I don't know much about how the pre-fill works. Is there a way to prevent it from trying to prefill the address fields (without preventing it when actually trying to pre-fill the address fields)?

Jim
Wheaton Website Services

14 Aug 2023, 5:00 PM
#2645
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

jeking:

I'm curious if anyone has seen this or had it reported as an 'issue'.

Zen Cart 1.5.8a
OPC 2.4.6beta3

When using Edge and using the browser pre-fill option to pre-fill the credit card fields, after the credit card fields are filled, the address section become active. My client says the Update button does not work, only the cancel. In my testing, both Cancel and Update are functional.

I can understand the pre-fill is trying to fill the address, it's part of the pre-fill settings. I don't know much about how the pre-fill works. Is there a way to prevent it from trying to prefill the address fields (without preventing it when actually trying to pre-fill the address fields)?
I don't often test with Edge (I know I should) and I never store credit-cards for prefills so I've never personally run across this issue.

If you open an issue on https://github.com/lat9/one_page_check as a reminder, I'll do some research when I've got more time and hopefully find a correction.

14 Aug 2023, 7:50 PM
#2646
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 don't often test with Edge (I know I should) and I never store credit-cards for prefills so I've never personally run across this issue.

If you open an issue on https://github.com/lat9/one_page_check as a reminder, I'll do some research when I've got more time and hopefully find a correction.

I never store credit card data this way either, but my client does. I've opened issue. Thank you.

Jim
Wheaton Website Services

19 Aug 2023, 11:08 PM
#2647
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

v2.4.6 of One-Page Checkout is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2095

This release contains changes associated with the following GitHub issues:

#370: Remove PHP user-errors logged, attempt to recover from any environmental issue instead.
#372: Correct checkout-loop by interpreting   characters as spaces.
#374: Use window.location.replace to emulate page redirects.
#375: zc158a: Change in zen_get_zone_code parameters causes Fatal PHP error.
#376: Correct guest-checkout interaction with PPEC's Shortcut button.
#379: Correct PHP Warnings logged when Configuration :: Customer Details :: State is set to 'false'.
#380: Browser pre-fill of credit-cart or address information results in address sections activating when they shouldn't.
#381: Correct "Invalid form control, element not visible" console-logs; required for square_webPay users.
#382: Correct spelling of 'cursor' (was 'curser') in the checkout_one.css file.

22 Aug 2023, 7:32 PM
#2648
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi There,
Not sure if this is the proper place for this post but I am using OPC 2.4.3 (great mod), bootstrap template and ZC 1.5.7d. for months now I have been having an issue with the processing time when payments are made. I am using authorize.net as my main payment processor but also have PayPal and a module that payments are not require to checkout and once e-transfer payment is received, I manually release the order. The issue is that despite which payment option is chosen there is up to a minute delay after the confirm order button is clicked and the payment is processed. Despite have a loading gif stating that processing can take up to a minute, customer are, I believe refreshing the page before the process is complete causing the payment to be processed multiple times. Is there something that I can do to speed up the processing time. I have never been on a website, where processing the the payment takes as much time.
Cheers and thanks in advance!!!

22 Aug 2023, 9:36 PM
#2649
dbltoe avatar

dbltoe

Totally Zenned

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

Re: One-Page Checkout [Support Thread]

Notice that the post immediately prior to yours announces 2.4.6's release.

You'll also note that there were some changes that might be beneficial to you. You might want to try the new version. If possible, copy your info to a test site and use the newest version to see if it helps with your particular problem.

It's odd that you would have that delay without something being noted in your logs folder.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

25 Aug 2023, 11:35 PM
#2650
brian70809 avatar

brian70809

New Zenner

Join Date:
Jun 2011
Posts:
85
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Allmart -

I'm not sure it's OPC.. Which I love.. I have migrated a test site to 1.5.8 and setup Bootstrap on it.. It seems that all the updates to the database after a sale is done, is delaying the screen from showing a transaction is complete. It does not matter which template I am using. If I am using OPC or not.

I did a slow-query log and nothing is in there..

Query log is showing a bunch of database processess being done. Tax Rates, Special Pricing, etc,etc....

My website has:
548 Customers
5000 transactions
17,000 products

26 Aug 2023, 1:21 PM
#2651
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

brian70809:

Allmart -

I'm not sure it's OPC.. Which I love.. I have migrated a test site to 1.5.8 and setup Bootstrap on it.. It seems that all the updates to the database after a sale is done, is delaying the screen from showing a transaction is complete. It does not matter which template I am using. If I am using OPC or not.

I did a slow-query log and nothing is in there..

Query log is showing a bunch of database processess being done. Tax Rates, Special Pricing, etc,etc....

My website has:
548 Customers
5000 transactions
17,000 products
Just noting that once the customer confirms an order, OPC is no longer part of the processing. Having said that, does the same behavior occur if you temporarily disable OPC and run a purchase through the default, 3-page checkout?

27 Aug 2023, 5:13 PM
#2652
brian70809 avatar

brian70809

New Zenner

Join Date:
Jun 2011
Posts:
85
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

lat9:

Just noting that once the customer confirms an order, OPC is no longer part of the processing. Having said that, does the same behavior occur if you temporarily disable OPC and run a purchase through the default, 3-page checkout?

Yes. Its the same if it's 3- page or the OPC.. I don't know where to go with this.. I'm on wrong thread for this issue.

I don't know if PHP is purely a linear system, or if you can multitask(so to speak) by running multiple scripts at one time..

I just wanted to let that user know I think it's not OPC.

Thanks for everything you do lat9!

28 Aug 2023, 12:16 PM
#2653
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Thanks for the report back that it's not OPC, @brian70809! Out of interest, what payment method and order-totals are "in play" for this order that takes a long time to record?

29 Aug 2023, 4:34 PM
#2654
borek avatar

borek

New Zenner

Join Date:
Jul 2007
Posts:
9
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

HI all,
I have just problem.
I installed OPC 2.4.5 on my new instaltion of ZC 1.5.8a.
After I put some products in the cart and will to finish the order on the page "/index.php?main_page=checkout_one"
I receive error

"Your order's details have changed. Please review the current values and re-submit."

and the page could not be sent.
I don't understand why is the message generated.
On the page can be changed only shipping method. After change is the total amount of order well recalculated.
But after clicking on the button "Confirm order" will be the page reloded and show this Error Message.

thank yo for your help
Borek

29 Aug 2023, 6:44 PM
#2655
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

Borek:

HI all,
I have just problem.
I installed OPC 2.4.5 on my new instaltion of ZC 1.5.8a.
After I put some products in the cart and will to finish the order on the page "/index.php?main_page=checkout_one"
I receive error

"Your order's details have changed. Please review the current values and re-submit."

and the page could not be sent.
I don't understand why is the message generated.
On the page can be changed only shipping method. After change is the total amount of order well recalculated.
But after clicking on the button "Confirm order" will be the page reloded and show this Error Message.

thank yo for your help
Borek


What template is in use and what, if any, additional order-total modules are being used by the site?

29 Aug 2023, 6:51 PM
#2656
planetdesign avatar

planetdesign

New Zenner

Join Date:
Aug 2023
Location:
UK
Posts:
9
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi. Have just returned to using Zen after some time with other carts. Got everything all working EXCEPT for one issue with the one page checkout plugin. Works fine with the guest checkout disabled, but when I enable guest checkout through admin the final stage - 'checkout_one_confirmation' just brings up a page not working message? Am running through wampserver so have attached the error log. Can someone point me in the right direction to resolve this, as really want the guest feature... Payment provider setup as PayPal Std which works fine when the guest feature disabled.
Thanks...

[29-Aug-2023 17:55:06 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

[29-Aug-2023 17:55:06 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
--> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.

29 Aug 2023, 7:22 PM
#2657
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

PlanetDesign:

Hi. Have just returned to using Zen after some time with other carts. Got everything all working EXCEPT for one issue with the one page checkout plugin. Works fine with the guest checkout disabled, but when I enable guest checkout through admin the final stage - 'checkout_one_confirmation' just brings up a page not working message? Am running through wampserver so have attached the error log. Can someone point me in the right direction to resolve this, as really want the guest feature... Payment provider setup as PayPal Std which works fine when the guest feature disabled.
Thanks...

[29-Aug-2023 17:55:06 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

[29-Aug-2023 17:55:06 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
--> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 275 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(275): zen_get_zone_code(222, '', '-- Please Selec...')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.
Your "quickest path to success" is going to be the editing of /includes/modules/payment/paypal.php, line 275, changing that to read

                   'state' => zen_get_zone_code([B](int)[/B]$order->customer['country']['id'], [B](int)[/B]$order->customer['zone_id'], $order->customer['state']),

I'll create an issue on OPC's GitHub repository to ensure that those address-related values are integer values for a future release.

n.b. Issue created: https://github.com/lat9/one_page_checkout/issues/383

29 Aug 2023, 7:50 PM
#2658
planetdesign avatar

planetdesign

New Zenner

Join Date:
Aug 2023
Location:
UK
Posts:
9
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Thanks for the prompt response Lat9.. I have amended line 275 exactly as above, but sadly it has not resolved the issue. It just when guest checkout is selected, there are issues.

30 Aug 2023, 12:11 PM
#2659
lat9 avatar

lat9

Administrator

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

Re: One-Page Checkout [Support Thread]

OK, so if there are more logs, please post them and we'll get them out of there.

30 Aug 2023, 4:02 PM
#2660
planetdesign avatar

planetdesign

New Zenner

Join Date:
Aug 2023
Location:
UK
Posts:
9
Plugin Contributions:
0

Re: One-Page Checkout [Support Thread]

Hi. These are the results from when I added the (int) suggestion at line 275 of payment/paypal.php

[30-Aug-2023 08:01:42 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 290 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(290): zen_get_zone_code(222, '', 'YO')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173

[30-Aug-2023 08:01:42 UTC] Request URI: /zencart158a/index.php?main_page=checkout_one_confirmation, IP address: ::1
--> PHP Fatal error: Uncaught TypeError: Argument 2 passed to zen_get_zone_code() must be of the type int, string given, called in C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php on line 290 and defined in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php:173
Stack trace:
#0 C:\wamp64\www\zencart158a\includes\modules\payment\paypal.php(290): zen_get_zone_code(222, '', 'YO')
#1 C:\wamp64\www\zencart158a\includes\classes\payment.php(279): paypal->process_button()
#2 C:\wamp64\www\zencart158a\includes\modules\pages\checkout_one_confirmation\header_php.php(407): payment->process_button()
#3 C:\wamp64\www\zencart158a\index.php(35): require('C:\wamp64\www\z...')
#4 {main}
thrown in C:\wamp64\www\zencart158a\includes\functions\functions_addresses.php on line 173.

The only difference between logs 'appears' to have now moved the error from line 275 to line 290 of paypal.php. Nothing changed with fault though. Guest disabled it all works fine, when guest is enabled, the program still stalls and doesn't load up the PayPal window?