Skip to content

[Quality/Performance] Enhance Wallet Page Error Messaging related to In App Purchases #3188

@sync-by-unito

Description

@sync-by-unito

Should be implemented in

  • capture cam
  • white labeled apps

[Wallet Page]

Currently when user perform in app purchase and if backend returns error during receipt validation user will get "Failed to Credits" toast notification no matter what was the error response.

It would be nice to enhance toast notification with more information such as reason.

Here are the error messages that can be returned by backend

{

"error": {

"type": "invalid_receipt",

"message": "Invalid purchase receipt"

},

"status_code": 400

}

{

"error": {

"type": "duplicate_receipt_id",

"message": "The receipt has already been used to get NUM points."

},

"status_code": 400

}

image.png

┆Issue is synchronized with this Asana task by Unito
┆Created By: Sam

Metadata

Metadata

Assignees

No one assigned

    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