hngprojects / hng_boilerplate_nestjs

Description
Apache License 2.0
180 stars 105 forks source link

[Enhancement]: [BE PYTHON ANCHOR] Handle Incorrect Success Transaction During Upgrade Process #899

Open Kah-keh opened 2 months ago

Kah-keh commented 2 months ago

Description

When attempting to upgrade a plan, a success notification is displayed even if the required fields have not been filled out, which misleads the user, (it also means the user could bypass our system and get upgraded without going through the right and success-dependent process). The task is to improve the backend logic to ensure that no upgrade is successful unless all required fields are correctly filled and the system reads that payments have been received.

Acceptance Criteria

Purpose

To prevent false success during the upgrade process.

Requirements

Expected Outcome

Users will only get successfully upgraded and receive a success notification after completing the upgrade process, with all required fields validated.

Website

Watch issue video here:

https://github.com/user-attachments/assets/2a7efd51-65b9-49d9-879a-3d2659806244

bruce-pain commented 2 months ago

@Kah-keh may I work on this ticket?

Kah-keh commented 2 months ago

@Kah-keh may I work on this ticket?

I believe the leads are the ones to assign the ticket.

CodewithSegNet commented 2 months ago

i'm working on it now?

Kah-keh commented 2 months ago

For more context on this ticket:

https://github.com/user-attachments/assets/b4aa91ce-878e-4ca8-b294-1516ebd9bd7d