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

Daily not accepted - which is fine - but would help if there is was an error displayed #29

Closed petednz closed 6 years ago

petednz commented 6 years ago

Currently just see

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

in the logs i see

completeRedirectFlowCiviCore: EXCEPTION before successfully setting up subscription at GoCardless: Invalid interval 'dayly', must be yearly/monthly/weekly

Would be helpful if that could show on screen. Note also 'dayly' should be 'daily' but i don't think that is causing any issues for anyone other than a spelling tyrrant ;-)

Now perhaps my testing will be successful by using Weekly not Daily.

artfulrobot commented 6 years ago

Yes, good point. Daily is not supported by the platform. Don't suppose Dayly works either!

Please submit a PR (even just to the readme telling people that daily is not supported would help) if you are able to.

petednz commented 6 years ago

Done. Thx

artfulrobot commented 6 years ago

Thanks, that's merged.