Advertisement
chrishajer

Add information to authorize.net transaction

Jul 30th, 2013
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. // add additional information to authorize.net transaction
  3. add_filter("gform_authorizenet_transaction_pre_authorize", "add_phone", 10, 4);
  4. function add_phone($transaction, $form_data, $config, $validation_result){
  5.     //get phone from post data, field id 8 for my field, change to your id
  6.     $transaction->phone = rgpost("input_8");
  7.     return $transaction;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement