Page MenuHomePhabricator

Enable SEPA via Gr4vy for EU countries.
Closed, ResolvedPublic

Description

Enable SEPA via Gr4vy for EU countries.

Event Timeline

AKanji-WMF subscribed.

@RKumar_WMF can you please fill out:

What is the new payment method: SEPA

What markets is it available in -
Currencies supported -
Recurring supported? -
3DS required, if yes then related set ups -
Please confirm it’s available via which PSP -
Wallet, card or other -
Provide payment method mark to FR-tech and online -
Any relevant timelines to be aware of (e.g. campaign start dates) -

What markets is it available in -AT Austria
BE Belgium
CY Cyprus
DE Germany
EE Estonia
ES Spain
FR France
GR Greece
HR Croaita
IE Ireland
IT Italy
LT Lithuania
LU Luxembourg
LV Latvia
MT Malta
NL Netherlands
PT Portugal
SI Slovenia
SK Slovakia
Currencies supported - EURO
Recurring supported? - Yes
3DS required, if yes then related set ups - Do not think so since it is a bank transfer payment method.
Please confirm it’s available via which PSP - Adyen
Wallet, card or other - Bank transfer
Provide payment method mark to FR-tech and online - It is already available in direct Adyen connection so it is not a new payment method. We can use the same mark.
Any relevant timelines to be aware of (e.g. campaign start dates) - Used in all EUR supported countries, so during 6ENC required for Ireland. NL (4th Aug onwards), FR (27th Aug onwards)

AnnWF removed AnnWF as the assignee of this task.Aug 18 2025, 8:08 PM
AnnWF subscribed.

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

[mediawiki/extensions/DonationInterface@master] Align SEPA country list with request

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

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

[wikimedia/fundraising/dev@master] Add Gravy / SEPA links to Main_Page

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

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

[wikimedia/fundraising/SmashPig@master] SEPA for Gravy

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

Change #1179761 merged by Jgleeson:

[wikimedia/fundraising/dev@master] Add Gravy / SEPA links to Main_Page

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

Current status: we have the connector correctly configured in the Gravy side, but they have a bug in their code.

When we use the A. Klassen test IBAN from Adyen's testing instructions, the API log on Gravy's side shows that they get a successful response from Adyen but Gravy returns to us an authorization_failed / unexpected_state error code:

From Adyen to Gravy:

{
  "additionalData": {
    "paymentMethod": "sepadirectdebit",
    "sepadirectdebit.dateOfSignature": "2025-08-20",
    "paymentMethodVariant": "sepadirectdebit_received",
    "sepadirectdebit.mandateId": "X3QZ4C7W8PT9BWT5",
    "sepadirectdebit.sequenceType": "OneOff"
  },
  "id": "CSA88E2CD75A4BF13EC69F213",
  "payments": [
    {
      "pspReference": "X3QZ4C7W8PT9BWT5",
      "resultCode": "Received"
    }
  ],
  "reference": "Bc0jJUpMWCrSXCm54Gosx",
  "status": "paymentPending"
}

from Gravy to us:

...
"status":"authorization_failed",
...
"error_code":"unexpected_state"
...

Change #1180153 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] SEPA for Gravy

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

Change #1179760 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Align SEPA country list with request

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

They've fixed the bug on their end and we can now get back to the TY page in sandbox. We have the code deployed on our end, but we still need to set up the SEPA connection in the Gravy console.

This is deployed with the connector set up, but isn't redirecting after submit like it does in sandbox.

I can submit name + email and get redirected to a form with account holder name + IBAN blanks, but sumbitting that form just changes the button color without any redirect.

https://payments.wikimedia.org/index.php?title=Special:GravyGateway&appeal=JimmyQuote&payment_method=rtbt&payment_submethod=sepadirectdebit&recurring=0&uselang=en&language=en&currency=EUR&amount=5&country=NL

OK, looks like there was a 500 error from the Adyen endpoint. I've sent Adyen an email asking for help.

Noting for reference Adyen has responded - advising that the IBAN we used was only intended for a test environment.

See email for more details, subject: Case 05730185: SEPA via orchestrator showing 500 error POSTing to checkoutshopper-live

Can you share the link to test one-time and recurring? Ty.

XenoRyet set Final Story Points to 2.

Is this the same as this? T368043: Gravy SEPA

  • @EMartin mentioned that Payments is awaiting the SEPA recurring link?

Yes, awaiting since the link provided is not working. Here are the slack threads: https://wikimedia.slack.com/archives/C045WH0QYS2/p1760619327723959

Re-opening as it seems these links aren't working for testers.

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

[mediawiki/extensions/DonationInterface@master] Refine Gravy check for recurring support

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

Change #1199052 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Refine Gravy check for recurring support

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

Have reached out to Eric for test donation using the link provided.

I've used the link to set up a donation. I get to the "thank you" page normally on my browser.

Adyen PSP: W2G4QHFSFGBC9KQ9 - Sent for settle. I will update the ticket once it is settled.

Recurring created in Civi.

AKanji-WMF changed Final Story Points from 2 to 4.