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

Payment via Ideal in app is broken. #903

Open
ph00lt0 opened this issue Sep 9, 2023 · 3 comments
Open

Payment via Ideal in app is broken. #903

ph00lt0 opened this issue Sep 9, 2023 · 3 comments
Labels
- photos Relates to the Ente Photos --mobile Platform is mobile

Comments

@ph00lt0
Copy link

ph00lt0 commented Sep 9, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to upgrade plan
  2. Choose ideal, chose bank, proceed
  3. Link will open to open bank app but this doesnt open the bank app

Expected behavior
Using correct webview or using default broseer to actually open payments in the bank app.

Screenshots
IMG_20230909_084219

Smartphone (please complete the following information):

  • Device: Pixel 7 Pro
  • OS: 13
  • App Version version 0.7.92 io.ente.photos versionCode 492
@vishnukvmd
Copy link
Member

Hey, we had already raised this issue with Stripe. Will bump up this thread with them. In the meanwhile could you please use our desktop/web app to subscribe? Thank you!

@ph00lt0
Copy link
Author

ph00lt0 commented Sep 10, 2023

Subscribed using other payment method :D
But I do actually think this issue isn't with stripe. This is caused because it is supposed to open as local link in the banking app and I believe your implementation prevents that.

@vishnukvmd
Copy link
Member

Got it, thank you!

I just noticed that the page that was opened is not using a custom URL scheme, but is prefixed with http:// – to which the banking app has likely registered a deeplink, that the WebView is unaware of.

Possible solutions:

  1. Maintain a set of URL prefixes, for which we should intercept the request and trigger the URL launcher. For example, in this case it would be http://nl.rabobank.idealv2//
  2. Always open payments.ente.io in the system's default browser (that will forward deeplinks correctly), and post payment completion use a deeplink to bring ente back into the foreground

cc @ua741

@vishnukvmd vishnukvmd transferred this issue from ente-io/photos-app Mar 9, 2024
@vishnukvmd vishnukvmd added --mobile Platform is mobile - photos Relates to the Ente Photos labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- photos Relates to the Ente Photos --mobile Platform is mobile
Projects
None yet
Development

No branches or pull requests

2 participants