From 0bd66eaf827c195fb7c05c4c6c86ad8f9e9e0f72 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Tue, 19 Nov 2019 19:19:17 +0530 Subject: [PATCH] chore: temporarily remove PayPal components This commit should be reverted while implementing PayPal integration --- .../Donation/components/DonateForm.js | 33 ++----------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/client/src/components/Donation/components/DonateForm.js b/client/src/components/Donation/components/DonateForm.js index 5ed59af7de..c3f8fd0281 100644 --- a/client/src/components/Donation/components/DonateForm.js +++ b/client/src/components/Donation/components/DonateForm.js @@ -9,8 +9,7 @@ import { Row, Col, ToggleButtonGroup, - ToggleButton, - Radio + ToggleButton } from '@freecodecamp/react-bootstrap'; import { StripeProvider, Elements } from 'react-stripe-elements'; @@ -202,37 +201,9 @@ class DonateForm extends Component { renderDonationOptions() { const { stripe, enableDonationSettingsPage } = this.props; - const { - donationAmount, - donationDuration, - paymentType, - processing - } = this.state; + const { donationAmount, donationDuration, paymentType } = this.state; return (
- {!processing ? ( -
- - Donate using a Credit/Debit Card. - - - Donate using PayPal. (Coming soon) - - -
- ) : null} {paymentType === 'Card' ? (