0

I'd like to add custom code in my contribution receipts that does the following:

{if $contributionIsTaxDeductible == True} No goods or services were exchange for this donation Tax id 12-3456789 {/if}

Is there a way to do this?

  • Are you familiar with the API explorer? (Support -> Developer) – Luke Stewart Nov 28 '19 at 4:34
  • Yes I am familiar with it – Yossi Nov 28 '19 at 4:35
  • how are you defining contributionIsTaxDeductible? Or is that the problem? – Luke Stewart Nov 28 '19 at 4:39
  • The financial type has a is_deductible setting – Yossi Nov 28 '19 at 4:40
  • What about using a chained api call like this? {php} $this->assign("param_api_financialtype_getsingle", ['id' => "\$value.financial_type_id", 'return' => "is_deductible"]); {/php} {crmAPI var='result' entity='Contribution' action='get' return="financial_type_id" id=3783 api.FinancialType.getsingle=$param_api_financialtype_getsingle} – Luke Stewart Nov 28 '19 at 5:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.