Skip to content

PPR/MHR API - Track CC Payment Status  #27512

Closed
Closed

Description

@doug-lovett

Use the API event tracking to record the status of cc paymenst.

  • New event tracking types
  • New API env variable for configuration
  • Record the payment status changes in the event tracking table.
  • Create GCP scheduler job to run nightly (possible email client reminder if incomplete and email notification configured)
  • Email to support summary of cc pending errors/outstanding pending status registrations.
  • If we are setting a time limit on pending status, rollback the registraiton if time limit has expired.

Figma File

Activity

  1. LizGovier commented on May 1, 2025

    @LizGovier
  2. self-assigned this
    on May 9, 2025
  3. doug-lovett commented on May 20, 2025

    @doug-lovett
    CollaboratorAuthor

    Email screenshot, job is set up to run in DEV on Monday nights. It can be run manually anytime.
    Screenshot 2025-05-20 at 6.58.10 AM.png

    Test Note:
    MHR staff, PPR client and staff cancelling of expired pending payments is currently disabled. To test MHR client cancelling of exipired pending payments (48 hours), create a pending cc payment registration, do not complete the payment, and after 48 hours (or ask me to change the event timestamp), ask me to run the job.

  4. chdivyareddy commented on May 20, 2025

    @chdivyareddy
    Collaborator

    Created pending cc payment registrations in DEV: Invoice IDs - 50023, 50025, 50027, 50028 to run the job after 48 hours.

  5. chdivyareddy commented on May 22, 2025

    @chdivyareddy
    Collaborator

    Hey @doug-lovett , can you please run the job manually in DEV for the pending cc payment registrations for the above invoice ids when you have time, thanks!

  6. doug-lovett commented on May 22, 2025

    @doug-lovett
    CollaboratorAuthor

    @chdivyareddy job run in DEV. From the status email:
    MHR cancelled invoices:
    50023,50025,50027,50028

    MHR updated draft IDs:
    4973,4974,4975,4976

  7. chdivyareddy commented on May 22, 2025

    @chdivyareddy
    Collaborator

    Thanks for the update Doug!

  8. chdivyareddy commented on May 26, 2025

    @chdivyareddy
    Collaborator

    Created pending cc payment registrations in TEST: Invoice IDs - 728788, 728789, 728790 to run the job after 48 hours.

  9. chdivyareddy commented on May 28, 2025

    @chdivyareddy
    Collaborator

    Hey @doug-lovett , can you please run the job manually in TEST for the pending cc payment registrations for the above invoice ids when you have time, thanks!

  10. doug-lovett commented on May 28, 2025

    @doug-lovett
    CollaboratorAuthor
  11. chdivyareddy commented on May 28, 2025

    @chdivyareddy
    Collaborator

    Thank you Doug!

  12. changed the issue type fromtoon Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions