Closed Bug 558411 Opened 14 years ago Closed 14 years ago

Add t-shirt order functionality to donation process

Categories

(Websites Graveyard :: drumbeat.org, defect)

x86
macOS
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mthompson2000, Assigned: pingers)

References

Details

(Whiteboard: Drumbeat beta)

Attachments

(4 files)

* We need to add T-shirt order functionality to the donation process. 
Given the importance of fundraising, this is currently our top priority.

* The process can be modeled after Creative Commons, who also use CiviCRM and Drupal
* They use a one-click donation/T-shirt purchase process hack to CiviCRM using javascript
* see: https://support.creativecommons.org/donate
* When users click on a donation option, there's a pop-up window that asks if they'd like to receive a t-shirt gift with their contribution

* We will provide the design elements we need to add to the main donation page

REQUIREMENTS:
* make sure donate.mozilla.org is working securely and communicating with CiviCRM (see Bug 550438)
* implement the t-shirt addition pop-up functionality
* implement necessary design updates to the CiviCRM Mozilla donation page

TIMELINES:
* If possible, we'd like this to be live, tested and operational by Fri, April 16 (so that we can fit it in before DrupalCon)
* The creative commons developer responsible for implementing their t-shirt order functionality, Nathan Kinkade <nkinkade@creativecommons.org>, has offered to help implement this

* Nathan now has access to Trellon's SVN repo (thanks Mike Priest!) 
* If possible, he'd also like a Drupal account with CiviCRM admin rights.
I have set Nathan up with an admin / devel account at 
http://drumbeat.trellon.org/dbl/
Assignee: nobody → cvertesi
I just created a bug for the design of the donate page
See Also: → 558440
Trellon folks, 
Back in December Trellon designed a donation page in CiviCRM using the Mozillians theme. This is the page that was going to live a donate.mozilla.org. in December using PayPal Pro. If you recall (marc was working with us on this) We'd gotten as far as checking the code for into the MozillaSVN, which was when we discovered the security issue with caching donor information during security review, which required us to alter the page to work with PayPal Standard instead of PayPal pro. We then shifted our attention to the drumbeat bugs and the page was on hold.

This is the page we'd like to add the T-shirt functionality to. 

Long story short here's what we need (Gerv correct me if I'm wrong here):

-Trellon to get us access to that CiviCRM Mozilla donation page so that Ned can make design changes that make Nathan's CiviCRM adaptations work for T-Shirts.

-Once those code and design changes are made and tested we'll need to do a security review to launch the page.
The original themed donation page is https://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1

T-shirt functionality can be previewed at 
https://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3
This uses CiviContribute's "premiums" functionality.
* Have worked with Chelsea to create a mock-up of tweaks required to Michael Priest's t-shirt functionality preview page above.

* Ned Schwartz is working on these now and will attach design deliverables to this bug.

* Mock-up:
https://wiki.mozilla.org/File:Mozilla_donate_page_with_t-shirt_functionality_--_mock-up.003.jpg

* Black blank t-shirt image:
https://wiki.mozilla.org/images/f/ff/Black_tshirt_--_iStock_000009667797.jpg
Two notes on the mock-up:
https://wiki.mozilla.org/File:Mozilla_donate_page_with_t-shirt_functionality_--_mock-up.003.jpg

1) Omit the "vote for the official Mozilla t-shirt" promo. Distracting and unnecessary

2) For the t-shirt size selection, please use:
* "men's / women's radio buttons"
* then a drop down with the five sizes (S M L XL XXL)
Just to clarify:

I think Matt's mock up has enough information for Mike Priest to build out the functionality. I'm not going to deliver any thing in advance. I will just take a css pass at it to "gussy it up" when Mike is done.

So Mike - you can base yourself off of Matt's mock up, but don't waste your time on css - I will take care of that when you've got your changes done
No problem, Martin will finish the functionality tomorrow, i'll ping you in irc to look at css. Then we'll get Chelsea to review and move it up to staging (pending Chelsea's approval).
Mike Priest, Chelsea & Matt just co-ordinated in IRC:

* Agreed that we're going without "pop-up" functionality for now. For speed and simplicity. As per mock-up above. http://bit.ly/cmjOgg

* Steps to completion:

1) Trellon implements remaining changes from mock-up
* Now 70% complete
* Ready for review on dev: Wed, April 14 a.m.

