FIX hourglass and hide button to pay

This commit is contained in:
Laurent Destailleur 2021-02-28 21:15:40 +01:00
parent 2a3b3753a8
commit 0a0c7fdeb1

View File

@ -2089,6 +2089,10 @@ if (preg_match('/^dopayment/', $action)) // If we choosed/click on the payment
}
else
{
/* Disable button to pay and show hourglass cursor */
jQuery('#hourglasstopay').show();
jQuery('#buttontopay').hide();
stripe.handleCardPayment(
clientSecret, cardElement, {
payment_method_data: {