fix: remove stripe card from donate page (#38534)

This commit is contained in:
Mrugesh Mohapatra
2020-04-13 18:58:34 +05:30
committed by GitHub
parent b8c7fd357d
commit 5f1f5554b2
2 changed files with 1 additions and 15 deletions

View File

@ -271,19 +271,6 @@ class DonateForm extends Component {
skipAddDonation={!isSignedIn} skipAddDonation={!isSignedIn}
/> />
</Col> </Col>
<Col sm={10} smOffset={1} xs={12}>
{subscriptionPayment ? (
<Fragment>
<Spacer />
<b>Or donate with a credit card:</b>
<Spacer />
</Fragment>
) : (
''
)}
{this.renderDonationOptions()}
</Col>
</Row> </Row>
); );
} }

View File

@ -1,8 +1,7 @@
// Configuration for client side // Configuration for client side
const durationsConfig = { const durationsConfig = {
year: 'yearly', year: 'yearly',
month: 'monthly', month: 'monthly'
onetime: 'one-time'
}; };
const amountsConfig = { const amountsConfig = {
year: [100000, 25000, 6000], year: [100000, 25000, 6000],