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

Create RP Record in CRM #2081

Merged
merged 7 commits into from
Dec 10, 2024
Merged

Conversation

jaucourt
Copy link
Collaborator

https://eaflood.atlassian.net/browse/IWTF-4262

After a successful payment, when the permission is provisioned, a RCP record should be created along with everything else. It shouldn't be created if the RCP toggle is off

https://eaflood.atlassian.net/browse/IWTF-4262

After a successful payment, when the permission is provisioned, a RCP
record should be created along with everything else. It shouldn't be
created if the RCP toggle is off
@jaucourt jaucourt added the enhancement New feature or request label Nov 21, 2024
… put transaction in a shape accepted by processRecurringPayment. Also modified processRecurringPayment to set publicId to be a hash of the recurring payment id
…o throw errors for invalid dates and refactored
…ther than using the permission embedded in the transaction, altered transaction queue processor to save RecurringPayment after Permission and Contact, removed contactId and activePermission fields as these were extraneous
@jaucourt jaucourt marked this pull request as ready for review December 6, 2024 16:49
})

describe('generateRecurringPaymentRecord', () => {
it.each([
Copy link
Member

Choose a reason for hiding this comment

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

It's a recipe for suffering, I know, but could we have some tests for leap years and daylight savings?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good reminder, I'd meant to add these but then forgot

@jaucourt jaucourt merged commit 582a207 into develop Dec 10, 2024
4 checks passed
@jaucourt jaucourt deleted the feature/iwtf-4262-create-RP-record-in-CRM branch December 10, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants