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

How to restart SumUp plugin on errors #56

Open
mrgithub opened this issue Mar 31, 2024 · 1 comment
Open

How to restart SumUp plugin on errors #56

mrgithub opened this issue Mar 31, 2024 · 1 comment

Comments

@mrgithub
Copy link

SumUp plugin fails to process transactions every so often. This leads to the donation station being unusable unless the app is restarted. Is there a way to manually dispose of the plugin and restart and reinitialise it?

I want to reboot the plugin when it becomes unresponsive without having to restart the my whole app.

I do a check here to see if transaction completed with this.: "checkoutResponse.success ?? false"

Seems to be the odd sumup server issue doing something in the plugin. Thereafter it no longer responsive. Have a workaround to restart entire app using another plugin.

Any way to restart just the SumUp plugin?

@sstasi95
Copy link
Collaborator

sstasi95 commented May 7, 2024

Hi, it's not possible as far as I know. You can try to check if your app correctly handles the server errors, which can happen sometimes.

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

2 participants