Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/adyen error objects #1228

Prev Previous commit
Next Next commit
fix(SFI-1025): refactor try catch
shanikantsingh committed Jan 7, 2025
commit 558194f2ad028d729e22e297572a122b386dc13f
Original file line number Diff line number Diff line change
@@ -40,10 +40,10 @@ function getOneClickPaymentMethods(customer) {
storedPaymentMethods?.forEach((storedPaymentMethod) => {
if (
storedPaymentMethod.supportedShopperInteractions &&
storedPaymentMethods.supportedShopperInteractions.indexOf('Ecommerce') >
storedPaymentMethod.supportedShopperInteractions.indexOf('Ecommerce') >
-1
) {
oneClickPaymentMethods.push(storedPaymentMethods);
oneClickPaymentMethods.push(storedPaymentMethod);
}
});
}