User Details
- User Since
- Oct 16 2017, 5:45 PM (474 w, 3 h)
- Availability
- Available
- IRC Nick
- jgleeson
- LDAP User
- Unknown
- MediaWiki User
- JGleeson (WMF) [ Global Accounts ]
Today
Thu, Oct 29
To enable testing, I added all of our SSH tunnelling addresses to the sandbox equivalent of T442923: Braintree PayPal: Add Return URL to "PayPal Domain Names"
Zero-click flow (for donors who already chose PayPal in a banner or email)
Manual-click flow (for donors who arrive on ComboWiki directly)
Wed, Oct 28
This is simpler than I thought. The two PayPal scripts in braintree-web don't clash: the v5 file (paypal-checkout.min.js) defines braintree.paypalCheckout and the v6 file (paypal-checkout-v6.min.js) defines braintree.paypalCheckoutV6. The problem was only that both forms read the same paypalScript setting.
Tue, Oct 27
I confirmed that Braintree PayPal supports a zero-click flow for donors who already chose PayPal via a banner or email. With the latest Braintree PayPal JS SDK, ComboWiki can start a billing agreement session with a redirect on page load, so donors go straight to PayPal without clicking our PayPal button.
Mon, Oct 26
Thanks, @AnnWF. Should we be bold and move straight to the latest version?
Thu, Oct 22
Status update on plan A: the server-side work is done and in review. The patches are in this order:
Wed, Oct 21
useful diagram
@Wfan, I need to get something working out on T441890: ComboWiki: Multi-Gateway Support ticket before we add Braintree, so these tickets and the PayPal one I was working on are blocked for now.
T441890 ComboWiki: MultiGateway Support: Plan C (ComboWiki calls SmashPig directly, both on page load and for payments. ComboWiki does not use the legacy GatewayAdapters.)
T441890 ComboWiki: MultiGateway Support: Plan B 9No gateway adapters on ComboWiki page load; use them only after the donor submits)
T441890 ComboWiki: MultiGateway Support: Plan A (Build one legacy gateway adapter for each gateway on the ComboWiki special page.)
Tue, Oct 20
I'll merge the other task here. Thanks!
Mon, Oct 19
Oct 16 2026
Thanks for this update. I just realised we also need to update the README, tests, and sample file, so I'll push up a small follow-up patch now.
Oct 15 2026
Progress update: the card form on ComboWiki now checks each field and shows errors under each field, following the Codex form guidance. Formats are checked when the donor leaves a field, required fields when they click Donate, and an error clears as soon as the field is edited. The Donate button is no longer disabled. Instead, a summary appears above it and the first field with an error gets focus. Demo: F108600994
Oct 13 2026
@Laurabarluzzi The work I'm doing in T439286: Field validation for combowiki touches the same form components. Could we hold off on restructuring the payment method forms until that's in? I have a WIP patch here
After reading https://doc.wikimedia.org/codex/main/style-guide/constructing-forms.html#validation and https://doc.wikimedia.org/codex/main/style-guide/using-links-and-buttons.html#group-of-buttons, I'm considering removing the submit button's disabled-by-default state and relying on on-submit validation, which aligns with Codex recommendations.
Oct 12 2026
Oct 8 2026
Queues are now back on - mostly ok apart from one error
civi1002 queues have been paused to avoid failmails
Oct 7 2026
How to test locally. In fundraising-dev, check out the DonationInterface change (git review -d 1352252), make sure Special:DonateGatewayResult is in $wgWhitelistRead (it is after https://gerrit.wikimedia.org/r/1347613), and keep an eye on logs/payments-syslog and the Redis queues. Start each test on https://localhost:9001/index.php?title=Special:Donate&country=US¤cy=USD&uselang=en, ideally in a fresh private window, and pay by card with the Adyen 3DS test card: Amex 3714 4963 5398 431, expiry 03/2030, CVC 7373. On the challenge page, enter password to pass it, or anything else to fail it. All of these were run with Gravy using the Adyen card connector.
Following on from my last comment, the rename to Special:Donate and Special:DonateGatewayResult is merged, and the change that sends donors back to Special:Donate after a 3DS return is up as a WIP: https://gerrit.wikimedia.org/r/1352252
