Closed Freshrojek closed 2 years ago
@Freshrojek Looks like you are getting failing tests mate
@Freshrojek Looks like you are getting failing tests mate
* test_total_with_donation_shows_correct_amount * test_users_with_a_donation_are_sent_to_the_correct_cancel_and_success_urls
Yup forgot to bring the tests with me :)
requires #585
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Description
Added type fixes on getting the donation value and formatting it in a user-friendly manner
Related Issue
https://github.com/GeekZoneHQ/web/issues/364
Motivation and Context
Before, users could not donate with decimals as it would throw an error. Now Users should be able to donate any amount they want
How Has This Been Tested?
This has been tested through enabling the stripe webhook and verifying the checkout completes.
The stripe tests were run that are already built to confirm the code works
Types of changes
Checklist: