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 sheet visibility listener #1774

Open
AntoniPochopien opened this issue May 15, 2024 · 1 comment
Open

Payment sheet visibility listener #1774

AntoniPochopien opened this issue May 15, 2024 · 1 comment
Labels
needs triage Needs triage

Comments

@AntoniPochopien
Copy link

I would like to request a feature that enables the detection of when the payment sheet is visible on the screen. For instance, I intend to trigger background animations while the payment sheet is being displayed.

The proposed solution involves implementing a listener that can provide data regarding the status of the sheet. Alternatively, without a listener, we could assume the sheet is visible after initializing the payment sheet. However, accurately determining when the sheet disappears after a successful payment remains challenging.

It's worth noting that adding a listener might pose a risk, as it could potentially lead inexperienced developers to rely on it to confirm payments instead of utilizing webhooks.

@AntoniPochopien AntoniPochopien added the needs triage Needs triage label May 15, 2024
@remonh87
Copy link
Member

for this we rely on the implementation of the Stripe sdk. The paymeent sheet is a native widget. I can try to log a ticket for Stripe to implement it

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

No branches or pull requests

2 participants