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

BTHA-194: Ensure membership rate total can be calculated for line item #537

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olayiwola-compucorp
Copy link
Contributor

@olayiwola-compucorp olayiwola-compucorp commented Sep 6, 2024

Overview

Before this PR we had an issue where when a user ‘record’ a payment against a membership contribution with total computed from membersjhiprate extension, the amount due is shown as the amount attached to the original membership type ‘minimum fee’ (ie, pre calculation from the membership fee calculator).

The event we added here #508, requires that contactID be sent, but in the line item create hook, the contact ID was null.

In this PR we have retrieved the set the contact ID from the line item contribution.

Before

The amount due is shown as the amount attached to the original membership type ‘minimum fee.
@@@11111111qqq22222222

After

The amount due is shown as the amount calculated by the membership fee calculator.
@@11111111qqq22222222

@shahrukh-compuco shahrukh-compuco changed the title BTHA-194: Ensure membeership rate total can be calculated for line item BTHA-194: Ensure membership rate total can be calculated for line item Oct 22, 2024
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