Skip to content

Comments

Add donate to D Language foundation page#1523

Merged
andralex merged 2 commits intodlang:masterfrom
wilzbach:add-donate
Dec 17, 2016
Merged

Add donate to D Language foundation page#1523
andralex merged 2 commits intodlang:masterfrom
wilzbach:add-donate

Conversation

@wilzbach
Copy link
Contributor

I gave it a try ;-)

donate.dd Outdated

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="6DV3SYW3A5ZPG" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This id needs to be updated
@andralex - could you please go at
https://www.paypal.com/buttons/paymentbuttons/donate/create and generate such a button?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. There are a few more pages:

  • Return URL (after the donation is made
  • Canceled checkout URL
  • Return to Merchant Link
  • URL for IPN messaging - no idea what that is

For now I didn't customize any of these. I got this code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="K8PLNUP7276BQ" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>

and the following url: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K8PLNUP7276BQ

donate.dd Outdated
open source technology related to the D programming language.
)

The D Language foundation:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capital F

$(UL
$(LI holds and defends the copyright and other intellectual property rights for the D programming language.)
$(LI provides resources for furthering the development and adoption of the D programming language.)
$(LI awards $(LINK2 http://dlang.org/blog/2016/12/05/the-d-language-foundations-scholarship-program, scholarships)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use HTTP?

(sorry couldn't resist :))

donate.dd Outdated
$(LI provides resources for furthering the development and adoption of the D programming language.)
$(LI awards $(LINK2 http://dlang.org/blog/2016/12/05/the-d-language-foundations-scholarship-program, scholarships)
to highly skilled students.)
$(LI organizes the yearly $(HTTP dconf.org, D conference).)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GAAAAAAA!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/D conference/DConf, the international annual conference of D language developers and users/

donate.dd Outdated
$(D_S $(TITLE),

$(H4 The $(LINK2 $(ROOT_DIR)foundation.html, D Language Foundation) is an organization devoted to advancing
open source technology related to the D programming language.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this text: The Foundation is a $(HTTPS en.wikipedia.org/wiki/501(c)_organization, 501(c) non-profit public charity) registered in the state of Washington, USA.


$(P For US taxpayers, contributions to the D Language Foundation are tax-deductible.
The D Language Foundation has been recognized as a public charity under section 501(c)(3) of the Internal Revenue Code.
You should consult your tax adviser for rules as they apply to your situation.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see you do have this now. You may want to move the public charity part up the page. Leave here: For US taxpayers, contributions to the D Language Foundation are tax-deductible. You should consult your tax adviser for rules as they apply to your situation.

@wilzbach
Copy link
Contributor Author

wilzbach commented Dec 15, 2016

@andralex - could you please go at
https://www.paypal.com/buttons/paymentbuttons/donate/create and generate such a button?
OK. There are a few more pages:
[..]
For now I didn't customize any of these. I got this code:

So I just tested the button and I think it would be nice if we enable the message box:

image

It could be sth. like "Your message to the D Foundation".

@andralex
Copy link
Member

OK, here's the code:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="FDEUVLD5MB44G" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/

and the link:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FDEUVLD5MB44G

I see every test is costing you $5 :)

@andralex
Copy link
Member

I also eliminated the credit card logos to make it more discreet

foundation.dd Outdated
open source technology related to the D programming language.
$(H4 The D Language Foundation is a
$(HTTPS en.wikipedia.org/wiki/501(c)_organization, 501(c) non-profit public charity)
organization devoted to advancing open source technology
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"organization" not needed anymore

@wilzbach
Copy link
Contributor Author

wilzbach commented Dec 17, 2016

OK, here's the code:

Thanks! Btw I think it's also possible to edit existing buttons.

Here's how it looks for a donor:

2016-12-17-18 02 48

image

image

Generated email:

image

Maybe we can put an address into the PayPal account, s.t. the automatically generated receipt & email has one?

foundation.dd Outdated
$(BR)
Kirkland, WA 98034-4900
$(BR)
)
Copy link
Contributor Author

@wilzbach wilzbach Dec 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It took me 30 seconds to find @WalterBright's address (edit: removed link)

So I assume it's okay to put it here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He asked to not make it even easier, so please remove. cc @WalterBright

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it seems that I didn't get the mail - I have rebased the PR, s.t. it's not included in the history.

@andralex
Copy link
Member

nice!

@andralex andralex merged commit 81ab25d into dlang:master Dec 17, 2016
@wilzbach wilzbach deleted the add-donate branch December 13, 2017 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants