import * as React from 'react'; import { isPaymentMethodEnabled } from '../../../helpers/common-helper'; export interface Props { updateState: (arg: number) => void; paymentData: { [key: string]: any }; } export interface State { } export default class PaymentMethods extends React.Component { constructor(props: Props) { super(props); this.state = { submitted: false, currentState: 0 }; } isMappingExists = (mappingId: string) => { const { activeMapping } = this.props.paymentData; return isPaymentMethodEnabled(mappingId, activeMapping); } render() { const { clientCode, payerEmail, payerMobNumber, payerName, } = this.props.paymentData; return (
Checkout

{payerName}

Client Code

{clientCode}

Email ID

{payerEmail}

Phone

{payerMobNumber}

{/*
edit icon this.props.updateState(0)} />

{payerMobNumber}

|

{payerEmail}

*/}

PREFERRED PAYMENT METHODS

Select payment methods using our secure payment system

{(this.isMappingExists("debit_card") || this.isMappingExists("credit_card")) ? this.props.updateState(2)} className="cardSection">
credit card

Credit / Debit Card

arrow icon : null } {this.isMappingExists("upi") ? this.props.updateState(3)} className="cardSection">
credit card

UPI

arrow icon : null}

More ways to pay

{/* arrow up */}
{this.isMappingExists("rupay_card") ? this.props.updateState(4)} className="cardSection">
credit card

Netbanking

arrow icon : null} {(this.isMappingExists("rtgs") || this.isMappingExists("imps") || this.isMappingExists("cash") || this.isMappingExists("neft_rtgs")) ? this.props.updateState(5)} className="cardSection">
credit card

Cash and Others

arrow icon : null} {this.isMappingExists("wallet") ? this.props.updateState(6)} className="cardSection">
credit card

Wallets

arrow icon : null} {/* this.props.updateState(7)} className="cardSection">
credit card

EMI

arrow icon */} {this.isMappingExists("bhim_upi_qr") ? this.props.updateState(9)} className="cardSection">
credit card

Scan QR

arrow icon : null}
secure

This payment is secured by SabPaisa

By proceeding, you agree to our Terms & Privacy

partners

Powered by

sabpaisa logo
); } }