2) Chelsea reviews pages on dev
* Wed, April 14 

3) Push from dev to staging
* Wed, April 14
* Chelsea & Trellon re-test

4) Push from staging to live
* Thurs, April 15 or Friday, April 16, depending on QA
Just to be sure there's no confusion.  The mock-up is a purely HTML page, and not associated with CiviCRM in any way, correct?  If not, it will need to be this way.  This "one-click" process is totally detached from CiviCRM.

Here is some documentation on how the mock-up (and eventually live) page should interact with the "one-click" script.  Basically, the donation page's form will need to submit to the OneClickDonate.php script (GET or POST).  The various available query parameters are detailed at the following URL ... the query params are up to date, but the rest of the document is a bit out of date for the moment:

http://wiki.creativecommons.org/OneClickDonate.php#Usage

Todo for Mozilla Foundation:

1) Add a new CiviCRM premium for the t-shirt.  It's essentially a placeholder, and it will only be viewed internally -- never by the donor, so create it how you like.  We just need the premium ID.  The idea is that the donate page submits the premium database ID to the script.  You can thus have multiple premium options if you wanted.

2) Assuming you want email donation receipt, create a receipt template here:

https://<sitepath>/civicrm/admin/messageTemplates&reset=1

When the donation is processed a receipt in the form of an email will go out to the donor.  You'll need to the database ID of the message template.  If you don't want any receipts going out, then simply don't pass a &receipt= query parameter to OneClickDonate.php
@ Mike Priest:
One small unrelated fix. Please fix the exposed URL in the third paragraph at the bottom of the page:

"(read our [http://www.mozilla.org/foundation/donate_faq.html]Donation  FAQ[/] to find out how to cancel a monthly donation)."
From Nathan Kinkake via IRC, 5:50pm ET:

I see that you've already got a premium for the t-shirt, at least on
the dev site:

http://drumbeat.trellon.org/dbl/civicrm/admin/contribute/managePremiums?action=update&id=1&reset=1

As far as the receipt template, I created a stub one yesterday.
You'll just want to fill it out and customize it.

http://drumbeat.trellon.org/dbl/civicrm/admin/messageTemplates?action=update&id=2&reset=1

I'm going to try to get this all working tonight.  I should also be on
#drumbeat-dev most days.
Questions from Chelsea:

1) Are these pages  currently sending donations to the live paypal site, or to the sandbox? It looks like the live pages (for the right projects even). Just checking before I test my way into poverty :) Once I know this I test the full donation flow.

2) The confirmation page: would implementing Creative Common's one-click script make it possible to bypass this? If not, can we make some themeing changes (in particular the mailing list section)?

3) You're still owed some explanatory text from me for the top areas of each page about the T-Shirts which I'll have later today.
Attached image T-Shirt Large (500x500) —
Here is a better version of the T-shirt to be used int he pop-up
Attached image T-Shirt thumbnail (100x100) —
Here is a better version of the thumbnail of the t-shirt.

It looks like Drupal/image-magic is doing a dodgy job of resizing images - might want to look into what algorithm it is set to use for resizing: Photoshop uses "Bicubic" which works very well in most cases.

In the mean time, this image is going to look a lot better then the current thumbnail.
FIXES TO DONATION PAGES:
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1
http://drumbeat.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3

As per original mock-up
https://wiki.mozilla.org/images/8/8b/Mozilla_donate_page_with_t-shirt_functionality_--_mock-up.003.jpg

Please:

1) Change "Select t-shirt" to "T-shirt options"

2) Update T-shirt image to removed jagged edges and preserver transparency (Ned
Schwartz has provided attached)

3) Add comma to "No, thank you"

4) Add to bottom of "Tax Exempt Status":
"*** The fair market value of the T-shirts is $7.50"

5) Make default text for the size drop-down box: "Size?"

6) For the Drumbeat-themed page:
 http://drumbeat.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3

Please add the same text under the "personal check" as is on the Mozilla-themed
page
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1


Questions?
Please read our Donation FAQ to find answers to common questions. You are also
welcome to send questions to donations@mozilla.org.

