import React from "react"; import { CreditAmount } from "component/common"; import Link from "component/link"; import CardVerify from "component/cardVerify"; class UserVerify extends React.PureComponent { constructor(props) { super(props); this.state = { code: "", }; } handleCodeChanged(event) { this.setState({ code: event.target.value, }); } onToken(data) { this.props.verifyUserIdentity(data.id); } render() { const { errorMessage, isPending, navigate } = this.props; return (
{__( "To ensure you are a real person, we require a valid credit or debit card." ) + " " + __("There is no charge at all, now or in the future.") + " " }
{errorMessage &&{errorMessage}
}{__("You can continue without this step, but you will not be eligible to earn rewards.")}
navigate("/discover")} button="alt" label={__("Skip Rewards")} />