We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 826e96a + 86a8b3a commit dcdb14bCopy full SHA for dcdb14b
app/models/stash_engine/support/payment_methods.rb
@@ -93,6 +93,10 @@ def record_payment
93
94
def institution_will_pay?
95
tenant = latest_resource&.tenant
96
+
97
+ # do not remove recorded institution sponsor due to sponsorship change
98
+ return true if payment_id.present? && payment_id == tenant&.id
99
100
return false unless tenant&.payment_configuration&.covers_dpc
101
102
if tenant&.authentication&.strategy == 'author_match'
0 commit comments