Skip to content

[Bug]: Change error messages for gift code usage errors #2561

@JeanlChristophe

Description

@JeanlChristophe

Describe the bug

There are two gift code–related errors currently handled in the app:
• GIFT_CODE_USED_UP — triggered when a code has already been claimed the maximum number of times.
• GIFT_CODE_ALREADY_USED — triggered when a user tries to claim the same code again.

Both of these error cases should return a consistent and user-friendly error message to the UI, such as:

Image

Please implement the error message handling accordingly in both cases.

Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots / Recording

No response

Operating system

Android, iOS

Bitkit version

No response

Log output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions