azhar1038 / UPI-Plugin-Flutter

Flutter Plugin to do UPI transaction using different apps like PhonePe, Google Pay, PayTM etc.
MIT License
53 stars 38 forks source link

Google Pay is not accepting payment request #7

Closed Chethansmash7 closed 4 years ago

Chethansmash7 commented 4 years ago

Google pay crashes as soon as it is clicked when the code as per the example app is run:

Here is the screenshot of the error Screenshot_2020-05-20-13-32-06-104_com flutterapppay Screenshot_2020-05-20-13-34-29-668_com google android apps nbu paisa user

azhar1038 commented 4 years ago

What is the error shown in terminal? Are you using a correct UPI ID?

Chethansmash7 commented 4 years ago

What is the error shown in terminal? Are you using a correct UPI ID?

Terminal,No error.Yeah I used my own UPI ID,but as soon as I click on Google pay it crashes

azhar1038 commented 4 years ago

Make sure that the UPI Id that you are using is not the same with which you are logged in to your GPay. I mean you cannot send money to yourself. Same goes for other UPI apps PhonePe, BHIM etc. Sometimes Server error can also cause that issue. Also make sure that GPay is able to make payment.

azhar1038 commented 4 years ago

Check the newer version. The gif shows that plugin is working fine with GPay. Also if you switch to newer version, make sure to go through changelog. Name of classes have changed:

azhar1038 commented 4 years ago

Any update? Are you still facing the problem?

azhar1038 commented 4 years ago

So now I assume that you were using incorrect UPI id because of which GPay was not processing your payment request and so I am closing the issue now. Feel free to reopen the issue if you think I am incorrect.