Skip to content

Ability to complete payment #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Ability to complete payment #4

wants to merge 3 commits into from

Conversation

barkausa
Copy link
Contributor

I have noticed that Payment page is not functional and decided to add some logic to it

Added a functionality to complete payment. This will:

  • Clear basket
  • Flash success message with charged amount (a vulnerability for students to explore added as well)
  • Creating Purchace objects in db so later user can review item
  • Redirecting to the last item ReviewPage (below)

image

Purchase history is also being updated after a payment
image

This PR is just a suggestion

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant