From 7446be2a1208521328b9d416b09d6c1a42cac4e1 Mon Sep 17 00:00:00 2001 From: Nawfal Ahmed <111358247+NawfalAhmed@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:47:11 +0500 Subject: [PATCH] feat: disable wallets in stripe payment form (#14) --- audit-ci.json | 5 ++++- src/payment/checkout/Checkout.jsx | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/audit-ci.json b/audit-ci.json index 77705e7b9..9bec50743 100644 --- a/audit-ci.json +++ b/audit-ci.json @@ -3,7 +3,10 @@ "GHSA-wf5p-g6vw-rhxx", "GHSA-rv95-896h-c2vc", "GHSA-grv7-fg5c-xmjg", - "GHSA-3h5v-q93c-6h6q" + "GHSA-3h5v-q93c-6h6q", + "GHSA-vc8w-jr9v-vj7f", + "GHSA-952p-6rrq-rcjv", + "GHSA-4vvj-4cpr-p986" ], "moderate": true } diff --git a/src/payment/checkout/Checkout.jsx b/src/payment/checkout/Checkout.jsx index 04f63c32a..e6205eae1 100644 --- a/src/payment/checkout/Checkout.jsx +++ b/src/payment/checkout/Checkout.jsx @@ -218,6 +218,10 @@ class Checkout extends React.Component { address: 'never', }, }, + wallets: { + applePay: 'never', + googlePay: 'never', + }, }; // istanbul ignore next