Commit fba380c4 authored by jenlampton's avatar jenlampton

Remove debug messages.

parent d1e6fc69
...@@ -191,7 +191,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) { ...@@ -191,7 +191,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) {
} }
$field_values = _authorizenetwebform_flatten_form_values($form_state['input']['submitted']); $field_values = _authorizenetwebform_flatten_form_values($form_state['input']['submitted']);
//dpm($field_values);
// Get key mappings for this webform. // Get key mappings for this webform.
$nid = $form_state['values']['details']['nid']; // Nice shorthand. $nid = $form_state['values']['details']['nid']; // Nice shorthand.
...@@ -374,8 +373,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) { ...@@ -374,8 +373,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) {
} }
} }
dpm($data);
$json = json_encode($data); $json = json_encode($data);
// Set the post URL. // Set the post URL.
...@@ -399,7 +396,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) { ...@@ -399,7 +396,6 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) {
// Fix brokenness in the AuthNet JSON API response -- END. // Fix brokenness in the AuthNet JSON API response -- END.
$response_array = json_decode(trim($post_response), TRUE); $response_array = json_decode(trim($post_response), TRUE);
//dpm($response_array);
if ($response_array['messages']['resultCode'] == 'Ok') { if ($response_array['messages']['resultCode'] == 'Ok') {
$text = t('Your payment has been processed, thank you.'); $text = t('Your payment has been processed, thank you.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment