Reply
Member
Posts: 1
Registered: ‎03-03-2020

Newbie trying to get Company info into A.net.

We have a web developer who is redoing our site and trying to get the Company name to process into A.net. It is a WordPress site and all we are doing is performing a basic CC payment transaction where we enter the Company name with all other fields but it is the only thing that does not show at A.net. The developer sent a snippet of the code that contains the issue.

 

add_filter( 'gform_authorizenet_transaction_pre_capture', function( $transaction, $form_data, $config, $form, $entry ) {

    if ( $form['id'] == 7 ) {

        $transaction->invoice_num = rgar( $entry, '3' );

$transaction->ship_to_company = rgar( $entry, '6' );

    }

 

    return $transaction;

}, 10, 5 );

 

The problem is ship_to_company is not correct but we don't know what it should be! Thanks for any help..

Member
Posts: 4
Registered: ‎03-07-2020

Re: Newbie trying to get Company info into A.net.

Hey, I am also a newbie but I can confidently say that unlockmytv is the best movie app that i can try out today.