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

PR: retry mint for a failed payment card order #357

Draft
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

EresDev
Copy link
Contributor

@EresDev EresDev commented Nov 12, 2024

Resolves #291

@ubiquity-os-deployer
Copy link

ubiquity-os-deployer bot commented Nov 12, 2024

@EresDev
Copy link
Contributor Author

EresDev commented Nov 13, 2024

In issue specs, I suggested retrieving the transaction hash of the partially failed mint by reading the events of permit2. I tried that. Even though permit2 has events, but none of those events are for the claim. With this, the events of permit2 are of no use to us here.

In the current solution, we store the tx hash in local storage and use it in retry if the mint failed previously. This is good enough for us.

Copy link
Contributor

Preview Deployment
87a45f424814f8fe604035e6362b9b52aec6bd72

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

Successfully merging this pull request may close these issues.

Add retry mechanism for partially failed virtual card order
1 participant