This method is called to set the state variable every time the customer selects Other Wallet for payment, as shown here. It indicates the container component that a payment page needs to be rendered with a 15-minute window for accepting payments to the merchant's address. This is done through the PVerification component:
PaymentWait = (mAddress,amount) => {
this.setState({
paymentf: true,
amount,
mAddress
})
};
It sets the paymentf flag to true, indicating that a payment is being made by a wallet other than MetaMask and sets the state variable for the amount to be paid in ETH and the merchant address (mAddress) to which the transfer has to be made.