Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Passing AVS info to order database


ukgoods

Recommended Posts

I am trying to pass the AVS test back to the database so I can double-check some orders that turn out to be fraudulent.

 

I have created the two fields in the order database (AVSADDR and AVSZIP)

 

In my payflowpro.php, I have added the following in the before_process section:

 

$GLOBALS['payflow_avsaddr'] = $response['AVSADDR'];

$GLOBALS['payflow_avszip'] = $response['AVSZIP'];

 

I did a print test and I know that the two response variables are correct.

 

Then I added the following to the sql_data_arry section of checkout_process.php file:

 

$GLOBALS['payflow_avsaddr'] => $order->info['avsaddr'],

$GLOBALS['payflow_avszip'] => $order->info['avszip'],

I even tried:

 

'payflow_avsaddr' => $order->info['avsaddr'],

'payflow_avszip' => $order->info['avszip'],

 

The results are not being passed to the database.

 

Can someone guide me in the right direction? This is very important for me and I would be willing to post the answer to the Payflow Pro contribution area once I am finished.

 

Thanks,

 

Donna Gordon

UKGoods.com

Link to comment
Share on other sites

I am trying to pass the AVS test back to the database so I can double-check some orders that turn out to be fraudulent.

 

I have created the two fields in the order database (AVSADDR and AVSZIP)

 

In my payflowpro.php, I have added the following in the before_process section:

 

$GLOBALS['payflow_avsaddr'] = $response['AVSADDR'];

$GLOBALS['payflow_avszip'] = $response['AVSZIP'];

 

I did a print test and I know that the two response variables are correct.

 

Then I added the following to the sql_data_arry section of checkout_process.php file:

 

$GLOBALS['payflow_avsaddr'] => $order->info['avsaddr'],

$GLOBALS['payflow_avszip'] => $order->info['avszip'],

I even tried:

 

'payflow_avsaddr' => $order->info['avsaddr'],

'payflow_avszip' => $order->info['avszip'],

 

The results are not being passed to the database.

 

Can someone guide me in the right direction? This is very important for me and I would be willing to post the answer to the Payflow Pro contribution area once I am finished.

 

Thanks,

 

Donna Gordon

UKGoods.com

 

 

HELP!!!!!!!

 

Donna

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...