Commit 5c143a6a authored by jenlampton's avatar jenlampton

Remove a dollar sign from the amount sent to auth.net.

parent 21cee163
...@@ -234,6 +234,7 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) { ...@@ -234,6 +234,7 @@ function authorizenetwebform_webform_client_form_submit($form, &$form_state) {
// Get the amount. // Get the amount.
$amount_key = $flipped_map['x_amount']; $amount_key = $flipped_map['x_amount'];
$amount = str_replace('$', '', $amount);
$amount = $field_values[$amount_key]; $amount = $field_values[$amount_key];
// Special handling for quantity. // Special handling for quantity.
......
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