-
Notifications
You must be signed in to change notification settings - Fork 128
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 Payment Page: Enhanced User Inputs and Validation Mechanisms #499
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊 |
@dhairyagothi , I have enhanced the page and added more input details , please check the demo video , i have also add validations and sweet alert , please check it !!! |
please resolve conflicts @SrijaVuppala295 |
@dhairyagothi , please review it , i have resolved |
🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to Station Guide. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
U
Pull Request Template for GSoC 2024
Related Issue
[Please list any related issue numbers that this pull request resolves. If none, state "None"]
closes:#478
Description of Changes
This pull request implements significant enhancements to the payment page component, aimed at improving user experience and ensuring robust data validation. Key updates include:
Comprehensive User Input Fields: Introduced additional fields for capturing user details, such as full name, phone number, and nationality, ensuring a complete profile during the transaction process.
Dynamic Payment Method Interface: Upon selecting a payment method, a dedicated section appears, displaying relevant fields specific to the chosen method (credit/debit card or UPI), streamlining the user experience.
Advanced Input Validation: Implemented strict validation protocols for critical fields, including card number format (1234-5678-8907), expiry date, and phone number. Users receive real-time feedback on input errors to facilitate corrections.
Success Notification Integration: Utilized SweetAlert to provide a visually appealing success message upon successful submission of payment details, enhancing user engagement and satisfaction. Users are automatically redirected to the home page post-confirmation.
International Phone Number Support: Added predefined country codes for various nationalities, allowing for seamless international transactions and improving accessibility for a diverse user base.
These enhancements are designed to provide a secure, user-friendly checkout experience while adhering to best practices in data handling and user interface design. Your feedback and insights on these improvements would be greatly appreciated.
Please review the changes and let me know if you have any questions or suggestions. Thank you!
Type of Pull Request
(Please check relevant boxes by entering an "X" inside them)
Screenshots / Demo (if applicable)
payments.mp4
Checklist for Contributor
use'X' in [ ] to check it .
Additional Information
[Include any additional context or relevant information that may help in reviewing this PR.]
Contribution Guidelines Reminder
Thank you for contributing to our project! Please ensure you follow the guidelines below:
Contribution Levels
Task Categories:
Acknowledging Effort:
Review Process
PRs will be reviewed by the maintainers, and feedback will be provided. Contributors should address feedback promptly and resubmit the PR if necessary.
Contributors are encouraged to participate in the review process of other PRs for community growth.
We appreciate your time and effort in improving this project and look forward to your valuable contributions!