more
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user