Reply
Highlighted
Contributor
Posts: 22
Registered: ‎10-16-2015

sample code for avs fraud filter

What c# sample code can you refer e to to run transactions through the AVS/CCV fraud filter?  

 

It seems the documentation is somewhat minimal, can someone fill in the gaps for those of us who have never done payment transactions before?

 

Thanks.

Highlighted
Contributor
Posts: 22
Registered: ‎10-16-2015

Re: sample code for avs fraud filter

Hello?

Highlighted
Posts: 2,765
Topics: 57
Kudos: 247
Blog Posts: 67
Registered: ‎12-05-2011

Re: sample code for avs fraud filter

Hello @cltw

 

I updated the issue you reported on GitHub to add examples for postal code and address to see how to include those fields in a payment transaction.

 

Richard

 

 

 

Highlighted
Contributor
Posts: 22
Registered: ‎10-16-2015

Re: sample code for avs fraud filter

[ Edited ]

I've seen the response "It does it at the same time.

http://www.authorize.net/resources/howitworksdiagram/

When it process with the buyer bank, it will do the validation and return the result, with the response of the transaction."

 

However, if the chargecreditcard sample code available never sends the zip and address

https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard....

 

Are developers supposed to send authorization separately, using the two classes below instead?

https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/AuthorizeCreditCa...

https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/CapturePreviously...

 

OR compare with this fellow's code which uses AIM and sends address, zip, etc to an api.  Is it still a valid method anymore, and what is the equivelent version in the newer sample code?

http://thejackol.com/2004/10/18/authorizenet-integration-using-c-aspnet/

 

 

I would love it if someone filled in the gaps for me.  

 

Thanks

 

Highlighted
Posts: 2,765
Topics: 57
Kudos: 247
Blog Posts: 67
Registered: ‎12-05-2011

Re: sample code for avs fraud filter

Hello @cltw

 

The sample code you reference doesn't have the specific use case you are looking for.  If you want to see how this works, go over to the API Reference under payment transactions where you can submit test transactions, include your sample addresses and zipcode to generate declines and avs response to your heart's desire.

 

Richard

Highlighted
Member
Posts: 1
Registered: ‎11-07-2015

Re: sample code for avs fraud filter

I'm also in the same boat. I don't see any sample code of how to actually send the customer billing information to be processed. On the example page that you show- we see the following in the XML code:

 

<customer>
<id>99999456654</id>
</customer>
<billTo>
<firstName>Ellen</firstName>
<lastName>Johnson</lastName>
<company>Souveniropolis</company>
<address>14 Main Street</address>
<city>Pecan Springs</city>
<state>TX</state>
<zip>46280</zip>
<country>USA</country>
</billTo>

 

But how do I set that up in C# to actually create the Billto information? There are no code samples where the AVS is actually receiving the Billto information and using it. 

 

Thanks.