How to add paypal to your C# application.

More
10 years 3 weeks ago #123 by ThibmoRozier
To help you out with the donation button:
private void btnDonate_Click(object sender, System.EventArgs e)
{
    string url = "";
 
    string business     = "my@paypalemail.com";  // your paypal email
    string description  = "Donation";            // '%20' represents a space. remember HTML!
    string country      = "AU";                  // AU, US, etc.
    string currency     = "AUD";                 // AUD, USD, etc.
 
    url += "https://www.paypal.com/cgi-bin/webscr" +
        "?cmd=" + "_donations" +
        "&business=" + business +
        "&lc=" + country +
        "&item_name=" + description +
        "&currency_code=" + currency +
        "&bn=" + "PP%2dDonationsBF";
 
    System.Diagnostics.Process.Start(url);
}

Just add a button image and you're done. :)

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago - 6 years 11 months ago #3749 by robertcorey
There are procedures to follow to easily integrate the PayPal payment system into your e-commerce site. Open your Visual Studio, go to the file menu, select New, go to Project, choose ASP.NET MVC application then provide it an appropriate name and click on the OK button. I’ll bookmark your weblog and take a look at once more right here regularly. Custom essay writing service will give you opportunity to spend more free time with friends. Visit https://www.essayguardian.com/
Last edit: 6 years 11 months ago by robertcorey.

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #3750 by ThibmoRozier
And this is called spam.

Please Log in or Create an account to join the conversation.

Moderators: Gamma-Man
Time to create page: 0.194 seconds
Powered by Kunena Forum
Everything's free. Please support us by considering a donation. Log in first!
Solar powered Raspberry Pi 4 server stats: CPU 36% Memory 22% Swap 70% CPU temp=49.6'C Uptime 72 Days