diff --git a/assets/js/admin/whatsapp-connection.js b/assets/js/admin/whatsapp-connection.js index e6674fcf6..e1bf1ad26 100644 --- a/assets/js/admin/whatsapp-connection.js +++ b/assets/js/admin/whatsapp-connection.js @@ -52,12 +52,6 @@ jQuery( document ).ready( function( $ ) { $('#wc-fb-whatsapp-consent-subcontent').show(); $('#wc-fb-whatsapp-consent-button-wrapper').show(); - // update the progress of payment step if payment already setup - if(response.data['is_payment_setup'] === true) { - $('#wc-fb-whatsapp-billing-inprogress').hide(); - $('#wc-fb-whatsapp-billing-notstarted').hide(); - $('#wc-fb-whatsapp-billing-success').show(); - } } else { console.log('Whatsapp connection is not complete. Checking again in 5 seconds:', response, ', retry attempt:', retryCount, 'pollingTimeout', pollingTimeout); if(retryCount >= pollingTimeout) {