JQuery trigger for payment processing

I need something for the purposes of having a “payment processing” type animation – is there a JQuery trigger or something available that would fit the bill?

I could tie it to a click on the place order button, but this would show the purchase processing animation even if the checkout fields haven’t been filled correctly, which isn’t ideal:

$(document).on(‘click’, ‘#place_order’, function() {
$(“.purchase-processing”).fadeIn( “slow” );
});

Read more here:: JQuery trigger for payment processing

Leave a Reply

Your email address will not be published. Required fields are marked *