FIX hourglass and hide button to pay
This commit is contained in:
parent
2a3b3753a8
commit
0a0c7fdeb1
@ -2089,6 +2089,10 @@ if (preg_match('/^dopayment/', $action)) // If we choosed/click on the payment
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* Disable button to pay and show hourglass cursor */
|
||||||
|
jQuery('#hourglasstopay').show();
|
||||||
|
jQuery('#buttontopay').hide();
|
||||||
|
|
||||||
stripe.handleCardPayment(
|
stripe.handleCardPayment(
|
||||||
clientSecret, cardElement, {
|
clientSecret, cardElement, {
|
||||||
payment_method_data: {
|
payment_method_data: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user