Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

UPI Payment failure in ionic 4 using web intent #130

@ghost

Description

I have an android app build in ionic 4. Used web intent package.

Here is my code:

let url = 'upi://pay?pa=' + this.upi_address
+ '&pn=' + this.payee_name
+ '&mc=' + ''
// + '&tid=' + this..transaction_id
+ '&tr=' + this..transaction_id
+ '&am=' + this..amount
+ '&cu=INR&tn=' + this..remark;

const options = {
action: this.webIntent.ACTION_VIEW,
url: url,
}
console.log('options', options);
this.webIntent.startActivityForResult(options).then(
onSuccess => {
console.log('Success', onSuccess);
}, onError => {
console.log('Error', onError);
}
);

All info is redirecting to upi app properly but after enter upi pin it show payment failed due to some security reasons and I did not get what the security issue is.
Getting some error in different upi app after enter upi pin.
e.g. You’ve exceeded the maximum transaction amount set by your bank – Google Pay Error

What should be exact parameters for upi payment or any other way to integrate upi in ionic 4 app ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions