c# add a PayPal donate button in application
c#, paypal
Solution
I found solution on that site : http://www.gorancic.com/blog/net/c-paypal-donate-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 +
"¤cy_code=" + currency +
"&bn=" + "PP%2dDonationsBF";
System.Diagnostics.Process.Start(url);
}
Problem
I want to add PayPal Donate button to my application, but I don't know how. I tried to search in google and on PayPal site, but I didn't found a solution. Do you have any suggestions ?