Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIs are inconsistent android <> iOS #52

Open
junaid1460 opened this issue Sep 21, 2022 · 1 comment
Open

APIs are inconsistent android <> iOS #52

junaid1460 opened this issue Sep 21, 2022 · 1 comment

Comments

@junaid1460
Copy link

  1. on iOS after submit

on success callback returns flat structure

 {
   "razorpay_signature" ...
}

on Android

 {
   data: {
       "razorpay_signature" ...
   }
}

Ideally frontend of apis should be converted to right format before returning.

  1. Another inconsistency is with upi_app_package_name

should hide implementation details of which app to choose, should not ask user to figure out which platform it is.

in android I have to pass com.**** in iOS google_pay.

  1. on android get upi apps returns a Map, on iOS a List
@junaid1460
Copy link
Author

Can we work towards a well typed front end for apis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant