I've made a Rule: send Email after completion of an order with commerce-webform, it worked perfect with commerce_webform-7.x-1.0-beta5 and webform-7.x-3.18: al field were sent in the email with the token [commerce-order:commerce-webform-submission].
It didn't work after updating to webform-7.x-4.0-alpha6 and commerce_webform-7.x-2.0-alpha2, only the text "array" appears in the mail.
After uninstall those 2 new modules and install the old ones: commerce_webform-7.x-1.0-beta5 and webform-7.x-3.18 all fields are in the mail and no word "array" appears.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | commerce_webform-update_tokens_for_webform_submission_render-1869186-2.patch | 656 bytes | johnennew |
Comments
Comment #1
dmidkiff commentedWere you able to get anywhere with this? I can't find but this one instance and no resolution posted.
Comment #2
ar-jan commentedI can confirm this happens with the 2.x branch.
Comment #3
johnennew commentedThanks for the bug reports, sorry for the delay in responding. Seems that webform_submission_render returns HTML in the 3.x branch of webform and a render array in 4.x. Attached patch for 2.x branch of commerce_webform makes account for this.
Comment #4
johnennew commentedThis is committed now.