OP Wrote:
when user click donate button in may page it connects to the paypal website and when the user complete the transaction i want it back to my website?
You should include the return page in the redirection page itself.
Before redirecting to payment gateway,some mandatory fields are passed from the website to the payment gateway which includes return page.After transaction ,the return page will be called automatically by the gateway system.
Better contact a Payment gateway service provider.In this case, they know more than us
You have to take
Griff's answer[
^] seriously .
Refer here to get an idea:
Introduction to PayPal for C# - ASP.NET developers[
^]
PayPal Gateway Integration in ASP.NET[
^]
Use of the PayPal payment system in ASP.NET[
^]
and see this too:
payment gateway in MVC .net project[
^]