publicstaticvoid RedirectAndPOST(Page page, string destinationUrl, NameValueCollection data)
//Prepare the Posting formstring strForm = PreparePOSTForm(destinationUrl, data);
//Add a literal control the specified page holding the Post Form, this is to submit the Posting form with the request.
i am interested to know is there any web service paypal offer as a result we can use that and we can pass user and cart data to paypal by calling their web service as a result we can stay in our web site page and do not have to push user to paypal page.
basically i am looking for a way to pass information from my web site to paypal web site internally or silently by using their web service. so just redirect me to relevant paypal page or article which guide me how to use paypal web service if any exist.
Yes, you can definitely do this. I recently did a fairly complex checkout process involving initial charges and setting up recurring payments (subscriptions) while hosting all pages and using API calls. Check out PayPal Payments Pro .
However, IIRC, this is available only in the US, Canada, and UK.
I develop an ASP.Net Web Application (Classic) .Net-framework 4.0 and every thing ok, but when publish the application on IIS and open the login page some and click the login button this error shown some times:
"could not load file or assembly system.windows., Version 220.127.116.11, Culture=netural, PublicKeyTocken=7cec85d7bea7798e or one of its dependencies. The system cannot find the file specified"
Please let me know hot to solve it and what is the reason?
Check the application pool in IIS, it will be pointing toward .net 2 framework pool. If you already have application pool with .net 4 framework associate it else you have to create a pool for .net 4 and then associate it.
Can you describe the issue cause to me, i need to solve it and work on framework 4.0 and I can't upgrade to framework greater than 4.0 because I use a third party tools which work only on framework 4.0.
If we solve it this will good, otherwise we need to upgrade all used tools.
It's for your unit tests, it shows you how much of the code you are executing during your tests, and which bits of code are not being tested which allows you to expand your tests in order to ensure you test everything.