$is_pay_later is TRUE in contribution receipt even if payment is completed.
To replicate -
- Create a pay later payment in civicrm using a front end contribution page.
- Note that the email received has
Invoicein the subject. This text is set when you choose to pay via
- Complete the payment using
completetransactionAPI (or use API explorer from UI). This is used by payment processors, xero, etc to complete the payment in civicrm on receiving the confirmation.
$result = civicrm_api3('Contribution', 'completetransaction', [ 'id' => <contribution_id>, ]);
- The email confirmation still has
Invoicein the subject.
To upload designs, you'll need to enable LFS. More information