It Be Possible To Conduct Sandbox Testing Using Both Direct Payment And Express Checkout
Feb 9, 2010
me developing a shopping site .. m done with shopping cart upto Shipping info. now i want to do the payment part. how to integrate paypal website pro in my website. Do i have to purchase it first in any case or would it be possible to conduct sandbox testing using both direct payment and express checkout ? Also what would be the minimum set of pages that would be needed to carry out this task on my end.
I have got a new assignment for developping an e-commerce website. I need to accept online payment via all the common cards (Visa, MasterCard, etc). But am confuded about how I should implement it. I want to add direct payment with credit card to the website without passing by paypal.
P.S.: The website is targeted for UK customers only. Technology:ASP.NET, C#
I am using Paypal with two checkout process on the cart page.
1.) First checkout process which is using the Paypal API for transcation and it take the payment option and done payment from the site itself.
2.) Second checkout process which takes all the details and redirect to the Paypal site using this [URL]
and do the payment and return back to the site. Now i have to integrate Paypal Express Checkout on my this site,so for which option i have to apply it and how to do it.
Right off the bat, I hit a wall with the default test added by VS 2010. I forget the exact error now, but it was saying that the tests weren't executed... something about the server. Before I sounds too stupid, the "fix" was to remove the web attributes on the test, causing my tests to NOT need to run through the web server. At this point I have a number of simple, but relevant controller tests up and running.
QUESTION #1.Is it commonplace to run unit tests throught the web server. I have a hard time envisioning that taking place on the build server once I port this solution. It feels much quicker and cleaner to run them directly against the code.
QUESTION #2.I have a security helper class that simply checks to see if the authenticated user is a member of the required Active Directory group before allowing them to perform updates in the application.
I wanted to test it, but the helper uses the HttpContext.Current instance.Should I require this test to run through the web server, or should I change it to accept the context as an argument and mock that context for the unit test? I've installed MOQ, but haven't started the learning process with it yet.
I am testing with windows authentication and a local express DB. My DB has users and roles tables. Following link explains this concept:[URL]
Code:
[HandleError] public class HomeController : Controller { public ActionResult Index() { return View(); } [Authorize(Roles = "Managers")] public ActionResult CompanySecrets() { return View(); } [Authorize(Users="redmond\swalther")] public ActionResult StephenSecrets() { return View(); } }
Above roles are coming from NTLM. Is there a way where i can map roles in my DB table so that these are then available to me like User.IsInRoles("Admin") etc?
I don't have web server account yet so I must test my applications with the Web Development Server under VS 2010 with C# but I read that I couldn't send emails under that server but I also read that I can send email with IIS7 Express and that's the main reason why I've install Webmatrix. Maybe someone can confirm this. So for the moment I am redirecting my emails into a local folder and it is working perfectly. Here is part of the code I've add to the Web.Config for doing that.
[Code]....
As you can see I am redirecting the emails to the D: emp
[Code]....
What are the values of username & password. or others when we use the Webmatrix server and how can I fint hem? It was hell posting this text I think the inserted code was interfering with the HTML of the message or there are bugs in the editor,
We need to integrate creditcard/paypal payment process using paypal gateway in our asp.net web application.The process goes like this:User picks item in our Web site User fills out order info and goes to our payment option page User selects PayPal as payment User gets PayPal payment process in our site (without payment gatway redirection)nally we need to confirm to PayPal that we want to process this order and PayPal confirms to us that the order went through.
have developed a payment processing form where user fills the payment details and submit the button "Pay Now" what i want is to block the entire UI with the message "Processing Payment..." and with a slight delay right after payment processing stored procedure executes (in code behind) it should UNBLOCK the UI. Actually i was having multiple postbacks from user due to the slight delay ...I dont want to disable button. how to achieve this.
I want to conduct a quiz using silverlight. This quiz contains few questions and each question will have multiple choices (Radio Buttons). User should select one answer. After completing the quiz I need to display Result.
Is it better to provide the questions and options in XML Document and then retrieve it into silverlight class?
I need to design a website for a programming competition event. It will be similar to TOP CODER competitions. User will be given all questions & then user submits the code, that will be running on the server and checks if it gives the correct solution or not. The first one to finish all the questions is the winner.
I've no clue about how to proceed. Assume that languages that are supported are C, C++, Java.
I'm a winform/silverlight developer my asp.net skills are very poor.I've got a task to make a kind of popup with the code of conduct that users need to accept before they can continue.I have no idea how to do it so I googled some and found this javascript popup called lytebox which I actually managed to get to workproblems i have with it are:1. you can click next to the box and it closes too2. i want a yes/no button but the lytbox only has option for close/next/previous3. I dont know how to make it pop without user action (like clicking on a link:p)anyway this is not a must . if anyone can give me some good tips or guides or example how i can do this i'd be happy!
Recently for a class to implement unit test for one of its private methods I used PrivateObject by creating private accessor instead of refelection, to which i received a code review comment as below
"My main concern with Private Object is the use of object[] in constructor. It replaces strong typing enforced by compiler with JavaScript-style run-time error detection.Consequently , personally, I would not recommend it."
Comments above confused me beacuse as per my understanding reflection also needs the object[] to invoke any method.
am working as a web developer in a company. I am not aware of anything related to testing. Our company is planning to buy some testing softwares. Presently we are working on ASP.NET. We will be working on PHP and JAVA in future. I need your help to find out the best but cost effective testing sofwares.on TFS and Visual Studio Testing tool.
I'm currently building a .net web application that uses WCF web services to allow a Flex front end to access the database.
I'm in the process of setting up some unit/integration style testing on the web services and am trying to work out the best way to allow the tests to access and modify data in a separate test database.
Currently, the connection string in my unit test project points to my testing database, and the connection string in my web services project points to my development database. However, as I am using Linq it appears that when I call the web service methods from my test class, it uses the development database connection string. I have looked into creating mock objects or in-memory database but I believe the same issue would occur.
Is there a way to get this to work, or is my entire idea about what I want incorrect, in which case is there a better way to set this up?
How to implement google checkout with C# and asp.net using any of the methods. I have implemented the Gcheckout.dll and "buy now" button method. but these methods do not have any return url thing. is there any other method to implement google checkout and is there any web service method which can be used to do the same.
I want that after payment at google checkout, google checkout should auto redirect to my site from where payment process has started.
I would like to create a sandbox area on my hosting provider that only the client can see. For example the production website would be at www.domain.com. However, would it be possible to create a sandbox version of the website at www.domain.com/sandbox and only provide access to the client?
If so, what is the best method? Do I manually have to create a login page etc in the sandbox folder? Or, can I publish the test website in the sandbox area and restrict access through my hosting provider?
i go to my merchand sandbox account and create a simple buy it now button.I stick the code in an aspx page.Ignoring any warnings, form problems etc etc.So when i try to pay it just tells me to log in to the site and nothing happens.And the reason i get mad is because when i try it with a paypal button it works and send me to paypal with the amount written above.I tried when logged in on sandbox, i tried when logged in on sandbox and logged in as a seller.I tried i tried i tried