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

Allow invoice expiry of 3 days or less #592

Open
NadAlaba opened this issue Jul 12, 2024 · 3 comments
Open

Allow invoice expiry of 3 days or less #592

NadAlaba opened this issue Jul 12, 2024 · 3 comments
Assignees

Comments

@NadAlaba
Copy link

Currently in the android app, the invoice expiry can be changed between 1, 2, or 3 weeks only.
However, some CEX (like kucoin) and other custodial wallets like WOS, don't allow invoices with an expiry of more than 3 days, which is making transactions to fail.

I thought I once saw a commit that allows changing the expiry between 1 second and 999999 seconds, but I'm not able to set it to less than a week in the app right now :strange:

Possibly related issue #335

@dpad85
Copy link
Member

dpad85 commented Jul 17, 2024

I'm not able to reproduce the issue with WoS. I can pay a Phoenix generated invoice from WoS without errors, even with an expiry of 1 week or 3 weeks. I cannot test with the Kucoin CEX though. Are you sure it's related to Bolt11 invoices expiry values? Do you have an error message from these services you can share?

I thought I once saw a commit that allows changing the expiry between 1 second and 999999 seconds

That was in the legacy app, you could enter any expiry you wanted. In the v2 app, the app only let you choose between fixed values to make things simpler.

@NadAlaba
Copy link
Author

Strangely sending from WOS is working now, last time it failed after sending from Kucoin had failed made me assume it was the same reason.
However, sending from Kucoin is still not working, and unfortunately they don't forward any error message to their users.
After speaking with customer support, this is what they said

Upon investigation, we have noticed that the expiry time you have configured is a week time. However, KuCoin only currently support the expiry time for up to 72 hours. Please configure the expiry time to 72 hours so that you are able to do a successful withdrawal.

In the v2 app, the app only let you choose between fixed values to make things simpler.

Unfortunately, this decision does not make it simpler for me 😞

@dpad85 dpad85 closed this as completed in e73fb0e Jul 19, 2024
@dpad85
Copy link
Member

dpad85 commented Jul 19, 2024

The fix will be available in the next Android version.

For iOS, we'll need a separate commit so I reopen the ticket.

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

3 participants