Always save form in checkout

This commit is contained in:
Alex P 2023-07-21 19:35:13 +03:00
parent 0672ca4950
commit 8835f4b2a9
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -123,7 +123,7 @@ const bootstrap = () => {
return actions.reject();
}
if (context === 'checkout' && !PayPalCommerceGateway.funding_sources_without_redirect.includes(data.fundingSource)) {
if (context === 'checkout') {
try {
await formSaver.save(form);
} catch (error) {