Looks like I found one solution.
We need to invoke payu APIs for UPI payments with following parameters alongwith others:
{
bankcode: TEZ,
pg: UPI,
txn_s2s_flow: 4
}
This request returns a response where one of the fields is acsTemplate which is just an html form encoded in base64. We can open that form directly or extract the value of action
attribute and open the payu payment page directly that way.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…