Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.4.0 totally crashes my checkout page #70

Open
lamik opened this issue May 23, 2020 · 11 comments
Open

3.4.0 totally crashes my checkout page #70

lamik opened this issue May 23, 2020 · 11 comments

Comments

@lamik
Copy link

lamik commented May 23, 2020

The checkout form is broken with 3.4.0 on Hestia Theme. Cannot submit the order - button is disabled. I'm going back to 3.3.1.

If you want, I can set a test page on subdomain for your tests.

main shop is: https://sklep.msalamon.pl

@12maup
Copy link

12maup commented May 24, 2020

Have same problem, checkout button is disabled. I suppose it is js issue.

//change description style in payment method   | jQuery(document).ready(function () {   | jQuery("label[for='payment_method_dotpay'], label[for*='payment_method_Dotpay']").html(function (i, h) {   | return h.replace(/\(([^\)]+)\)/, "<small>( $1 )</small>");   | });   | var selected_payment_method = jQuery("ul.wc_payment_methods input[type=radio]:checked").val();   |     | if (selected_payment_method == 'dotpay') {   | //console.log("dotpay method is clicked");   | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', true);   | jQuery("button[name='woocommerce_checkout_place_order']").before(dp_empty_channel);   | console.log('2. waiting for payment channel selection');   |     | jQuery('p.Nochannels').remove();   |     | if (jQuery('div.dotpay-channels-selection > div.channel-container').length == 0) {   | jQuery('#dp_additional_info').html(dp_no_channels);   |     | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', false);   | jQuery('#dotpay_empty_channel').remove();   | jQuery('div.payment_box.payment_method_dotpay > div.dotpay_agreements_container').hide();   |     | }else{   | jQuery('.dotpay_agreements_container').show();   | }   |     | }   | jQuery("ul.wc_payment_methods input[type=radio]").on("change", function () {   | if (this.checked) {   | if (this.value == 'dotpay') {   | jQuery('p.Nochannels').remove();   |     | console.log('1. channels available in widget : ' + jQuery('div.dotpay-channels-selection > div.channel-container').length);   | if (jQuery('div.dotpay-channels-selection > div.channel-container').length == 0) {   | jQuery('#dp_additional_info').html(dp_no_channels);   | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', false);   | jQuery('#dotpay_empty_channel').remove();   | jQuery('div.payment_box.payment_method_dotpay > div.dotpay_agreements_container').hide();   |     | } else if (jQuery('div.dotpay-channels-selection > div.channel-container').length == 1) {   | jQuery('div.dotpay-channels-selection > div.channel-container').trigger('click');   | console.log('1. the only available channel is selected');   |     | } else {   |     | jQuery('.dotpay_agreements_container').show();   |     | if (jQuery('div.channel-container.selected.dp_cloned').length > 0) {   | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', true);   | jQuery("button[name='woocommerce_checkout_place_order']").before(dp_empty_channel);   | console.log('3. waiting for payment channel selection');   |     | } else {   | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', false);   | jQuery('#dotpay_empty_channel').remove();   | }   | console.log('selected payment method: ' + this.value);   |     | }   |     | }   | }   |     | });   |     | //just in case I check once again to load all content in the div   | setTimeout(function(){   | console.log('channels available in widget: ' + jQuery('div.dotpay-channels-selection > div.channel-container').length);   | if (jQuery('div.dotpay-channels-selection > div.channel-container').length > 0) {   | jQuery("button[name='woocommerce_checkout_place_order']").prop('disabled', true);   | jQuery('#dotpay_empty_channel').show();   | jQuery('p.Nochannels').remove();   | jQuery('div.payment_box.payment_method_dotpay > div.dotpay_agreements_container').show();   | }   | }, 700);   | // when only 1 channel available, select it automatically   | setTimeout(function(){   | if (jQuery('div.dotpay-channels-selection > div.channel-container').length == 1) {   | jQuery('div.dotpay-channels-selection > div.channel-container').trigger('click');   | console.log('2. the only available channel is selected');   | }   | }, 1250);   |     | });

we have to test it.

@matdabrowski
Copy link

U mnie ten sam problem.
Po wybraniu płatności blikiem lub kartą i zaakceptowaniu regulaminu przycisk "Kupuję i Płacę" jest ciągle nieaktywny.

dotpaybug

@wpawel
Copy link
Contributor

wpawel commented May 27, 2020

check it: newest beta: woocommerce-dotpay-v3.5.0-beta.zip

@engineerenginner
Copy link

There is still the same problem. [woocommerce_checkout] completly crashed. Any solution ?

@adam-czop
Copy link

@wpawel nie ma już nic pod tym linkiem. Problem również mam. Kiedy plan na poprawienie tego?

@wpawel
Copy link
Contributor

wpawel commented Jun 17, 2020

ostatnia wersja dostępna jest pod linkiem: woocommerce-dotpay-v3.5.0_beta2.zip

@adam-czop
Copy link

adam-czop commented Jun 17, 2020 via email

@DEJVQ
Copy link

DEJVQ commented Jun 21, 2020

Link do beta2 wygasł. Przy testach Dotpay w wersji 3.5.0 - cały czas "kupuje i płacę" jest nieaktywny.

JS error:
payment_widget.min.js:63 Uncaught TypeError: e.indexOf is not a function
at w.fn.init.w.fn.load (payment_widget.min.js:63)

@wpawel
Copy link
Contributor

wpawel commented Jun 22, 2020

jak jest domyślna wersja jQuery ładowana w sklepie?
prośba o więcej danych -
do tej pory nie stwierdziliśmy podobnego błędu u innych korzystających z tej wersji wtyczki
prośba o ewentualne podesłanie adresu strony gdzie występuje błąd na adres: tech@dotpay.pl

@pogo84
Copy link

pogo84 commented Jun 29, 2020

w 3.5 jest ten sam błąd, płatności działają dopiero z wyłączonymi widgetami z logami banków

@wpawel
Copy link
Contributor

wpawel commented Jul 1, 2020

nie powinien występować: v3.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants