Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Fast Checkout wont work, without having Guest checkout enabled!  (Read 7950 times)

Offline kiwi

  • Newbie
  • *
  • Posts: 38
  • Karma: +3/-0
    • View Profile
    • Kiwi Custom Stamps Ltd
I Need to turn off the Guest checkout, as the STRIPE Card Element for the stripe payment the element is too small and cannot enter the card number into it.

This is only an issue if the customer skips the fast checkout and checkout as a guest.

Also i think i am missing the Guest_checkout_step_3 as i cannot find this anywhere either ??

This is the part that the card number is supposed to be entered
        </div>
        <div class="form-group form-inline">
            <label class="col-sm-4 control-label"><?php echo $entry_cc_number; ?></label>
            <div id="card-element" class="col-sm-7 col-xs-6 input-group field"
                 style="min-width:240px; border: 1px solid #ccc; padding: 2px"></div>
        </div>
        <input type="hidden" name="cc_token" id="cc_token">
        <input type="hidden" name="pi_source" id="pi_source">
        <?php echo $this->getHookVar('payment_table_post'); ?>

Just some help trying to get the stripe card element to be open.
Please help
"The more you know, The more you know you don't know"

Offline maxter

  • Full Member
  • ***
  • Posts: 228
  • Karma: +64/-0
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #1 on: July 18, 2021, 10:50:48 AM »
What is a version of your AbanteCart?

Based on the classes col-sm-4 and col-sm-7 and min-width:240px; the imputes field should not be small.

Did you try to inspect HTML/CSS possibly some element is getting in a way?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5960
  • Karma: +284/-2
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #2 on: July 19, 2021, 01:18:16 AM »
Hello.
If you are still on the 1.2.16 version please upgrade to 1.3.0
https://forum.abantecart.com/index.php/topic,8669.msg35540.html#msg35540

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #3 on: July 19, 2021, 03:54:39 AM »
I Need to turn off the Guest checkout, as the STRIPE Card Element for the stripe payment the element is too small and cannot enter the card number into it.

This is only an issue if the customer skips the fast checkout and checkout as a guest.

Also i think i am missing the Guest_checkout_step_3 as i cannot find this anywhere either ??

This is the part that the card number is supposed to be entered
        </div>
        <div class="form-group form-inline">
            <label class="col-sm-4 control-label"><?php echo $entry_cc_number; ?></label>
            <div id="card-element" class="col-sm-7 col-xs-6 input-group field"
                 style="min-width:240px; border: 1px solid #ccc; padding: 2px"></div>
        </div>
        <input type="hidden" name="cc_token" id="cc_token">
        <input type="hidden" name="pi_source" id="pi_source">
        <?php echo $this->getHookVar('payment_table_post'); ?>

Just some help trying to get the stripe card element to be open.
Please help

To tune up the payment card form you should to play with stripe.js settings inside template public_html/extensions/default_stripe/storefront/view/default/template/responses/default_stripe.tpl
Find such rows and edit style section:
Code: [Select]
card = elements.create('card', {
                hidePostalCode: true,
                style: {
                    base: {
                        iconColor: '#666EE8',
                        color: '#31325F',
                        lineHeight: '40px',
                        fontWeight: 300,
                        fontFamily: '"Helvetica Neue", Helvetica, sans-serif',
                        fontSize: '15px',
                        '::placeholder': {
                            color: '#CFD7E0',
                        },
                    },
                }
            });

more details here https://stripe.com/docs/js/appendix/style

If you use not default template, you should to copy folder public_html/extensions/default_stripe/storefront/view/default/ to public_html/extensions/default_stripe/storefront/view/your_custom_template_name to prevent overriding during upgrade process
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #4 on: July 19, 2021, 04:04:44 AM »
also we plan to release 1.3.1 with updates of FastCheckout. Probably your issue already fixed.
You can check. Just download zip from our github and replace extension/fast_checkout directory
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline S Srikanth

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #5 on: July 20, 2021, 12:13:41 AM »
after updating new version 1.3.0 fast checkout not working on my site

its showing a blank page on the checkout

my website ebuysell.org
« Last Edit: July 20, 2021, 12:15:20 AM by S Srikanth »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5960
  • Karma: +284/-2
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #6 on: July 20, 2021, 01:38:30 AM »
after updating new version 1.3.0 fast checkout not working on my site

its showing a blank page on the checkout

my website ebuysell.org
What is your PHP version and check the last errors in the AbanteCart error log

Offline S Srikanth

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #7 on: July 20, 2021, 08:00:04 AM »
php 7.3

error log

2021-07-20 17:28:43 - Unknown Error: AbanteCart core v.1.3.0 syntax error, unexpected ')' in <b>/home/ebuysell/domains/ebuysell.org/public_html/extensions/fast_checkout/storefront/controller/responses/checkout/pay.php</b> on line <b>229</b>
2021-07-20 17:28:44 - Unknown Error: AbanteCart core v.1.3.0 syntax error, unexpected ')' in <b>/home/ebuysell/domains/ebuysell.org/public_html/extensions/fast_checkout/storefront/controller/responses/checkout/fast_checkout_summary.php</b> on line <b>163</b>

Offline kiwi

  • Newbie
  • *
  • Posts: 38
  • Karma: +3/-0
    • View Profile
    • Kiwi Custom Stamps Ltd
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #8 on: August 03, 2021, 09:20:47 AM »
Thanks team for all your help and advice.
Yes, I have resolved the issue, unfortunately, I cannot remember how it got fixed :-)

I would like to have the Stripe Payment to pop out with more style, similar to when you pay with PayPal. at the moment its just on the page and pretty drab.

Still have AbanteCart core v.1.2.16
I tried to update to abantecart_upgrade_130 however i just got a blank screen with no response also quite alot of Database and sql errors
I will try again soon.
Thanks again, everyone.

2021-07-26 12:47:14 - warning: AbanteCart core v.1.2.16 Invalid argument supplied for foreach() in <b>/home/kiwicust/public_html/core/engine/form.php</b> on line <b>319</b>
2021-07-26 15:57:58 - warning: AbanteCart core v.1.2.16 mysqli::query(): Premature end of data (mysqlnd_wireprotocol.c:939) in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>79</b>
2021-07-26 15:57:58 - warning: AbanteCart core v.1.2.16 mysqli::query(): EOF packet 1 bytes shorter than expected in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>79</b>
2021-07-26 15:57:58 - database error: AbanteCart core v.1.2.16 SQL Error:
Error No: 0
SQL: SELECT pov.quantity AS quantity, pov.subtract
FROM ab99_product_options po
LEFT JOIN ab99_product_option_values pov
ON (po.product_option_id = pov.product_option_id)
WHERE po.product_id = '804' AND po.status = 1
PHP call stack:
#0 /home/kiwicust/public_html/core/lib/db.php:100
#1 /home/kiwicust/public_html/core/engine/extensions.php:1176
#2 /home/kiwicust/public_html/core/engine/extensions.php:1127
#3 /home/kiwicust/public_html/core/lib/db.php:67
#4 /home/kiwicust/public_html/storefront/model/catalog/product.php:165
#5 /home/kiwicust/public_html/storefront/controller/pages/product/product.php:592
#6 /home/kiwicust/public_html/core/engine/dispatcher.php:293
#7 /home/kiwicust/public_html/core/engine/dispatcher.php:328
#8 /home/kiwicust/public_html/core/engine/page.php:98
#9 /home/kiwicust/public_html/core/engine/router.php:175
#10 /home/kiwicust/public_html/core/engine/router.php:79
#11 /home/kiwicust/public_html/index.php:94
in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>119</b>
2021-07-26 15:58:20 - App Error: AbanteCart core v.1.2.16 aMySQLi class error: Try to escape non-string value: array (
0 => '2389',
) (file: /home/kiwicust/public_html/core/lib/cart.php line 267)
Trace:
#0 /home/kiwicust/public_html/core/database/amysqli.php on line 137
#1 /home/kiwicust/public_html/core/lib/db.php on line 105
#2 /home/kiwicust/public_html/core/lib/cart.php on line 267
#3 /home/kiwicust/public_html/storefront/controller/responses/product/product.php on line 307
#4 /home/kiwicust/public_html/core/engine/dispatcher.php on line 293
2021-07-26 15:58:35 - warning: AbanteCart core v.1.2.16 mysqli::query(): Premature end of data (mysqlnd_wireprotocol.c:939) in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>79</b>
2021-07-26 15:58:35 - warning: AbanteCart core v.1.2.16 mysqli::query(): EOF packet 1 bytes shorter than expected in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>79</b>
2021-07-26 15:58:35 - database error: AbanteCart core v.1.2.16 SQL Error:
Error No: 0
SQL: SELECT pov.quantity AS quantity, pov.subtract
FROM ab99_product_options po
LEFT JOIN ab99_product_option_values pov
ON (po.product_option_id = pov.product_option_id)
WHERE po.product_id = '688' AND po.status = 1
PHP call stack:
#0 /home/kiwicust/public_html/core/lib/db.php:100
#1 /home/kiwicust/public_html/core/engine/extensions.php:1176
#2 /home/kiwicust/public_html/core/engine/extensions.php:1127
#3 /home/kiwicust/public_html/core/lib/db.php:67
#4 /home/kiwicust/public_html/storefront/model/catalog/product.php:165
#5 /home/kiwicust/public_html/storefront/controller/pages/product/product.php:592
#6 /home/kiwicust/public_html/core/engine/dispatcher.php:293
#7 /home/kiwicust/public_html/core/engine/dispatcher.php:328
#8 /home/kiwicust/public_html/core/engine/page.php:98
#9 /home/kiwicust/public_html/core/engine/router.php:175
#10 /home/kiwicust/public_html/core/engine/router.php:79
#11 /home/kiwicust/public_html/index.php:94
in <b>/home/kiwicust/public_html/core/database/amysqli.php</b> on line <b>119</b>

"The more you know, The more you know you don't know"

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5960
  • Karma: +284/-2
    • View Profile
Re: Fast Checkout wont work, without having Guest checkout enabled!
« Reply #9 on: August 04, 2021, 03:18:59 AM »
I tried to update to abantecart_upgrade_130 however i just got a blank screen with no response
AbanteCart 1.3.0 require php 7.4+

 

Powered by SMFPacks Social Login Mod