Reply
Contributor
Posts: 15
Registered: ‎06-11-2020

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

 

Contributor
Posts: 15
Registered: ‎06-11-2020

Re: Get value of City in Accept.js C#

SOLVED

                    city = HttpContext.Current.Request["city"]
Member
Posts: 3
Registered: ‎06-11-2019

Re: Get value of City in Accept.js C#

thats for solving, it helped alot

 

IDNGOAL

IDN GOAL

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

Re: Get value of City in Accept.js C#

ITS WORK....

thanks dude....

 

9horses

Situs Slot Terbaru

Member
Posts: 1
Registered: ‎06-09-2019

Re: Get value of City in Accept.js C#

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]