Added Payment.jsx & fixed styling issues in cart #235
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
ISSUE:#234 Enhancement+Bug
I'm excited to add a significant improvement to the user checkout experience: a streamlined multi-page checkout flow with mock payment functionality. This addresses the previous limitation where checkout and payment details were combined on a single page
1.) Key Enhancements:
Separated Checkout Process: Introduced a "Proceed to Checkout" button, gracefully transitioning users from the cart to a dedicated payment page (Payment.jsx).
Mock Payment Form: Implemented Payment.jsx as a user-friendly form for entering mock payment card details (non-functional validation). Fields include:
Cardholder Name
Card Number (16 digits)
Expiration Date (MM/YY format)
CVV (3-digit code)
Seamless Navigation: Upon form submission in Payment.jsx, the user is directed to a Success.jsx page displaying a confirmation message ("Thank you, your order has been placed!").
-**Styling issue:**Also fixed the styling issue of the select option which was not properly being displayed have fixed the css styling and gave it proper spacing
BEFORE
AFTER:
2). Benefits:
SCREENSHOT OF THE UPDATED/ADDED PAGES