Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a setting to allow delayed billing for ACH #419

Open
shaneonabike opened this issue Mar 31, 2023 · 0 comments
Open

Create a setting to allow delayed billing for ACH #419

shaneonabike opened this issue Mar 31, 2023 · 0 comments

Comments

@shaneonabike
Copy link
Contributor

Problem

We have created a Contribution form that provides special options for delayed billing besides what's actually out-of-the-box (like Quarterly, etc).

When submitting the form it fails due to the code below (from iATS.php in iats_civicrm_pre

      // Fix a civi bug while I'm here.
      if (empty($params['installments'])) {
        $params['installments'] = '0';
      }

What I expect

Maybe a setting in iATS to be able to turn this off and on?

Proposed Solution

Would it be possible that we could provide a setting in iATS settings page that either turns this off an on. I'd rather not have to hotpatch this each time.

If you have some specific preferred I'm happy to create a patch to contribute. I was thinking like Set default instalments to zero, although I'm sure there is better. Then out of the box it could be set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant