Reply
Member
Posts: 1
Registered: ‎12-12-2018

C# add settingType to transactionRequest

We are trying to implement the new API in order to handle level II processing.

 

I need to pass the duplicateWindow parameter to my transaction.  I can't seem to hold my mouth right to pass dup to the transactionRequest.  Could some one please tell me how to add the setting to my transaction?

Thanks!

 

here is my setting:

var dup = new settingType

 

{

settingName = "duplicateWindow",

settingValue = "28800"

 

};

here is something else I'm passing to my transaction:

var shippingAddress = new customerAddressType

{

firstName = GridCheckout.GetRowValues(0, "ContactFirstName").ToString(),

lastName = GridCheckout.GetRowValues(0, "ContactLastName").ToString(),

address = GridCheckout.GetRowValues(0, "ShipAddress1").ToString(),

city = GridCheckout.GetRowValues(0, "ShipCity").ToString(),

state = GridCheckout.GetRowValues(0, "ShipStateOrProvince").ToString(),

zip = GridCheckout.GetRowValues(0, "ShipPostalCode").ToString(),

country = "USA"

 

};

 

I have

var transactionRequest = new transactionRequestType

 

{

transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),

amount = rTotalOrder,

payment = paymentType,

order = order,

.

.

.

customer = new customerDataType

 

{

id = GridCheckout.GetRowValues(0, "CustomerID").ToString(),

 

 

},

billTo = billingAddress,

shipTo = shippingAddress,

taxExempt = false,

 

transactionSettings = dup //<<<<<<----- how do I pass dup to this transaction?

};

 

Member
Posts: 2
Registered: ‎10-18-2018

Re: C# add settingType to transactionRequest


@MetraKay wrote:

We are trying to implement the new API in order to handle level II processing.

 

I need to pass the duplicateWindow parameter to my transaction.  I can't seem to hold my mouth right to pass dup to the transactionRequest.  Could some one please tell me how to add the setting to my transaction?

Thanks!

 


Me too same problem .. I am also looking for a solution.

Authorize.Net Expert
Posts: 75
Registered: ‎07-27-2016

Re: C# add settingType to transactionRequest

Hi @MetraKay & @Proctor951

 

If you want to pass the duplicateWindow setting, its part of transactionSettings in the new APIs, thus you will need to create transactionSetting with the duplicateWindow first and then pass it in the CreateTransactionRequest, something like this code snippet.

 

 

var settings = new settingType[] { 
new settingType { settingName = settingNameEnum.duplicateWindow.ToString(), settingValue = "0" }
}; var transactionRequest = new transactionRequestType { transactionType = transactionTypeEnum.authCaptureTransaction.ToString(), // charge the card amount = amount, payment = paymentType, billTo = billingAddress, lineItems = lineItems, transactionSettings=settings};

 

Hope this Helps!

Kaushik

 

Member
Posts: 1
Registered: ‎05-14-2020

Re: C# add settingType to transactionRequest

SHAREit for PC supports on Windows XP, Vista, 7, 8, 8.1, 10 which allows you to share all kind of files from one device to another with a speed that is 200 times quicker than Bluetooth

Member
Posts: 1
Registered: ‎08-07-2020

Re: C# add settingType to transactionRequest

Thnaks for sloving my problem.

I looking for this solution from 1 hrous.

Best face wash for men

Thanks!!

Member
Posts: 1
Registered: ‎09-07-2020

Re: C# add settingType to transactionRequest

I'm also facing the issue, please help me to resolve this issue.

Member
Posts: 1
Registered: ‎02-27-2021

Re: C# add settingType to transactionRequest

So our TFT thing cheat sheet is here so you realize what to search for at some random time. The things utilized will be those toward the start of Set 3 – Galaxies. You can utilize them any time you need when playing the game, https://qnnit.com/ and they incorporate all the details for the essential things.

New Member
Posts: 1
Registered: ‎04-15-2021

Re: C# add settingType to transactionRequest

The Alienware m17 R4 is giving me all the force I can deal with. The Nvidia's new RTX 3080 GPU with its silly 16GB of VRAM tore through each game I tossed at it. Also, the tenth Intel Core i9 processor easily took care of my performing multiple tasks loads. Best laptops review site Furthermore, a straight-up culinary expert's kiss to the presentation's 360Hz invigorate rate that is so smooth it's making infants' butts wherever desirous.