Page MenuHomePhabricator

Recurring SEPA with gravy test - recurring failed
Closed, ResolvedPublic

Description

The test recurring SEPA failed, look into why

cid=880743

Event Timeline

We got a weird validation error back from Gravy:

{
  "type": "error",
  "code": "bad_request",
  "status": 400,
  "message": "Request failed validation",
  "details": [
    {
      "location": "body",
      "pointer": "\/NA",
      "message": "There is no active payment service for this transaction.",
      "type": "assertion_error"
    }
  ]
}

I've sent them the details and asked them for clarification.

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

[wikimedia/fundraising/SmashPig@master] Also apply intent=capture for recurring

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

From Piero:

Looks like the missing piece is the intent field. For SEPA recurring, our API requires "intent": "capture" on both the initial and subsequent payments as described in our help center article on SEPA recurring

The attached patch should add that intent for the recurring charges.

Change #1214626 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Also apply intent=capture for recurring

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

@EMartin the fix seems to have worked! I was just able to charge that CID's reactivated recurring and got Gravy txn ID faaed75a-f5f3-4927-8587-c60147404eae.

It is not showing up in Civi, is this intended? CID: 880743

I can see the donation in Civi now. Ty.

XenoRyet set Final Story Points to 2.