Open sysquo-aditya opened 3 years ago
Have you used example app with your creds?
Hi! I'm sorry it took me so long. I haven't tried it on the example app but I got an update from client that they have some errors on their PayU dashboard. Will try again and update on this when they have resolved the issue.
Thanks for your time.
Only tested in Android so far.
I don't know how relevant this might be but, here:
I/flutter ( 5653): Arguments Map: {merchantID: xxxxxxxxx, merchantKey: xxxxxx, salt: xxxxxxxxxvxxxxx, amount: 35.00, transactionID: xxxxN03589310, phone: xxxxxxxxxx, productName: Shopping, firstName: aditya, email: aditya.xxx@xxxx.com, sURL: https://www.payumoney.com/mobileapp/payumoney/success.php, fURL: https://www.payumoney.com/mobileapp/payumoney/failure.php, udf1: udf1, udf2: udf2, udf3: udf3, udf4: udf4, udf5: udf5, udf6: , udf7: , udf8: , udf9: , udf10: , hash: xxxxxxxxxxxxxxx, isDebug: true, showCompletionScreen: true}
One issue that might've been with my app was that I also had the tag in manifest:
android:usesCleartextTraffic="true"
So my manifest had to be:
tools:replace="android:label,android:usesCleartextTraffic"
But other than that, the gateway is still closing with failure. I'm not using test credentials as they might've caused the issue.
These arguments were checked on Web App and the payment was successfully made. Probably something wrong with my setup. Any ideas?