• Resolved tvelos

    (@tvelos)


    The place order button won’t work when you install this.

    Nothing happens when place order button is clicked.

    Tried with Shopkeeper, Cartzilla, Neve, Hestia, Astra theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Cynder

    (@cynderpaymongo)

    Hello.

    We’ve managed to push fixes for the plugin over the past few weeks. Would you be interested to give it another try? Apologies for the inconvenience this may have caused you.

    Thanks.

    Plugin Contributor pickmeshop

    (@pickmeshop)

    Hello i have fix this bug, the problem come to “paymongo.js”

    Replace :

                // if default paymongo
                if ($("#payment_method_paymongo").attr("checked")) {
                    const errors = paymongoForm.validateCardFields() || [];
    
                    if (errors.length) {
                        paymongoForm.showErrors(errors);
                        return false;
                    }
    
                    paymongoForm.createPaymentIntent();
                }
    
                if ($("#payment_method_paymongo_gcash").attr("checked")) {
                    paymongoForm.createSource("gcash");
                }
    
                if ($("#payment_method_paymongo_grabpay").attr("checked")) {
                    paymongoForm.createSource("grabpay");
                }

    By :

                var paymentMethod = $('input[name=payment_method]:checked').val(); 
    
                // if default paymongo
                if (paymentMethod == "paymongo") {
                    const errors = paymongoForm.validateCardFields() || [];
    
                    if (errors.length) {
                        paymongoForm.showErrors(errors);
                        return false;
                    }
    
                    paymongoForm.createPaymentIntent();
                }
    
                if (paymentMethod == "paymongo_gcash") {
                    paymongoForm.createSource("gcash");
                }
    
                if (paymentMethod == "paymongo_grabpay") {
                    paymongoForm.createSource("grabpay");
                }
    • This reply was modified 4 years, 8 months ago by pickmeshop.
    • This reply was modified 4 years, 8 months ago by pickmeshop.
    Plugin Author Cynder

    (@cynderpaymongo)

    Thanks so much @pickmeshop for the contribution. We will review this and if it gets approval, we will be including this in the following update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Broke my checkout page’ is closed to new replies.