From 5f1f5554b2930d08c5eb84c7ed3a4c122b7d7f34 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Date: Mon, 13 Apr 2020 18:58:34 +0530 Subject: [PATCH] fix: remove stripe card from donate page (#38534) --- client/src/components/Donation/DonateForm.js | 13 ------------- config/donation-settings.js | 3 +-- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/client/src/components/Donation/DonateForm.js b/client/src/components/Donation/DonateForm.js index 6b943256d8..c5699cde69 100644 --- a/client/src/components/Donation/DonateForm.js +++ b/client/src/components/Donation/DonateForm.js @@ -271,19 +271,6 @@ class DonateForm extends Component { skipAddDonation={!isSignedIn} /> - - - {subscriptionPayment ? ( - - - Or donate with a credit card: - - - ) : ( - '' - )} - {this.renderDonationOptions()} - ); } diff --git a/config/donation-settings.js b/config/donation-settings.js index 3ed2366d78..5d3841f4a9 100644 --- a/config/donation-settings.js +++ b/config/donation-settings.js @@ -1,8 +1,7 @@ // Configuration for client side const durationsConfig = { year: 'yearly', - month: 'monthly', - onetime: 'one-time' + month: 'monthly' }; const amountsConfig = { year: [100000, 25000, 6000],