CSCI-GA-2820-SP24-003 / payments

NYU DevOps Payments Service Spring 2024
Apache License 2.0
2 stars 2 forks source link

add is_default action #70

Closed YiTing623 closed 6 months ago

YiTing623 commented 6 months ago

Add is_default field in credit_card.py, payment_method.py, paypal.py and factories.py Add set default payment method in routes.py Add test_set_payment_method_as_default and test_set_new_default_unsets_previous_default

nedjulius commented 6 months ago

is this ready for a review @YiTing623 ?

YiTing623 commented 6 months ago

is this ready for a review @YiTing623 ?

Yes, please take a look when you have a moment, thanks!

YiTing623 commented 6 months ago

few suggestions. otherwise looks good

updated. not sure if it is correct, please help review again, thanks!