Skip to content
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

Add direct deposit email notification template #16357

Merged
merged 5 commits into from
Apr 17, 2024

Conversation

tpharrison
Copy link
Contributor

@tpharrison tpharrison commented Apr 16, 2024

Summary

Currently, when a user updates their direct deposit info, they receive an email notification stating their direct deposit details was updated. The email notification should only state that their direct deposit info was updated without specifying the benefit type.

The email is sent using VA Notify's API, so a new email template called "Direct Deposit Update Confirmation" has been created.

This ticket

  • Adds the VA Notify template ID the va_notify settings.
  • Updates the VA Notify Direct Deposit Email job to accept a nil type which will map to the new confirmation email.

Related PRs

Related issue(s)

department-of-veterans-affairs/va.gov-team#80210

Testing done

Added/updated specs in:

  • spec/controllers/v0/profile/direct_deposits_controller_spec.rb
  • spec/sidekiq/va_notify_dd_email_job_spec.rb

@va-vfs-bot va-vfs-bot temporarily deployed to add-direct-deposit-notify-template/main/main April 16, 2024 14:19 Inactive
Copy link
Contributor

@aherzberg aherzberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@adamwhitlock1 adamwhitlock1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, excited to test this once all the pieces are in place!

@tpharrison tpharrison merged commit 86b38e2 into master Apr 17, 2024
20 checks passed
@tpharrison tpharrison deleted the add-direct-deposit-notify-template branch April 17, 2024 19:40
rmtolmach added a commit that referenced this pull request Apr 17, 2024
* Refactor uploads spec, simple forms (#16380)

* Refactor uploads spec, simple forms

* rubocop

* BTSSS-77372 Add mocked responses for BTSSS  (#16231)

* Revert to original token URL in service

* Add authorized ping mock, too

* Handle Bearer Token parsing failures gracefully

* Clean up services config

* Revert some accidental deletions

* Final bit of cleanup

* Switch to correct file path

* Move authorize method to a before_action

* Update mockdata paths

* Fix some linting errors

* Add direct deposit email notification template (#16357)

* Add template_type method to VANotifyEmailJob

* Update direct deposit email job to accept a default parameter of nil for the direct deposit type.

* Add method to request a token from STS (#16372)

* Add method to request a token from STS

* fix rubocop

* Fix tests

* Remove debugging line

* change parameter to reflect actual value

* Merge conflict fix

* remove diff file from merge conflict

* [80904] Creating a terms of use application check that occurs during secondary authentications with custom (#16371)

---------

Co-authored-by: Eric Tillberg <[email protected]>
Co-authored-by: Dan Hinze <[email protected]>
Co-authored-by: Tom Harrison <[email protected]>
Co-authored-by: Kevin Duensing <[email protected]>
Co-authored-by: Trevor Bosaw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants