Page MenuHomePhabricator

Year 2 Upgrading active recurring - landing page enhancement, QA confirmation email, TY pages
Closed, ResolvedPublic4 Estimated Story Points

Description

We need to update and QA all elements involved in the upgrading landing page to make it ready for the Year 2 email push to active recurring

  • Landing pages @ehughes started work (doc) and will sync with @Ejegg
  • Confirmation email > needs to be reviewed and tested
  • TY pages need to be reviewed and tested
  • Audiences: @Ejegg there is an open question here about how to segment last year receivers

Brief

Event Timeline

Adding the TY pages here for reference and to be linked as needed:

Yes Upgrade
No Upgrade

Hi @Ejegg - attached is the updated HTML and CSS for the landing page. There are no changes to the error/success/cancel pages or the JS. Let me know if you have any questions :) Thanks!

Hi @Ejegg Sharing that we would need this landing page link updated to share with the email team by March 5 (next week). Please confirm once done so myself or @NNgu-WMF can QA and provide to the email team.
Thanks

Hi @Ejegg - attached is the updated HTML and CSS for the landing page. There are no changes to the error/success/cancel pages or the JS. Let me know if you have any questions :) Thanks!

Hi @ehughes I notice the JS in that package is a very old version. We've made quite a few updates to the recurring upgrade page since we coded it up based on your initial design. Are all the changes to the HTML based on the initial design as well, or based on the current structure?

@ehughes now I see that the new HTML is closer to the variant design we implemented last year. I'll adopt it for the non-variant version.

@MSuijkerbuijk_WMF I have one concern about the change to the 'cancel' button in the new design and text. The current version is a 'Cancel' button which creates an activity in CiviCRM while sending the donor to the 'no' version of the thank you page. If we change it to a simple link and an invitation to "close this page" we're not going to get many of those recorded.

Change #1124195 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Update RecurUpgrade form

https://gerrit.wikimedia.org/r/1124195

Change #1124222 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/dev@master] Remove variant on RecurUpgrade base URL

https://gerrit.wikimedia.org/r/1124222

Hi @Ejegg The 'Close this page' can still go to the original cancel page and create the CiviCRM activity. Thanks for checking

Hi @Ejegg Sorry I wasn't aware of any variant/non variant versions or changes to the JS, the brief I was given was based on what I worked on last year. Please let me know if you need anything else from me :)

Hi @Ejegg @ehughes just a heads up that we would like to have the ability to pass a preSelect amount from an email to this landing page, that could allow us to pre select one of the amounts in the button stack. Let me know if this could be done. The email goes out next week.

Sorry @ehughes, it was my mistake - we had made a 'variant' last year for A/B testing and I was looking at the older code. Since we're not going back to the old version I'll get rid of it and make this new design the default.

@RLopez-WMF that sounds like it shouldn't be too hard. I'll prepare another patch to handle a URL parameter like preSelect=5.

Change #1124467 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Allow preSelect parameter on RecurUpgrade page

https://gerrit.wikimedia.org/r/1124467

Change #1124195 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Update RecurUpgrade form

https://gerrit.wikimedia.org/r/1124195

Change #1124222 merged by Cstone:

[wikimedia/fundraising/dev@master] Remove variant on RecurUpgrade base URL

https://gerrit.wikimedia.org/r/1124222

Change #1124467 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Allow preSelect parameter on RecurUpgrade page

https://gerrit.wikimedia.org/r/1124467

Change #1124505 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Remove nav header for RecurUpgrade page

https://gerrit.wikimedia.org/r/1124505

Change #1124505 abandoned by Ejegg:

[mediawiki/extensions/DonationInterface@master] Remove nav header for RecurUpgrade page

Reason:

can do this in css targeting body.mw-special-RecurUpgrade

https://gerrit.wikimedia.org/r/1124505

Change #1124507 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Remove nav header links for RecurUpgrade

https://gerrit.wikimedia.org/r/1124507

Hey @Ejegg please tag me and share the link once this is implemented so we can start testing it.
One additional question:
Does this upgrade page is ready to handle currencies from the 6C countries?

@RLopez-WMF in theory it should work for multiple currencies, but we have only configured amounts for USD so far. The UI update from @ehughes and the preSelect parameter handling are deployed, and I'm just now deploying a follow-on fix to get rid of the nav links and extra space at the top.

To test, go to the Civi profile of a donor with a single recurring via Adyen and look for the 'Donor Prefs Links' section in the right column, then click on 'Recurring Upgrade'.

If you need to set up a new Adyen recurring contribution, you can do that at https://payments.wikimedia.org/index.php?title=Special:AdyenCheckoutGateway&appeal=JimmyQuote&ffname=adyen&payment_method=cc&recurring=&uselang=en&language=en&currency=USD&amount=1&country=US&utm_source=internal_test&utm_campaign=internal_test

Change #1124507 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Remove nav header links for RecurUpgrade

https://gerrit.wikimedia.org/r/1124507

@Ejegg Just flagging in case there's a bug, I get this error (and I'm an Adyen donor, with U.S. under address) cid=34846954

Screenshot 2025-03-05 at 8.07.38 PM.png (2,784×504 px, 199 KB)

Oops @MSuijkerbuijk_WMF it looks like we didn't upgrade the donor prefs wiki to the same version of MediaWiki as payments during the maintenance week. @Jgreen and I have just upgraded it now and gotten rid of that error.

Hey @Ejegg just to confirm that the multicurrency and preselect is working perfect! Thanks

Ejegg set the point value for this task to 4.
Ejegg set Final Story Points to 4.