-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
GITC-237: Alters matching pool contribution to be an "on-top" donation #9444
Conversation
@@ -1935,7 +1935,7 @@ def psave_contrib(sender, instance, **kwargs): | |||
"from_profile":instance.subscription.contributor_profile, | |||
"org_profile":instance.subscription.grant.org_profile, | |||
"to_profile":instance.subscription.grant.admin_profile, | |||
"value_usd":instance.subscription.amount_per_period_usdt if instance.subscription.amount_per_period_usdt else instance.subscription.get_converted_amount(False), | |||
"value_usd":instance.subscription.amount_per_period_usdt if instance.subscription.amount_per_period_usdt else instance.subscription.get_converted_amount(True), | |||
"url":instance.subscription.grant.url, | |||
"network":instance.subscription.network, | |||
"txid":instance.subscription.split_tx_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ why are making the changes here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think is to ignore the gitcoin fee there as is already on the value ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah thats right @octavioamu! Passing ignore_gitcoin_fee=True
will make sure we get the full contribution value (without deducting the matching pool contrib)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also tested locally 👍
#9444) * GITC-237: Alters matching pool contribution to be an "on-top" donation * Puts polygon mention behind staff flag
Description
This PR implements the interim checkout experience. The matching pool contribution has been altered to be an "on-top" donation.
Refers/Fixes
Fixes: GITC-237
Testing
Tested locally