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

[FEEDBACK WANTED] Callback method to detect the payment is done or not #2

Open
sunilkumawatandroid opened this issue May 10, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sunilkumawatandroid
Copy link

Can you please add the callback method to detect that user made payment successfully or not.

@Flajt
Copy link
Owner

Flajt commented May 10, 2022

I had a look at some of the apis, while they offer some info, there are two problems.

  1. You won't be able to verify which user bought something, as these services use their own internal ids

  2. Some offer date and time, but it will be hard to cross reference that with a user, as there might be an delay between a button click and successfull purchase

So I guess we can't really make sure if a user payment is successfull.

But feel free to correct me if I'm missing something.

@sunilkumawatandroid
Copy link
Author

Can we load this URL in the web view rather than redirecting to the other browser. In the web view we can track the URL which is loaded after a successfully payment or failed. On the basis of URL we can identify that user payment status success/failed.

@Flajt
Copy link
Owner

Flajt commented May 10, 2022

I will have a look at this idk how fast I will be, so it might take a while.

@Flajt Flajt self-assigned this Jul 31, 2022
@Flajt Flajt added the enhancement New feature or request label Jul 31, 2022
@Flajt Flajt pinned this issue Dec 10, 2022
@Flajt
Copy link
Owner

Flajt commented Dec 10, 2022

I think about exposing the URL launcher controller for now so people can use it to figure things out. (Misread the docs)
If there is more demand for this feature and we can get the URLs for the redirects, and people have no issues with the changing to a web view, I will rework it.

@Flajt Flajt added the help wanted Extra attention is needed label Dec 10, 2022
@Flajt
Copy link
Owner

Flajt commented Jun 1, 2023

For you can use version 0.2.7 to write your own function to handle URL launching requests see #7 for this.

@Flajt Flajt changed the title Callback method to detect the payment is done or not [FEEDBACK WANTED] Callback method to detect the payment is done or not Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants