Page MenuHomePhabricator

No support of required debit mandate for SEPA
Closed, ResolvedPublic

Description

DR is getting complaints from donors that we are not performing the necessary mandate in our checkout flow for SEPA direct debit. Adyen was to perform the mandate portion for us and we were to receive notice of this to pass on to the donor in the checkout flow, which doesn't appear to be happening. Here is the Slack conversation about this https://wikimedia.slack.com/archives/C045WH0QYS2/p1747792734166809

We need to revisit the implementation of SEPA as we are currently out of compliance and DR is getting complaints from donors. Can this be rectified by exposing the webhook Adyen states they are sending back to us or do we need to remove SEPA until this is resolved.

Thanks

Details

Related Changes in Gerrit:
SubjectRepoBranchLines +/-
mediawiki/extensions/DonationInterfacemaster+4 -1
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -3
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+3 -0
mediawiki/extensions/DonationInterfacemaster+1 -2
mediawiki/extensions/DonationInterfacemaster+24 -1
Show related patches Customize query in gerrit

Event Timeline

Hi @EMartin @krobinson,

I looked into this and here's what I found.

Mandate webhook notifications
It appears we were not receiving the mandate-related webhook notifications. I checked the logs for last month and couldn’t find any of the expected fields mentioned in Adyen's message.

Webhook configuration in Adyen
I logged into the Adyen console and reviewed our webhook settings. There’s an option called "Include Mandate Details" in the list of webhook options, and it was disabled.
I’ve now enabled it and saved the change. Hopefully, this will start sending us the mandate data we need.

Limitations
This webhook should help us record that a mandate was set up, but it doesn't solve the issue of showing mandate details on the thank you page.
For that, we need the mandate information to be available during the donor's payment session, but the webhook is a separate event that usually arrives a few minutes after the donation is made.

Next steps
We’ll need to inspect the response data we currently receive from Adyen at the time of donation for mandate-related payments. If that data is not included in the initial response, we may need to reach out to Adyen to request access to it if we need to show it on the thank you page.

Hope that helps!

Screenshot from 2025-05-21 17-46-03.png (946×1 px, 141 KB)

Thanks @EMartin - do we need to include Adyen here? If so, we may need to explain who Adyen is on the form otherwise it may raise security concerns.

Does this copy need to change if they have clicked 'monthly'? We probably need to specify that too.

I've made some suggested updates below:

Suggest for one time:
"By clicking Donate you authorise the Wikimedia Foundation and its payment processor, Adyen, to debit your account via SEPA. You can cancel within 8 weeks." (suggested removing direct debit in case people believe that means its monthly, unless we need it)

Suggest for monthly:
"By clicking Donate you authorise the Wikimedia Foundation and its payment processor, Adyen, to debit your account via SEPA Direct Debit each month. You can cancel within 8 weeks."

@jgleeson let me know if we need translations - we can do some of them in house.

cc @CDenes_WMF too for those as @TomaszGorski is out.

Change #1149411 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] WIP: Add SEPA mandate notice to SEPA forms

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

Hello everyone,

I can get the translations of the two sentences for all European Languages in which we have our Thank you receipts by end of next week (May 30th).

Dutch, French and Italian are already translated.

You will find all the translations in this Google Document.

Best, Tom

Thanks all. I'll proceed with this update and add the variation for one-time payments. We can add in any translations next week, thanks @TomaszGorski !

Just noting that we'll need a version for annual payments too

Good catch @Pcoombe!
Suggest the same copy as monthly but swapping out 'each month' to 'each year':

"By clicking Donate you authorise the Wikimedia Foundation and its payment processor, Adyen, to debit your account via SEPA Direct Debit each year. You can cancel within 8 weeks."

Thanks @Pcoombe. This is a good case of a quick fix turning into a three-variant, multilingual, not-so-quick, but still quick-ish fix 😄

Change #1149697 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Mustache tweak: use new is_yearly flag

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

I've pushed up a patch adding the following three mandate messages to the forms:

One-time:

Screenshot from 2025-05-23 16-52-09.png (657×574 px, 41 KB)

Monthly:
Screenshot from 2025-05-23 16-52-21.png (673×579 px, 46 KB)

Yearly:
Screenshot from 2025-05-23 16-52-33.png (673×579 px, 45 KB)

Thank you Peter! Noted, it's available in 3 variants for the already translated languages and will be available for the other ones end of next week.

Hi @krobinson, @EMartin,

I'm currently adding the SEPA mandate translations that @TomaszGorski provided. As I was reviewing them, I spotted something I wanted to clarify.

The French text for the one-time SEPA donation includes the phrase "Vous avez 8 semaines pour annuler si vous changez d'avis" (You have 8 weeks to cancel if you change your mind), similar to the recurring mandates.

Could you please confirm whether this cancellation period applies to a single, one-time SEPA direct debit?

Thanks

Change #1151710 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add French translation for SEPA mandate notice.

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

Change #1151715 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Dutch translation for SEPA mandate notice.

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

Change #1151718 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Spanish translation for SEPA mandate notice.

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

Change #1149411 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add SEPA mandate notice to SEPA forms

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

Change #1149697 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Mustache tweak: use new is_yearly flag

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

Change #1152293 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Catalan translation for SEPA mandate notice.

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

Change #1152294 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Czech translation for SEPA mandate notice.

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

Change #1151710 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add French translation for SEPA mandate notice.

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

Change #1152324 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Danish translation for SEPA mandate notice.

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

Change #1152325 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add German translation for SEPA mandate notice.

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

Change #1152326 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Greek translation for SEPA mandate notice.

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

Change #1151715 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Dutch translation for SEPA mandate notice.

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

Change #1151718 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Spanish translation for SEPA mandate notice.

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

Change #1152293 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Catalan translation for SEPA mandate notice.

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

Change #1152294 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Czech translation for SEPA mandate notice.

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

Change #1152324 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Danish translation for SEPA mandate notice.

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

Change #1152325 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add German translation for SEPA mandate notice.

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

Change #1152326 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Greek translation for SEPA mandate notice.

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

Change #1152825 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Hungarian translation for SEPA mandate notice.

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

Change #1152826 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Italian translation for SEPA mandate notice.

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

Change #1152827 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Latvian translation for SEPA mandate notice.

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

Change #1152828 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Norwegian translation for SEPA mandate notice.

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

Change #1152829 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Polish translation for SEPA mandate notice.

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

Change #1152825 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Hungarian translation for SEPA mandate notice.

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

Change #1152826 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Italian translation for SEPA mandate notice.

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

Change #1152827 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Latvian translation for SEPA mandate notice.

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

Change #1153111 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Portuguese translation for SEPA mandate notice.

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

Change #1153112 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Romanian translation for SEPA mandate notice.

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

Change #1153113 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Russian translation for SEPA mandate notice.

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

Change #1153114 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Swedish translation for SEPA mandate notice.

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

Change #1153115 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Ukrainian translation for SEPA mandate notice.

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

XenoRyet set Final Story Points to 4.

Change #1153606 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[mediawiki/extensions/DonationInterface@master] Add Slovak translation for SEPA mandate notice.

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

Change #1152828 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Norwegian translation for SEPA mandate notice.

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

Change #1152829 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Polish translation for SEPA mandate notice.

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

Change #1153111 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Portuguese translation for SEPA mandate notice.

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

Change #1153112 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Romanian translation for SEPA mandate notice.

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

Change #1153113 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Russian translation for SEPA mandate notice.

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

Change #1153114 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Swedish translation for SEPA mandate notice.

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

Change #1153115 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Ukrainian translation for SEPA mandate notice.

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

Change #1153606 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Slovak translation for SEPA mandate notice.

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