To Replicate:
On a webform Add a membership.
On the Contribution tab enable pay later and add some pay later text.
Save
Submit the webform. You do not get the pay later text.
Note this works as expected without the Membership tab.
The automated testing for pay later only covers a webform with a Contribution.
Tested on latest webform civicrm 7.x-4.x branch + CiviCRM 4.6 branch. When select pay later when making a payment on webform civicrm, it sends out the confirmation email with subject and content in receipt version rather then invoice version (is_pay_later) while PDF invoice shows correct info.
Comments
Comment #2
colemanw commentedHave you done any debugging for this yet? I'd suggest looking into the contribution.sendconfirmation api to see how it works - is there some other param needed to tell it which message to send?
Comment #3
ayduns commentedThe problem still exists on 4.7 and seems to be in core, not this module.
I've submitted https://github.com/civicrm/civicrm-core/pull/10306
@guanhuan Please test - does this fix your problem?
Comment #4
petednz commentedI see above was committed: https://github.com/civicrm/civicrm-core/commit/5d95f297830e80bcaf7368c8c...
Comment #5
mpaulson commentedThis issue was filed against a branch (7.x-4.x) that is no longer supported. We're sorry we did not get to work through it, but once you upgrade to 7.x-5.x and if the issue persists, please feel free to re-open.
Comment #6
luke.stewart commentedWe are seeing this on a Drupal 10 site with 6.x-dev-master.
Comment #7
luke.stewart commentedComment #8
luke.stewart commentedActually this is a CiviCRM core bug I think. I've followed through everywhere and the pay later text is added as expected but is not rendered. I suspect due to message template not having the variable.