We currently accept two payment methods: PayPal and Credit Card. Is there a way to show which payment method was used in the transaction on the CiviContribute receipt?

I'd like to show it in this table within my receipt:

{ts}Credit Card Information{/ts} {$credit_card_type}
{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}


  • try using {$paidBy} variable in the receipt template. Nov 13 '20 at 12:24
  • @jitendra-fuzion thanks. that didn't work :(
    – Denise
    Nov 13 '20 at 14:00
  • {$contribution.payment_instrument} might work - I played around with using it while testing but didn't implement it. I found reference to it here, though I didn't need to include the api call at the top - civicrm.stackexchange.com/questions/33149/… Nov 13 '20 at 18:31
  • Thanks @Christopher. I got it to show the Payment Type of "Credit Card" but I need to figure out how to show "Payment Processor Type" - since that'll show if it's PayPal or not. Any tips?
    – Denise
    Nov 17 '20 at 15:10

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.