Ensure save payment method when subscription in cart

This commit is contained in:
Emili Castells Guasch 2024-06-07 14:50:09 +02:00
parent 120e76b46a
commit ebccacf964
2 changed files with 8 additions and 1 deletions

View file

@ -35,7 +35,6 @@ export async function onApprove(data) {
})
.then((response) => response.json())
.then((data) => {
console.log(data)
localStorage.removeItem('ppcp-save-card-payment');
})
.catch((err) => {