Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/plugins/woocommerce/assets/js/frontend/ |
Upload File : |
jQuery( function( $ ) { $( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' ); $( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' ); $( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' ); $( document.body ) .on( 'updated_checkout wc-credit-card-form-init', function() { $( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' ); $( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' ); $( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' ); }) .trigger( 'wc-credit-card-form-init' ); } );