Instead of linking to a donations form on drumbeat.org for T-shirt donations, we need a functioning form on mozilla.org that we can send traffic to. The form needs to have all of the input fields currently on: http://www.drumbeat.org/civicrm/contribute/transact?reset=1&id=3 but will be hosted on: http://www.mozilla.org/foundation/openwebfund/ Additionally, we need to accept PayPal IPN notifications which will send email to Chelsea with address / donation information. See also Bug 570191.
This has been implemented, however there are sporadic problems with session data disappearing. Because of the way we are presenting data to the user (one-time payments or multiple installments, etc) we have to process the form, store the data in the session and then redirect the user to a confirmation page before they are sent to paypal (the actual form that submits to paypal is constructed on the confirmation page). For whatever reason, form data is disappearing sporadically. This could be because PHP does not have time to write session data to disk before the user-agent is redirected, but that doesn't seem to make much sense (the Location header is sent in the same response as the set-cookie, and storing the session data happens on the server). This is only happening on production, not any development environments (which leads me to believe it's related to load / traffic). Anyway, I'm going to implement a quick fix that cuts off some of the form functionality, submitting straight to paypal (one-time payments only) which will obviate the need to use sessions.
This is done and live at: http://www.mozilla.org/foundation/openwebfund/ Modified implementation to use one PHP script instead of multiple pages that use session data to track state.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.