fix(donate): implement donate page

This commit is contained in:
Mrugesh Mohapatra
2019-12-20 16:14:16 +05:30
committed by mrugesh
parent 5609a1303e
commit e4590fed5c
14 changed files with 195 additions and 228 deletions

View File

@ -11,7 +11,7 @@ const amountsConfig = {
};
const defaultAmount = {
year: 25000,
month: 500,
month: 3500,
onetime: 25000
};
const defaultStateConfig = {
@ -19,6 +19,11 @@ const defaultStateConfig = {
donationDuration: 'month',
paymentType: 'Card'
};
const modalDefaultStateConfig = {
donationAmount: 500,
donationDuration: 'month',
paymentType: 'Card'
};
// Configuration for server side
const durationKeysConfig = ['year', 'month', 'onetime'];
@ -41,5 +46,6 @@ module.exports = {
defaultStateConfig,
durationKeysConfig,
donationOneTimeConfig,
donationSubscriptionConfig
donationSubscriptionConfig,
modalDefaultStateConfig
};