Page MenuHomePhabricator

Update recurring QC for tokenized subscriptions
Closed, ResolvedPublic

Description

The recurring queue consumer can currently import messages that indicate a subscription will start, but do not indicate that the first payment has been received. Following paypal conventions, we identify these with txn_type=subscr_signup.

To this date, we have only imported processor-driven subscriptions this way. We need to extend RecurringQueueConsumer:: importSubscriptionSignup to allow creating PaymentToken records from the recurring_payment_token message field. We would probably use the wmf_civicrm_recur_payment_token_create function.

Event Timeline

Change 524909 had a related patch set uploaded (by Cstone; owner: Cstone):
[wikimedia/fundraising/crm@master] WIP: Add recurring token support to creating a subscription.

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

Change 524909 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Add recurring token support to creating a subscription.

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