User can add a payment type
Opened this issue · 0 comments
gregkorte commented
Given the user is authenticated
When the user clicks on a profile affordance in the navigation bar
And the user clicks on the Add Payment Option hyperlink in their profile
Then the user can fill out the payment option form
And click Submit to save payment option
- check auth status first
- "My Settings" link in navbar connected to "user detail edit view"
- GET one user, GET user payments that have no deletedAt property- "user detail" pug shows user's name, address, city, state, postal_code, start_date, last_login, phone_number, email, list of payment types, account numbers in a summary
- Add payment button opens form to add a new payment, on click of "save payment option" button, POST payment object to db