0
Tried this way but seems something is wrong

 const url = `upi://pay?pa=${this.payeeVPA}&pn=${this.payeeName}&mc=9999&tid=cxnnkjdfdvjndkjfvn&tr=4894j98cndhcd23&tn=Pay%20to%20mystar%20store&am=1&mam=null&cu=INR`;

const options = {
  action: this.webIntent.ACTION_VIEW,
  url
};

this.webIntent.startActivityForResult(options).then(success => {
  console.log(success);
  if (success.extras.Status == 'SUCCESS') {
    // SUCCESS RESPONSE
  } else if (success.extras.Status == 'SUBMITTED') {
    // SUBMITTED RESPONSE
  } else if (success.extras.Status == 'Failed' || success.extras.Status == 'FAILURE') {
    // FAILED RESPONSE
  } else {
    // FAILED RESPONSE
  }
}, error => {
  console.log(error);
});

使用此 URL,我无法在 PSP 应用程序中编辑金额,也无法支付金额返回错误。

我们已经引用了这个链接,但没有使用它。

4

0 回答 0