• Hello from Malta! In my under construction shop, I have defined only paypal as payment method, in sandbox for testing purposes.

    When I’m checking out, I fill all shipping and billing information, then, I go to the next step where I select my shipping method and I press “Continue” for the payment method.

    But, istead of payment method, the system returns me back to billing and shipping information, without error message or something else…

    https://www.ads-software.com/plugins/wpmarketplace/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter snikolaidis

    (@snikolaidis)

    I’m not quite sure, but I have this impression that I’m using some sort of beta version with lot of bugs. I had to go to several javascript changes, to make it work. And I’m talking about the latest (2.2.6) version.

    For example, by clicking “Continue” at the billing tab, as I said, doesn’t work. Why? Because the onSubmit event is defined in the checkout.php while the billing page is loaded afterwards through ajax call. So, the onSubmit event is defined *before* the actual DOM element, that’s why it doesn’t work. I had to move the ShippingForm.onSubmit and ShippingBackBtn.onClick events, from the checkout.php to the shipping-method.php file. And of course the code is wrapped inside a jQuery(function(){}).

    Obviously I had the same issue with the payment tab also and made similar changes.

    I’m in the payment tab right now and making tests and (the same) changes in the code. But, I want to make sure that I have the correct version.

    Also, the whole project is based on old jQuery versions; there’s a compatibility issue with the live() function: the jQuery API documentation lists live() as deprecated as of version 1.7 and removed as of version 1.9 (api.jquery.com/live)

    I’ve written all the above, because it’s quite strange for not reading similar messages in the forum.

    Thread Starter snikolaidis

    (@snikolaidis)

    In checkout.php is the following code:

    jQuery('#billing_back').on("click",function(){
        jQuery('#csb').slideUp();
        jQuery('#csl').slideDown();
    });

    But, in the code, I cannot find any element by the id “#billing_back”. So, can I remove the code? Is it used somewhere else?

    Plugin Author Shahjada

    (@codename065)

    please give me your url to check

    Thread Starter snikolaidis

    (@snikolaidis)

    There’s no point for that, the online code is the fixed version.

    Still, the site is the following: https://www.jinnie-femme.eu/product

    (Still under development)

    Did you ever get a resolution to this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘After shipping method, back to billing and shipping’ is closed to new replies.