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

Refactor Donations Steps #277

Open
2 tasks
sagararyal opened this issue Apr 5, 2022 · 1 comment
Open
2 tasks

Refactor Donations Steps #277

sagararyal opened this issue Apr 5, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request refactor

Comments

@sagararyal
Copy link
Member

Remove the current steps implementation &step=contact and &step=donation

  • Instead when a user continues to next page (Contact) append: units=xy and country=XY
  • On Contact Page rename button to Continue to Payment

Screen Shot 2022-04-05 at 4 30 14 PM

In this step POST /donations is created.
When the continue button is clicked, block the button, and wait for the response of the Create Donation API Call and upon receiving a successful response, redirect the user to
/?context=don_guid

For donations, that do not require multiple steps, after donation is paid, user should be redirected to /?context=don_guid as well

@sagararyal sagararyal added the enhancement New feature or request label Apr 5, 2022
@mohitb35
Copy link
Contributor

In #307 we've introduced a planet cash signup form which is linked to step 4 (PaymentStatus). This should also be considered for the refactor.

#307 (comment)

#307 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor
Projects
None yet
Development

No branches or pull requests

3 participants