diff --git a/static/js/src/advantage/subscribe/checkout/components/Taxes/Taxes.tsx b/static/js/src/advantage/subscribe/checkout/components/Taxes/Taxes.tsx index f1f76c52aff..a737bea68ff 100644 --- a/static/js/src/advantage/subscribe/checkout/components/Taxes/Taxes.tsx +++ b/static/js/src/advantage/subscribe/checkout/components/Taxes/Taxes.tsx @@ -69,8 +69,10 @@ const Taxes = ({ setError }: TaxesProps) => { }, { onSuccess: () => { - queryClient.invalidateQueries("preview"); - queryClient.invalidateQueries("customerInfo"); + if(initialValues.defaultPaymentMethod){ + queryClient.invalidateQueries("preview"); + queryClient.invalidateQueries("customerInfo"); + } }, onError: (error) => { setFieldValue("Description", false);