cancel
Showing results for 
Search instead for 
Did you mean: 

Get value of City in Accept.js C#

The Accept.js has an inline form for entering Credit card data.

On that web page, I have several hidden fields. Example city='Dallas"

After entering credit card data, Authorize.net sends the response to 

my Csharp web page.

In the C# Page_Load, I can do 

 

            string strCity = Request.Form["city"];

I get a value for strCity. That is good.

 

I call        CreateAnAcceptPaymentTransaction

 

Inside that procedure,I cannot get values.  I would like something like:

 

                string strCity = Request.Form["city"];
                var billingAddress = new customerAddressType
                {
                    firstName = "John",
                    lastName = "Doe",
                    address = "123 My St",
                    city = strCity,
                    zip = "98004"
                };

I am new to this Authorize.net

 

How can I get the values from the "form" and put in these fields ?

 

TIA

 

Steve2301

 

steve2301
Contributor
4 REPLIES 4

SOLVED

                    city = HttpContext.Current.Request["city"]
steve2301
Contributor

thats for solving, it helped alot

 

IDNGOAL

IDN GOAL

ITS WORK....

thanks dude....

 

9horses

Situs Slot Terbaru

9horses
Member

Thanks For This Infromation. It''s Help us to fix the problem. Once Again thanks. 

Regards

Mencobadunia

 

Please also visit our site. To get more information

id88

w88

murniqq

situs online terbaik dan juga terpercaya. dan karena hal itulah. maka permainan yang terbaik dan terpercaya.
[URL=http://hl8indo.site/]hl8[/URL]
hl8indo225
Member