Introduce paypal-js loading wrapper to be able to reload script

This commit is contained in:
Emili Castells Guasch 2023-07-13 16:22:57 +02:00
parent 96e434d4b0
commit 59afa81160
10 changed files with 65 additions and 62 deletions

View file

@ -15,8 +15,6 @@ document.addEventListener(
subscriptionTrial.style.display = 'none';
}
console.log('testing')
const unlinkBtn = document.getElementById('ppcp_unlink_sub_plan');
unlinkBtn?.addEventListener('click', (event)=>{
event.preventDefault();