Tax Exempt Status

The Mozilla Foundation is a California non-profit corporation exempt from
federal income taxation under IRC 501(c)3. Donations are tax deductible for
U.S. citizens. For donors outside of the United States, please consult with
your tax advisor about whether your donation will be tax deductible.

* Your credit card or PayPal account will be automatically charged each month
(read our Donation FAQ to find out how to cancel a monthly donation).

** The Mozilla Foundation may use any directed donation for other purposes if
the Board of Directors is unable to find suitable activities to fund for a
project, if a project becomes inactive or otherwise becomes ineligible to
receive funds.

*** The fair market value of the T-shirts is $7.50
@Chelsea's comments

1) http://drumbeat.trellon.org/dbl/civicrm/contribute/manage?reset=1
is where you can go to find the "test drive" links to donation forms. id's 1 & 3 are the important forms.

2) Yes it would, but a consequence of doing so is that it is totally bypassing
civicrm recording transactions (using a one-click script). From what I can
gather, Creative Commons rely on polling paypal from the webserver to download
a transaction log and programmatically add said transactions to civicrm.

Another complexity is recording of donations against projects... which would
need to be modified to work with the one-click script.

One more thing is that removing the confirmation means that you can't donate a
user inputted amount.

Can we leave it out in this iteration and look at it again post drupalcon?

3) No problems... easy to add that when it's ready.

@Matt - no problems, I'll look at those fixes now.
Okay, That works for me. So just some themeing to the confirmation page and the changes matt mentioned.
As promised, here is the additional copy for the T-shirt donation pages. This should appear just underneath this section "The Mozilla Foundation is dedicated to promoting openness, innovation, and opportunity on the Internet. If you enjoy using our software and believe in our mission, please consider making a donation." as a second paragraph:

For the Drumbeat website
Make a donation of $100* or more to the Open Web Fund and Mozilla will send you the 2010 Mozilla T-Shirt as thanks for your contribution. The Mozilla 2010 T-Shirt is 100% cotton ,100% community designed and 100% only available to Mozilla donors. 

For the Mozilla website
Make a donation of $100* or more to Mozilla and we'll send you the 2010 Mozilla T-Shirt as thanks for your contribution. The Mozilla 2010 T-Shirt is 100% cotton ,100% community designed and 100% only available to Mozilla donors.
:) Sorry, newer version of the copy :)

For the Drumbeat donation page
Make a donation of $100* or more to the Mozilla Drumbeat Open Web Fund and Mozilla will send you the 2010 Mozilla T-Shirt as thanks for your contribution. The Mozilla 2010 T-Shirt is 100% cotton, 100% community designed and 100% only available to Mozilla donors.

For the Mozilla.org donation page
Make a donation of $100* or more to the Mozilla Drumbeat Open Web Fund Mozilla and we'll send you the 2010 Mozilla T-Shirt as thanks for your contribution. The Mozilla 2010 T-Shirt is 100% cotton ,100% community designed and 100% only available to Mozilla donors.
1) Done.
2) Done.
3) Done.
4) http://drumbeat.trellon.org/dbl/admin/build/block/configure/block/6 is where the text is... Done.
5) Done.
6) Done. Configure blocks - id's 5&6.
Copy added. Let me know if there's anything else and we'll get it to staging for review... ready to go live.
A few points about the confirmation page:

Text at top: Change "Donate to Mozilla Foundation" to "Confirm Your Donation"

Remove blue bars

Opt in to mailing list - if not selected it should not say "Yes, I want to stay in touch with Mozilla", it should just not show up or say "No, I do not want to stay in touch with Mozilla :(",

Can we make these changes and still push to staging today or will they hold us up?
For both pages:
- Still need to change "select T-shirt" to "T-shirt options"

- Please adjust asterisk symbols from "Tax Exempt Status" copy on all pages. Remove asterisks from first two instances, use single asterisk for the third. Like so:

"Your credit card or PayPal account will be automatically charged each month (read our Donation FAQ  to find out how to cancel a monthly donation).

The Mozilla Foundation may use any directed donation for other purposes if the Board of Directors is unable to find suitable activities to fund for a project, if a project becomes inactive or otherwise becomes ineligible to receive funds.

* The fair market value of the T-shirts is $7.50."

FOR THE DRUMBEAT PAGE:
http://drumbeat.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3

* Remove doubled copy from top of page. This copy currently appears twice:

"The Mozilla Foundation is dedicated to promoting openness, innovation, and opportunity on the Internet. If you enjoy using our software and believe in our mission, please consider making a donation."
* For mock-up of changes required to confirmation pages, see:
http://bit.ly/c0sOaA
Tweaks made to confirmation page... ready to review on dev.
On confirmation pages:

* Still need to change "Donate to the Mozilla Foundation" to "Confirm Your Donation"

* Still need to delete copy from confirmation page: "You can make a donation to support the overall efforts of the Mozilla Foundation or you can make a donation to support a specific project. All donations can be made using a credit card, PayPal account or check."

(as per mock-up in comment 28 http://bit.ly/c0sOaA)

* On DRUMBEAT confirmation page, does not appear to confirm T-shirt size selected
the intro text has a number of empty <p> tags that need to be removed.
In the buttons, please replace:

1. the double greater-then signs ">>" with &rarr;
2. the double less-then signs "<<" with &larr;
sorry - disregard Comment 33

please simply remove the "<<" and  ">>"
CSS gussying of drumbeat donation page is checked into trellon's svn.

I am using this bug to track it: https://bugzilla.mozilla.org/show_bug.cgi?id=558440 and have assigned to Michael Haggerty to deploy.
please review donations on staging:
http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3

There is no donate domain configured on staging, so please use dbl to test .... http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=1
@ Michael Priest: 

Chelsea and I have reviewed. All text changes look good.

Next step: Chelsea will do final testing tomorrow am ET and then give you the signal to push to live. Please wait for her approval.

Thanks Mike! :)
Testing now. Shouldn't there be security review before we push to live or was that already covered in the last drumbeat security review?
@ Chelsea: good point. I'll find out and, if required, co-ordinate with Chris Lyon. 

Just to be clear: 
* Is your testing 100% complete? 
* Is there anything else we need from Mike Priest on the development side?

Want to make sure that what we get Chris to review is 100% final, or as close to final as possible.
* Just co-ordinated with Chelsea. Next step: do final testing & QA so we can pass to Chris for security review.

@ Gerv: Can you start QA?
http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=1

@ Mike Priest:
The ball's in our court at this point. So you can leave this one for now and focus on other Drumbeat roadmap work.
@ Mike Priest: I spoke too soon ;)

* We just decided to lower the minimum donation requirement to receive a t-shirt to $75, instead of the current $100

* Can you update page copy and back-end logic accordingly?
Matt: my current internet connection is based on a rapidly-dying phone. I can do QA tomorrow (Wednesday) morning and have a report for you when you get up. Is that OK?

Gerv
@Gerv: Ok, thanks Gerv.
@ Mike Priest:

* For the Drumbeat-themed page, the legal text that is supposed to appear at the bottom of the page is currently missing.
* It appears correctly here:
http://drumbeat.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3
* But not here:
http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3
* Chris Lyon asks:
"What environment are we going to be reviewing? It is unclear which version is ready to go into production. Trellon or our stage environment?"

* There are two different pages. One for drumbeat.org:
 http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3

* Another for mozilla.org:
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=1

* Trellon's Mike Priest has proposed using Trellon's dev environment to test the mozilla.org page (comment 37). Will that work for security review purposes?
Is everything under /civicrm/ in scope for testing? For example, http://drumbeat.stage.mozilla.com/civicrm/ prompts for a username and password. Do we want that to be tested?

Also, is the intention to deploy this over SSL? Granted, paypal handles the actual transaction but we are accepting the money amount and frequency. It looks like drumbeat.org does use HTTPS for the login page at least.
@pingers my sandbox account isn't working. Do I need Martin Hrabovcin's sandbox account to test? Mostly I want to see what happens once a user comes back from PayPal (goes to www.drumbeat.org).
(In reply to comment #48)
> @pingers my sandbox account isn't working. Do I need Martin Hrabovcin's sandbox
> account to test? Mostly I want to see what happens once a user comes back from
> PayPal (goes to www.drumbeat.org).

I'll second that. If there is a test account for PayPal I would also like to use that for security testing (not of paypal, but of our site). Could someone forward that to mcoates@mozilla.com?
(In reply to comment #46)
> * Chris Lyon asks:
> "What environment are we going to be reviewing? It is unclear which version is
> ready to go into production. Trellon or our stage environment?"
> 
> * There are two different pages. One for drumbeat.org:
>  http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3
> 
> * Another for mozilla.org:
> http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=1
> 
> * Trellon's Mike Priest has proposed using Trellon's dev environment to test
> the mozilla.org page (comment 37). Will that work for security review purposes?

Yes, i will use the trellon link for security based testing.
QA is a bit tricky without a spec to test against :-) Do provide further guidance if you want me to do some more directed testing. But here are some thoughts:

http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3 :

- There is a * after $100, but no sign as to what that * refers to. (Looks like this explanation is on the Trellon page, but not the Stage page.)

- Also, there's no explanation that the little red *s mean "mandatory"

- community-designed needs a hyphen

- Do we plan to preselect "yes" or "no" on the t-shirt section? If not, do we plan to prevent submission until the user has selected? We should do one or the other.
  
- IMO, the "No, thank you" should be matched with a "Yes, please" next to the t-shirt. Either that, or the picture should be to the right of the "T-Shirt" text, rather than the left.

- Clicking the t-shirt icon gives a popup, but the image in the popup is no larger than the in-page image.

- How does one receive a t-shirt if one makes a donation with a personal check, as the bottom of the page suggests you can? There is no mention of it on the donate form.

- If you select an amount > $100 and a t-shirt, you get an error: "The premium you have selected requires a minimum contribution of $100.00"

  * Can we change that error to use a nicer and more understandable word/phrase than "the premium", which sounds like something you pay to an insurance company.

  * Can we use JavaScript on the donation page to make this error impossible for people with JS?
  
- I can get a t-shirt if I contribute $100 one-off, but not if I contribute $50 a week for two weeks, or even for 20 weeks. Is this intended?

- Disabled fields look identical to active fields in the current drumbeat.org CSS. So e.g. when you haven't selected the "every N periods" radio button, but try and put a figure in for the number of periods, you can't focus the field and you don't know why. We should change the CSS to distinguish. (This is fine on the skin used on the Trellon page.

- The page does not enforce the selection of a t-shirt size. It should. Not doing so will either mean we disappoint people with the wrong size, or we have to get in touch with them manually. Neither of these things is good.

- If you say you don't want to stay in touch, you get: "No, I do not want to stay in touch with Mozilla :(" on the confirmation page. There are lots of reasons why you might say that, including that you are already very in touch with Mozilla, like me. And the smiley strikes entirely the wrong note. Not entirely sure what a fixed wording would be, though.

- If you click "Continue" on the summary page, go to Paypal, then click Back, the Continue button no longer works :-( This does not seem to be true on the Trellon version.

- If you try and contribute 1,000,000, it says "Contribution amount cannot be greater than 100000.00." Perhaps a better error would be "For contributions above 100,000, please contact the Mozilla Foundation directly." :-))

http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1 :

Most of the above, plus:

- Misplaced space in "100% cotton ,100% community".

Gerv
@Gerv, 

Thanks for all of this. We'll go through it and make those fixes.
@ Mike Priest:
I have sorted through all the comments above with Chelsea and distilled them into this final list of fixes.

For both pages:

* Lower the minimum donation requirement to receive a t-shirt to $75, instead of the current $100. Please update page copy and back-end logic accordingly.

* Add "one-time" to explanatory copy: "Make a one-time donation of $75* or more…"

* "community-designed" requires a hyphen

* Remove frowny face emoticon from confirmation page. "No, I do not want to stay in touch with Mozilla :( "

* For contributions over $75, please force a selection of "yes" or "no" on the t-shirt section. If user does not select, please return error text. "You contribution qualifies you for a free Mozilla t-shirt. Please indicate whether you'd like one."

* Clicking the t-shirt icon gives a popup, but the image in the popup is no
larger than the in-page image. Please use larger image for pop-up (file is attached to bug)

