-
Forum
-
General chat
-
Off topic forum
-
Paypal donation button
Paypal donation button
Less
More
-
Posts: 202
-
Thank you received: 34
-
-
-
-
-
10 years 2 weeks ago #162
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 +
"¤cy_code=" + currency +
"&bn=" + "PP%2dDonationsBF";
System.Diagnostics.Process.Start(url);
}
Just add a button image and you're done.
//Edit: Got it from
http://www.gorancic.com/blog/net/c-paypal-donate-button
Please Log in or Create an account to join the conversation.
-
Forum
-
General chat
-
Off topic forum
-
Paypal donation button
Time to create page: 0.146 seconds
Solar powered Raspberry Pi 4 server stats: CPU 40% Memory 22% Swap 70% CPU temp=51.1'C Uptime 72 Days