Removed card info inputs
Left to do: - Remove TCO integration calls - Actually save notification - Display a nice message
This commit is contained in:
@@ -114,7 +114,8 @@ class NotificationModal extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleSaveMarketAlert = () => {
|
handleSaveMarketAlert = () => {
|
||||||
this.tokenRequest();
|
this.successCallback();
|
||||||
|
//this.tokenRequest();
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
@@ -191,50 +192,6 @@ class NotificationModal extends React.Component {
|
|||||||
type="hidden"
|
type="hidden"
|
||||||
value={token}
|
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>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user