Re: One-Page Checkout [Support Thread]
Hi Cindy - I have a little workflow issue and I'm wondering if it's something that can be addressed with this wonderful module, or something else.
Here's the issue. There's a limitation that happens when a customer decides to enter their credit card information BEFORE they end up adding other order-related things (like applying Reward Points, or adding Insurance). When that happens, it results in the module erasing the CC information and throwing the error about it.
How to reproduce it on our website:
1. On the checkout page, the customer clicks the Credit Card option and fills in their credit card information.
2. They immediately realize that they want to add insurance, so they click the Insurance checkbox. This automatically updates the page and order total (which is what we want), but the module doesn't realize that Credit Card Information is still typed in the box......so it deletes it, and then the error is thrown about having blank Credit Card Info.
Screenshot: https://i.postimg.cc/kMRtwz55/screenshot-131.png
NOTE: This works fine if the customer first adds Insurance, and then enters the Credit Card information AFTERWARDS. But if the Credit Card information is first, and then they decide to add Insurance or apply Reward Points (both of which will correctly auto-update the order total), it will result in the blank credit card information and error.
(We only noticed this when a customer left us a frustrating comment about trying six times to checkout but kept having his info deleted.
IN CONCLUSION: Is there anyway to have the module NOT CLEAR the Credit Card Fields if there's text in the "Card Number:" and "CVV Number:" fields?
I assume that would bypass the error and frustration of customers who are using this checkout workflow of entering payment information before they add insurance or rewards, etc.
Re: One-Page Checkout [Support Thread]
Hi Jeff
I don't no if this would help but under the Configuration OPC Payment-Block Action on Shipping Change settings, some card payment modules require the no-update setting, this enables the card payment fields to retain the inputted data whilst things like shipping is changed. When the customer comes back to the card payment fields the data is still there. If it's set on update or refresh try the no update setting and see what happens.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lolwaut
FEATURE REQUEST:
Hi lat9. I would like to request a feature (really a modification) to OPC to be included in a possible future update. I am always on the lookout for how to simplify things, because a simple shopping experience is the best shopping experience.
My suggestion: Under the Gift Certificate section of OPC, have the gift certificate balance automatically fill into the "Apply Amount" box instead of having a separate "Available Balance" line. The way it is currently setup is a little confusing and I think that this will simplify things for the customers. Let me know what you think of this suggestion!
Attachment 20045
i LOVE this idea.
who cares about aunt sally.
i submitted a new plugin to do just this.
support thread is here:
https://www.zen-cart.com/showthread....support-thread
hopefully will get approved soon.
best.
Re: One-Page Checkout [Support Thread]
I never even played a lawyer on tv but, i would certainly consult legal counsel before making this anything but OPTIONAL for the customer.
You don't know how aunt Sally can be.:cool: But, I know how I'd be if you decided where and when I spent my gift!
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
carlwhat
:bow: THANK YOU!
Re: One-Page Checkout [Support Thread]
Zen Car Version 1.5.7d
ZCA Bootstrap 4
One Page Checkout 2.3.10
This error message has appeared recently on several occasions can someone explain what the issue is please.
[07-Jul-2022 10:22:25 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_session() on null in /includes/classes/observers/class.checkout_one_observer.php:167
Stack trace:
#0 /includes/autoload_func.php(44): checkout_one_observer->__construct()
#1 /includes/application_top.php(222): require('/var/www/vhosts...')
#2 /index.php(25): require('/var/www/vhosts...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 167
[07-Jul-2022 10:22:25 UTC] Request URI: /index.php?main_page=account, IP address:
--> PHP Fatal error: Uncaught Error: Call to a member function add_session() on null in /includes/classes/observers/class.checkout_one_observer.php:167
Stack trace:
#0 /includes/autoload_func.php(44): checkout_one_observer->__construct()
#1 /includes/application_top.php(222): require('/var/www/vhosts...')
#2 /index.php(25): require('/var/www/vhosts...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 167.
Thanks
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lolwaut
I don't see how that is possible, since you cannot apply more gift certificate funds than the total of an order. The system won't let you do it. If you apply $50 in gift certificate funds to a $30 order, you will still be left with $20 in your account. And the funds aren't applied until the user specifically clicks the APPLY button, so I feel this is not an issue as it relates to my suggestion.
My point (and I believe @dbltoe's as well) is that pre-populating that input field with the current GC amount will result in the order being placed with GC funds if the customer's not 'watching'. I'll note that that's not necessarily what the customer wants to do.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
ianhg
Zen Car Version 1.5.7d
ZCA Bootstrap 4
One Page Checkout 2.3.10
This error message has appeared recently on several occasions can someone explain what the issue is please.
[07-Jul-2022 10:22:25 UTC] PHP Fatal error: Uncaught Error: Call to a member function add_session() on null in /includes/classes/observers/class.checkout_one_observer.php:167
Stack trace:
#0 /includes/autoload_func.php(44): checkout_one_observer->__construct()
#1 /includes/application_top.php(222): require('/var/www/vhosts...')
#2 /index.php(25): require('/var/www/vhosts...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 167
[07-Jul-2022 10:22:25 UTC] Request URI: /index.php?main_page=account, IP address:
--> PHP Fatal error: Uncaught Error: Call to a member function add_session() on null in /includes/classes/observers/class.checkout_one_observer.php:167
Stack trace:
#0 /includes/autoload_func.php(44): checkout_one_observer->__construct()
#1 /includes/application_top.php(222): require('/var/www/vhosts...')
#2 /index.php(25): require('/var/www/vhosts...')
#3 {main}
thrown in /includes/classes/observers/class.checkout_one_observer.php on line 167.
Thanks
Right, OPC is currently at v2.4.1. The issue you've reported was corrected in OPC v2.3.11.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
Jeff_Mash
Hi Cindy - I have a little workflow issue and I'm wondering if it's something that can be addressed with this wonderful module, or something else.
Here's the issue. There's a limitation that happens when a customer decides to enter their credit card information BEFORE they end up adding other order-related things (like applying Reward Points, or adding Insurance). When that happens, it results in the module erasing the CC information and throwing the error about it.
How to reproduce it on our website:
1. On the checkout page, the customer clicks the Credit Card option and fills in their credit card information.
2. They immediately realize that they want to add insurance, so they click the Insurance checkbox. This automatically updates the page and order total (which is what we want), but the module doesn't realize that Credit Card Information is still typed in the box......so it deletes it, and then the error is thrown about having blank Credit Card Info.
Screenshot:
https://i.postimg.cc/kMRtwz55/screenshot-131.png
NOTE: This works fine if the customer first adds Insurance, and then enters the Credit Card information AFTERWARDS. But if the Credit Card information is first, and then they decide to add Insurance or apply Reward Points (both of which will correctly auto-update the order total), it will result in the blank credit card information and error.
(We only noticed this when a customer left us a frustrating comment about trying six times to checkout but kept having his info deleted.
IN CONCLUSION:
Is there anyway to have the module NOT CLEAR the Credit Card Fields if there's text in the "Card Number:" and "CVV Number:" fields?
I assume that would bypass the error and frustration of customers who are using this checkout workflow of entering payment information before they add insurance or rewards, etc.
That clearing of the credit-card fields, IIRC, was a PCI-compliance-related change. What I will look into is the possibility of clearing only the CVV number field, so that all the information doesn't need to be re-entered.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
My point (and I believe @dbltoe's as well) is that pre-populating that input field with the current GC amount will result in the order being placed with GC funds if the customer's not 'watching'. I'll note that that's not necessarily what the customer wants to do.
You're right. I misunderstood.
Actually, now that I am fully testing this, if the gift card field is populated with anything but $0.00 and the order is submitted WITHOUT clicking the "Apply" button, Zencart actually throws an error: Your order's details have changed. Please review the current values and re-submit.
@carlwhat For this to be implemented properly, the checkout submit process would need to ignore that field. This might be more complicated than I initially thought. Does your plugin address this?