* If you select an amount < $100 (now should be $75) and a t-shirt, you get an error: "The premium
you have selected requires a minimum contribution of $100.00"
* Change the error message to a friendlier-sounding: "The t-shirt you have selected requires a minimum contribution of $75.00"

* If user has clicked radio button indicating they want a shirt, we need to force selection of a t-shirt size.

* If you try and contribute 1,000,000, it says "Contribution amount cannot be
greater than 100000.00." Please change to: "For contributions
above $100,000, please contact the Mozilla Foundation directly."

For the Drumbeat page
http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=

* For the Drumbeat-themed page, the legal text that is supposed to appear at the bottom of the page is currently missing.
It appears correctly here:
http://drumbeat.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=3
But not here:
http://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3

- If you click "Continue" on the summary page, go to Paypal, then click Back,
the Continue button no longer works. This does not seem to be true on the
Trellon version. Fixable?

For the Mozilla.org page:
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1

- Misplaced space in "100% cotton ,100% community".
@ Mike Priest:

* Please also comment on these three bugs from the security review:
Bug 560700  
Bug 560707
Bug 560696
I'll make as many of these changes as possible overnight.
Someone made a spam donation today of $777,777.00 today using the e-mail address of "w" 

I've confirmed in PayPal that it was not process as a real payment (I'll check again tomorrow to see, just in case). 

Should the donation pages require a real e-mail address? since this person was just using the letter w?

Here's the donation data I pulled from Civi:


From
w 
Contribution Type
Campaign Contribution  
Total Amount
$ 77,777.00  
Non-deductible Amount
$ 77,777.00 
Received
April 20th, 2010 
Contribution Status
Pending : Incomplete Transaction 
Paid By Credit Card 
Invoice ID
1abdf3d58581d23fca1129cee180f41e
This doesn't really relate to this feature in particular... it's a CiviCRM issue that's been identified in https://bugzilla.mozilla.org/show_bug.cgi?id=560696

The remaining security issues will be fixed tomorrow and be ready for review in the afternoon, which should allow go-live on tshirts very soon.
Thanks Michael. Please update us in the thread as you go. Marketing is waiting on this and is starting to push back other marketing campaigns because of it.
Mike Priest: update?
We're very close! 

FINAL DEPLOYMENT STEPS:

* Paul files final change requests into this bug

* Trellon makes changes on staging for both pages

* Paul reviews changes and signs off. Tells Trellon to push live.

* Trellon pushes live. 

* QA on live. Chelsea tests live PayPal transaction. Paul also does QA.

* Chelsea tells David Boswell to re-direct the donate.mozilla.org page to the new page

* Done.
See Comment 53, Specifically:

* Remove frowny face emoticon from confirmation page. "No, I do not want to
stay in touch with Mozilla :( "

The frowny is still on the version of the site hosted at http://drumbeat.stage.mozilla.com. This will need to be fixed before we push to live.
See the following link:

http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=1

The sentence:

"The Mozilla 2010 T-Shirt is 100% cotton ,100% community-designed and 100% only available to Mozilla donors."

Has a misplaced comma. Should read:

"The Mozilla 2010 T-Shirt is 100% cotton, 100% community-designed and 100% only available to Mozilla donors."
Updated text @ http://drumbeat.trellon.org/dbl/civicrm/contribute/manage?reset=1&action=update&id=1&subPage=Settings (donate.mozilla.org) & http://drumbeat.trellon.org/dbl/civicrm/contribute/manage?reset=1&action=update&id=1&subPage=Settings (drumbeat)

Also committed in r66908 to staging other changes (frowny face, donations fix and tshirt related changes that needed to hit staging).
Thanks for the update Michael, looks great. 

I've reviewed the changes on stage and it's ready now. Please push to live this during off hours at the earliest opportunity. Closing the bug off.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Awesome! Will push overnight ready for 7th May.
See r66941 - committed to production.

Please test asap.
Hi Michael, unfortunately, there still seem to be some styling problems on the project pages. See the attached screenshots. On the project details tab, the text isn't selectable, and "No project details yet" is output even if there is text. Additionally, the text on the feeds and news tabs is not rendering properly (again, see screenshot). 

We'll need to get this resolved ASAP. Is this something Ned can help out with?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Disregard my last comment! Just realized that the t-shirt functionality was pushed without the project pages problems I'd described. Thanks Michael, we'll test. Re-closing bug.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Great! Now that we're on live, our final steps (as per Comment 60) are:

* QA on live. Chelsea tests live PayPal transaction. Paul also does QA.

* Chelsea tells David Boswell to re-direct the donate.mozilla.org page to the
new page

* Done.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Unfortunately fixing the project pages became really hard - what I could see though was that the donations code in no way was affected by project pages being broken on staging. Hence moving forward pushing code live. We will of course need to follow up with projects on staging - but seeing there's major changes happening there anyway, it's wasted effort.
Update on this process. T-shirts donations are happening on drumbeat.org. Paul has fixed the thank you page issues and the extraneous information in the receipt. 

What are next steps for pushing donate.mozilla.org to be up and running? Do we need to make the same changes that we made for drumbeat?
Question:

What would be involved in adding an address form to this page? I'm finding that while many people have their shipping address associated with their PayPal account, others don't and I'm having to follow up with them individually to get it.

Michael, Paul, can you let me know if this would be a complicated thing to add at this point or should it wait until round two of donation page work?
Just to ensure we're clear on next steps, we need to:

1) Push donate.mozilla.org to live
* next steps? ETA?

