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

CIVIPLMMSR-302: Prevent sending multiple payment receipts #183

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

olayiwola-compucorp
Copy link
Contributor

@olayiwola-compucorp olayiwola-compucorp commented Jul 2, 2024

Overview

After we separated the payment from contribution, the payment now separately sends a receipt to the user even though the contribution creation process will still send a receipt to the user, which will also consider whether the user checks the "Email Confirmation" box or not.

Before

The payment recording process sends a payment receipt to the user during payment creation.
wer

After

The payment recording process no longer sends a payment receipt to the user during payment creation. Instead, the contribution recording process handles sending receipts to users, considering their preference for receiving email confirmations.

asasasas

Technical Details

This happens because the default value of is_send_contribution_notification to the payment.create API is TRUE, we need to set it to FALSE and let the contribution recording process decide when to send email notifications to users.

@olayiwola-compucorp olayiwola-compucorp merged commit dd332f4 into master Sep 23, 2024
2 checks passed
@olayiwola-compucorp olayiwola-compucorp deleted the CIVIPLMMSR-302-fix-double-receipts branch September 23, 2024 11:06
@olayiwola-compucorp olayiwola-compucorp restored the CIVIPLMMSR-302-fix-double-receipts branch November 19, 2024 09:13
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.

2 participants