Removed card info inputs

Left to do:
  - Remove TCO integration calls
  - Actually save notification
  - Display a nice message
This commit is contained in:
=
2019-03-05 09:31:04 -08:00
parent b01446d84a
commit a957293029

View File

@@ -114,7 +114,8 @@ class NotificationModal extends React.Component {
};
handleSaveMarketAlert = () => {
this.tokenRequest();
this.successCallback();
//this.tokenRequest();
};
render() {
@@ -191,50 +192,6 @@ class NotificationModal extends React.Component {
type="hidden"
value={token}
/>
<Input
className={classes.inputStyle}
placeholder="Card Number"
inputProps={{
"aria-label": "Card Number"
}}
required
autoComplete="off"
type="number"
onChange={e => this.handleInput(e, "ccNo")}
/>
<Input
className={classes.inputStyle}
placeholder="Expiration Year"
inputProps={{
"aria-label": "Expiration Year"
}}
required
autoComplete="off"
type="number"
onChange={e => this.handleInput(e, "expYear")}
/>
<Input
className={classes.inputStyle}
placeholder="Expiration Month"
inputProps={{
"aria-label": "Expiration Month"
}}
required
autoComplete="off"
type="number"
onChange={e => this.handleInput(e, "expMonth")}
/>
<Input
className={classes.inputStyle}
placeholder="CVV"
inputProps={{
"aria-label": "CVV"
}}
required
autoComplete="off"
type="number"
onChange={e => this.handleInput(e, "cvv")}
/>
</div>
) : null}
</DialogContent>