2) Add shipping address field(s) to i) drumbeat donate page and ii) donate.mozilla.org
* This field should be required for users who select "yes" to the t-shirt option
* Need estimate on how long this will take. So we can prioritize with Drumbeat.org beta work
Assignee: cvertesi → paul
@ Mike Priest:

* Paul Osman is mostly unavailable today, so have assigned this bug to you for today

* Can you comment here?
Assignee: paul → pingers
I suggest opening a different bug for the address issue; this one's already long enough :-)

Gerv
1) Okay, I saw Paul was discussing briefly in IRC. So last time donate was pointed at civicrm it killed the site, so let's make sure we have a fallback in place, but things should hold up better this time around.

Let's do some load testing on the donation page and see if it's going to hold up against expected load. How much traffic is donate seeing now?

2) I think we can add this using civicrm profile attached to premium or just the donate page. In either case, this isn't a huge time suck. Estimate is 3 hours to record address in civicrm against the donor and provide validation rule. I'll confirm the estimate Monday after investigation.
1) My understanding is that last time we linked Google Snippets directly to donate.mozilla.org, which was what killed the site, correct? I definitely wouldn't want to re-do that... but we could point donate.mozilla.org at civicrm and then link it from mozilla.org, which is similar to what we currently do here:

http://www.mozilla.org/foundation/openwebfund/

Not sure of how much traffic that site is seeing at the moment. 

2) Thanks for the estimate Michael. Let us know what you find on Monday.
Re comment #79, I would expect about 10k - 20k visits a day for the Open Web Fund page on www.mozilla.org for the next several days.
Paul & Mike: What's the status and next steps here?
Sent the following email to Michael Priest, posting here for others:

Hi Michael,

I'm trying to put together the steps that need to be taken to get the
latest round of changes to the donations page pushed to live. This is
the stuff discussed in #558411:

https://bugzilla.mozilla.org/show_bug.cgi?id=558411

I know that Chelsea had requested adding an address form to the
page. I belive you estimated 3 hours, have you put any time against
that yet? Our priorities right now are:

1) Push the donations changes to live
2) Include address form if it's not a major blocker

Can you let me know what we're missing and when we can get this done?
If you need anything from me, please let me or Matt know.

We also need to figure out how to fix staging, with the performance
problems associated with the planet drumbeat feed, but if that's not
related to any of the donations changes, it's definitely 2nd priority
@ Mike Priest: if disabling the planet Drumbeat feed makes it easier to fix this bug, please do so.
Note: This bug takes priority over all Drumbeat work.
Severity: critical → blocker
Question: What server will mozilla.donate.org live on?
As per comment 82, our top priority today, superseding all Drumbeat work:

1) Push the donations changes to live
2) Include mailing address fields if they're not a major blocker

ETA for having these done? Thanks!
The Drumbeat Planet query shouldn't be an issue. There's a caching strategy, so the query won't run very often. The block is cached for the web ui(block cache) and the query is cached for the rss feed(views cache).

