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

Support specific start date for subscription #93

Open mattwire opened 3 years ago

mattwire commented 3 years ago
  1. Make redirect flow
  2. Confirm it (creates mandate)
  3. Setup subscription ← this bit.

Subscription is created here: https://github.com/artfulrobot/uk.artfulrobot.civicrm.gocardless/blob/master/CRM/GoCardlessUtils.php#L222. See https://developer.gocardless.com/api-reference/#subscriptions-create-a-subscription for docs on start_date parameter.

Stripe, IATs and Smartdebit CiviCRM extensions have an option to specify a start date so we can use example code from them to collect the value.

wmortada commented 3 years ago

This would certainly be helpful.