tezalsec
Forum Replies Created
-
Hi, when will the zip (5.2.1.x) from github you shared above be officially released?
I just noticed more websites are having the same problem, fatal errors on the cart page. I thought before it had to do with a conflict with another plugin, but on these other websites that other plugin is not installed, so it is solely your plugin causing it. I am surprised you havent received more support issues about it.Thanks for clarifying, I indeed overlooked that save button. So it is not true at all that credit card has to be on top, like I was told. I have now my desired payment method on top and preselected.
Forum: Reviews
In reply to: [WooCommerce Stripe Payment Gateway] Just works perfectlyHi there, I have to adjust my criticism, I was misinformed by your colleague in another recent support thread, it seems I CAN preselect other payment methods as long as they are put on top. 🙂
That worked! no more crashing cart page. 🙂 Thanks for the quick action!
I think we are misunderstanding each other. 🙂
The point I am making is that you and your colleague seem to contradict each other, never mind my setup. You are saying: “Since you want credit cards to be available but not preselected, the easiest solution is to change the payment method order.”
But my conclusion based on what you are saying is: you can not preselect another paying method than credit card, when credit card is listed. Because when credit card is listed, it automatically goes on top (so there is no changing order) and is automatically preselected.- This reply was modified 5 months, 4 weeks ago by tezalsec.
Well, that is funny, considering the start of this thread, because you or your colleague explained to me credit card has to be on top when activated….
“However, based on how Stripe is currently built, the Credit card or debit card option is always fixed at the top of the list. This means it cannot be moved below other Stripe payment methods even when the interface appears to allow reordering. Other Stripe methods like Klarna, iDEAL, EPS and so on can be rearranged, but the main card gateway is intentionally locked in the first position.”Yes, that is what I mean. I want credit cards to be available, but not preselected. There is no other way, I guess, besides some JS fiddling perhaps.
I am sorry to cause confusion. It seems to have nothing to do with the remove button snippet. Any load of the empty cart page is having this fatal error, I see now.
However, it is probably far from being a standard setup issue, me having some plugins and snippets influencing the appearance of the cart page itself. Your plugin can not be expected to take all these factors into account, I guess.- This reply was modified 5 months, 4 weeks ago by tezalsec.
I did the review. One last question: is it true you can not preselect a payment method by default?
I’ll do that, thank you.
The exact fatal error message is already shown in the first message. It should easily be reproduced by applying these (woocommerce-native) hooks as a whole as a snippet in functions.php, then order something, click the “remove button” on checkout, and see what happens. It seems your plugin expects something at the cart page load, which isn’t there, in your code at
woocommerce-pdf-invoices-packing-slips/includes/Frontend.php:762Sorry, that’s too much work disproportionate to the issue. I dont see how other plugins would affect this, though. There are no js errors or php errors during the operation, I can say that.
I’ll leave it for now, it is not important enough to set up a whole staging site for. Thanks anyway.Hi Loving Bro 🙂
too bad credit card has to be on top. That partly answers my question. However, other order positions are not saved as well. See my screen recording video at https://streamable.com/ocdtrb (removed in 48 hours). I tried to move “Bancontact” up without success.
Thanks.Forum: Plugins
In reply to: [WPS Limit Login] Add support ip ranges?Thanks @madukdiver, I didn’t realize that would work in this context.
The issue is still there.
I should add I have been using below snippet in combination with your plugin for years without problems, showing a “remove button”. Only now is it causing issues, through a fatal error by your plugin on the cart page./*
Add option to remove item on checkout page
Other 2 filters are needed to allow empty checkout and nog get redirected back to cart
*/
add_filter( ‘woocommerce_checkout_redirect_empty_cart’, ‘return_false’ );
add_filter( ‘woocommerce_checkout_update_order_review_expired’, ‘__return_false’ ); add_filter(‘woocommerce_checkout_cart_item_quantity’, ‘checkout_review_order_remove_link’, 1000, 3);
function checkout_review_order_remove_link($quantity_html, $cart_item, $cart_item_key) { return $quantity_html . apply_filters(‘woocommerce_cart_item_remove_link’, sprintf( ‘x‘, esc_url(wc_get_cart_remove_url($cart_item_key)), (‘Remove this item’, ‘woocommerce’),
esc_attr($cart_item[‘product_id’]),
esc_attr($cart_item[‘data’]->get_sku())
), $cart_item_key);
}