This commit is contained in:
Kenneth Jannette
2024-02-23 17:09:43 -06:00
parent 1b4fce5ffc
commit e4d8cb66d1
4 changed files with 14 additions and 10 deletions

View File

@@ -21,8 +21,6 @@ const PaymentModal = ({
fieldsChunkSize,
numberOfAccountsToAdd,
}) => {
const monthlyAddAccountPrice = selectedPlan[0].pricing[2].amount;
const monthlySubscriptionPriceToday = selectedPlan[0].pricing[0].amount;
const annualSubscriptionPriceToday = selectedPlan[0].pricing[1].amount * 12;
@@ -53,6 +51,12 @@ const PaymentModal = ({
const totalToday = amountToday + extraAccountsPrice;
const handleSignupClick = () => {
paymentfields.forEach((field) => {
console.log("field", field);
});
handleSignup();
};
return (
<Modal show="true" size="lg">
<Modal.Header className="payment-modal-header" closeButton>
@@ -159,7 +163,7 @@ const PaymentModal = ({
<Button
disabled={isBusy}
className="primary-button"
onClick={handleSignup}
onClick={handleSignupClick}
labelText="Signup"
/>
</Modal.Footer>