Skip to content

[FEATURE] UI/UX Design for Payment Return Page #899

Description

@alireza013013

We need to design a payment return (callback) page that handles three different states:

  1. ⏳ Processing State (Checking Payment Status)
  • When the user is redirected back from the payment gateway, the system should first verify the payment status.
  • This process may take a few seconds.
  • A loading indicator (spinner or animation) should be displayed along with a message like:
  • “Checking your payment status...”
  1. ✅ Success State
  • If the payment is successful:
  • Display a success message (e.g., “Your payment was successful”).
  • Show a success icon (e.g., checkmark).

Optionally display:
Payment ID
Transaction ID
Include a primary action button:
“Back to App” / “Return to Application”

  1. ❌ Failure State
    If the payment fails:
    Display a failure message (e.g., “Payment failed” or a more descriptive error if available).
    Show a failure icon (e.g., cross or warning).
    Keep the same layout as the success state for consistency.
    Include a button to return to the app.
    (Optional but recommended) Add a secondary action:
    “Try Again” or “Retry Payment”

✨ Additional Notes / Suggestions
Ensure visual consistency between success and failure states (same layout, different colors/icons).
Use clear color semantics:
Green for success
Red for failure
Neutral for loading
The design should be mobile-friendly and responsive.
Consider adding subtle animations/transitions between states for better UX.
Error messages in failure state should be user-friendly (avoid technical jargon if possible).

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions