artfulrobot / uk.artfulrobot.civicrm.gocardless

A CiviCRM extension providing GoCardless integration to handle UK Direct Debits.
GNU Affero General Public License v3.0
5 stars 18 forks source link

help debugging problem #50

Closed caliginous closed 4 years ago

caliginous commented 5 years ago

I set everything up as outlined in the docs.

Tried a live test, with my real bank details.

I got redirected to Gocardless and then it redirects me back to my website but with a failure message:

"Error Sorry, we were unable to set up your Direct Debit. Please call us."

Any ideas? How can I debug this?

Upperholme commented 5 years ago

Check your log files. This extension produces it's own log file, in the same ConfigAndLog directory as used for the main Civi log files. There should be a clue in one or both of these. In my case the problem was caused by v 2.6 of the GDPR extension.

caliginous commented 5 years ago

Thanks! I found this:

Jan 17 11:34:11 [info] completeRedirectFlowCiviCore: EXCEPTION before successfully setting up subscription at GoCardless: Failed to find interval details

Which is odd because the intervals are set as monthly in my Contribution Page.

artfulrobot commented 5 years ago

Hi @caliginous

There should not be any difference live/test mode, as long as you have different 'secrets' for each.

I recently came across this error related to memberships - are you using it for that? - see if this helps: https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless#note-on-setting-up-memberships

artfulrobot commented 4 years ago

I'm closing this as I've not heard back for a long while.