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.

Comments

dmidkiff’s picture

Were you able to get anywhere with this? I can't find but this one instance and no resolution posted.

ar-jan’s picture

I can confirm this happens with the 2.x branch.

johnennew’s picture

Status: Active » Needs review
StatusFileSize
new656 bytes

Thanks 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.

johnennew’s picture

Version: 7.x-2.0-alpha2 » 7.x-2.x-dev
Status: Needs review » Fixed

This is committed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.