You are here

function commerce_worldpay_bg_build_md5 in Commerce Worldpay 7

Creates the encrypted md5 string.

1 call to commerce_worldpay_bg_build_md5()
commerce_worldpay_bg_order_form in ./commerce_worldpay_bg.module
Build the form to be submitted to WorldPay.

File

./commerce_worldpay_bg.module, line 909
Provides a Worldpay Business Gateway payment method for Drupal Commerce.

Code

function commerce_worldpay_bg_build_md5($wp_sig_fields, $salt) {
  return md5($salt . ':' . join(':', $wp_sig_fields));
}