The address form is possible using civicrm profile attached to the form. Not a huge blocker and 3 hours should cover it. Will have it up for review on drumbeat.trellon.org in an hour or so.

What issues are remaining to go live for Tshirts? The receipt changes - anything else? I can't see anything (other than address).
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=3

1) "Email address" should be "E-mail address"

2) Remove text "(Primary)" from address fields

3) Remove field "Postal Code Suffix (Primary)"

4) Change "State" to "State / Province"

5) Update t-shirt image. Image file to come.
Sure thing - these are how they come out of civicrm by default... Just need to alter them in code.
When t-shirt is selected, make the mailing address fields mandatory. So we know where to ship it.

The following fields should be mandatory for t-shirt delivery:

* Street Address
* City	
* Country
* First Name	
* Last Name
I've committed work in progress to dev.
* QAing now. Looks good so far. 
* Still need to update t-shirt image.
Whiteboard: Drumbeat beta
* Unable to continue QA because of fatal exception error on dev (detail below)
* From what I was able to QA, it looks like the only remaining task is to update the t-shirt image
* Mike Priest says he's unavailable to resume work until 1pm ET today


Fatal error: Call to undefined method stdClass::getName() in /ebs/vhosts/dev.trellon.org/httpdocs/mozcrm/crm/sites/all/modules/civicrm/packages/HTML/QuickForm.php on line 1693
This has since been resolved.

T-shirt image is also up on dev and staging.
@ Mike Priest:

1) Please add mailing address fields from mozilla.org 
http://donate.trellon.org/dbl/civicrm/contribute/transact?reset=1&id=1&reset=1&id=3

to the Drumbeat version
http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=3

2) Please update the top part of the Drumbeat donate page using the same layout as the changes you made on the mozilla.org version?
@Mike Priest, is this just a matter of pushing changes from dev to staging and then to production? If so, can we go ahead and merge the associated changesets?
I'll get this pushed to staging today and production overnight.
Pushed to staging. Please review and we can go live with address.

https://drumbeat.stage.mozilla.com/civicrm/contribute/transact?reset=1&id=3
Assignee: pingers → mthompson2000
*Country is set for United States
*Postal Code should be Postal Code Suffix
I've spent some time with the address form and everything else looks good.. just the two issues Chelsea notes in Comment 98. 

Michael, could you address these two issues, re-push to stage and update this thread when we're ready to test again?
Assignee: mthompson2000 → pingers
Updated settings in civicrm. Please re-test.
Assignee: pingers → mthompson2000
Tested. Issues in comment 98 resolved. 

Please push to live.
See http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=3 has the profile fields for the address collection,  but we're waiting on live codebase to update before address validation starts working.

See r67728
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Some T-shirt donations are coming through without address forms filled out. All are coming through with first and last name, but only one so far with the rest of the required fields filled in. 

These are the required fields:

* Street Address
* City    
* Country
* First Name    
* Last Name
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I'm assuming that we went live with the donations page.  That being the case, which of the following URLs is correct?  Is there any reason we have the 3 different sites public? Do we need the reset and id arguments at all?

http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=1
http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=2
http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=3
http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=3

is the live page that drumbeat.org points to. I have no idea why the other two are live. They should not be.
Assignee: mthompson2000 → pingers
Probably relics from development. Each refers to a separate CiviCRM 'Contribution'. I assume these are safe to delete. Michael Priest, can you confirm?
@Michael Coates: I've disabled id 2 donate form. This is purely a test and shouldn't be live https://www.drumbeat.org/civicrm/contribute/manage?action=disable&id=2

Id 1 form is for the differently themed donate.mozilla.org donation url. Id 3 is for the drumbeat donation page.

See http://donate.trellon.org/dbl/civicrm/contribute/manage?action=disable&id=1

Under perfect circumstances, the id 3 donate form would only ever be accessed from drumbeat projects and id 1 from donate.mozilla.org
@Michael Priest: thanks. The big priority right now is to figure out why those fields are being stripped / not populated in the first place by emails Chelsea is receiving.
We've adjusted some permissions - can you verify if this is now working?
@ Paul: can we close this one?
@ Paul: marking this one "resolved". Please re-open if I'm wrong.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: