Home › Forums › Basel support forum › Basel templates break Stripe at checkout
Basel templates break Stripe at checkout
- This topic has 7 replies, 3 voices, and was last updated 6 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
June 17, 2018 at 4:12 pm #63358
sovrgnParticipantHello,
I just talked to Woocommerce support and we figured out I’m getting the following issue with Basel theme and some file that you are apparently modifying for checkout (all is fine with twenty seventeen).
Basically when paying at checkout with the Stripe test credit card (and my test API keys) I get these 2 error messages
–> Payment processing failed. Please retry.
–> Sorry, your session has expired. Return to shopSo then I return to the shop and add a product again and then I get these error messages at checkout page:
Fatal error: Uncaught Error: Unsupported operand types in /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1267 Stack trace: #0 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(344): WC_Cart->calculate_shipping() #1 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(800): WC_Cart_Totals->get_shipping_from_cart() #2 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(141): WC_Cart_Totals->calculate_shipping_totals() #3 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(131): WC_Cart_Totals->calculate() #4 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1236): WC_Cart_Totals->__construct(Object(WC_Cart)) #5 /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(140): WC_Cart->calculate_totals() #6 /home/domain/public_html/wp-includes/c in /home/domain/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1267
(to clear the error and try again I just clear my browser cache)
Woocommerce support said they will contact you about it but I would like to follow up with this too since it makes my site unusable at this time
Please see in private section admin rights to my site
June 17, 2018 at 4:49 pm #63363
Elise NoromitMemberHello,
Please activate our theme. Now the default one is active. Also, activate all the plugins in Appearance > Install the plugins
Best regards
June 17, 2018 at 5:02 pm #63365
sovrgnParticipantHi,
Activated the plugins and tested with Basel theme. Error still happening.
Note I gave you admin accessFeel free to test
Thanks
June 17, 2018 at 7:37 pm #63381
Elise NoromitMemberHello,
I have tested the checkout and after I pressed payment the order was complete https://screenshots.firefox.com/73knd961pVIgIvmv/www.mollie.com
Then I went to the default theme and this error appeared. http://prntscr.com/jw0vfu
No matter what theme I switch to this error is on the front end.Best Regards
June 17, 2018 at 9:08 pm #63389
sovrgnParticipantSorry but can you share a recording of this as I just don’t understand what you mean. Also I mentioned I used Stripe and you tested with Mollie payment gateway…
When I tested with twenty seven I didn’t get these error messages. Also I use a caching plugin so it’s likely after you changed the theme that you just got the cached pages
Please confirm you can reproduce this issue with Twenty seven, otherwise it’s coming from the templates you are using for checkout and processing the order:
basel/woocommerce/archive-product.php,
basel/woocommerce/cart/cart.php,
basel/woocommerce/cart/cross-sells.php,
basel/woocommerce/cart/mini-cart.php,
basel/woocommerce/checkout/form-checkout.php,
basel/woocommerce/content-product.php,
basel/woocommerce/content-product_cat.php,
basel/woocommerce/content-single-product.php,
basel/woocommerce/global/breadcrumb.php,
basel/woocommerce/global/form-login.php,
basel/woocommerce/global/quantity-input.php,
basel/woocommerce/loop/loop-end.php,
basel/woocommerce/loop/loop-start.php,
basel/woocommerce/loop/no-products-found.php,
basel/woocommerce/loop/orderby.php,
basel/woocommerce/loop/pagination.php,
basel/woocommerce/loop/sale-flash.php,
basel/woocommerce/myaccount/form-login.php,
basel/woocommerce/myaccount/navigation.php,
basel/woocommerce/product-searchform.php,
basel/woocommerce/single-product/add-to-cart/variable.php,
basel/woocommerce/single-product/meta.php,
basel/woocommerce/single-product/product-image.php,
basel/woocommerce/single-product/product-thumbnails.php,
basel/woocommerce/single-product/related.php,
basel/woocommerce/single-product/sale-flash.php,
basel/woocommerce/single-product/tabs/tabs.php,
basel/woocommerce/single-product/title.php,
basel/woocommerce/single-product/up-sells.php,
basel/woocommerce/single-product.phpJune 18, 2018 at 6:32 am #63399
Artem TemosKeymasterCurrently, there are three problems that don’t allow us to test your website.
1. We can’t find any products in stock to purchase. Please, send us a link to the product where we can test it.
2. You have cache plugins that keep your cart and checkout pages in the cache. It is not possible to update theme. Even with default WordPress theme.
3. There is no Stripe checkout activated and we don’t see any errors you mentioned.
Please, provide us with a step by step instruction how can we reproduce the issue on your website. It is not possible to test it now.
June 26, 2018 at 5:34 pm #64915
sovrgnParticipantHello,
1- Please see in private the link of a product you can buy
2- Cache has been reworked and is now deactivated in logged in areas
3- Please use the new user details in private that I just created and checked Stripe is activated for themTo reproduce please:
A- add to the cart the product I sent you the link of
B- Go to checkout and add as Billing address: Country = France, postcode = 75001, City = Paris and untick the box ‘Deliver to a different address?’
C- Select as payment method ‘Credit Card (Stripe)’ and use the credit card numbers in the descriptionFinally I see this query in my page main shop page wp-content/themes/coffeescripts/jquery.nanoscroller.coffee – Is your theme requesting it? Because this gives a 404 error and takes 857ms to time out – which is as much delay it gives my website to complete loading
Thanks
June 27, 2018 at 6:21 am #64972
Artem TemosKeymasterPlease, disable all external plugins that are not related to our theme and switch to parent theme so we can test it.
-
AuthorPosts
Tagged: stripe woocommerce fatal error
- You must be logged in to create new topics. Login / Register