Webform 4 removes function webform_variable_get original issue https://www.drupal.org/node/2062235
advice from https://www.drupal.org/node/1609324 is to replace

if (in_array($node->type, webform_variable_get('webform_node_types'))) {
  // Do something.
}

With something like

if (variable_get('webform_node_' . $node->type, FALSE)) {
  // Do something.
}
// OR:
if (in_array($node->type, webform_node_types())) {
  // Do something.
}

So I'v added a patch for it, whilst Im still testing the rest of the components it seems to work

CommentFileSizeAuthor
webform_pay_v4.patch499 bytesgavin.hughes

Comments

gavin.hughes created an issue.

nate covington’s picture

I just posted a similar solution that works with Drupal 7, Webform 4.

Simple Drupal Webform (v4) PayPal Integration using custom PHP confirmation message