Page MenuHomePhabricator

Update QueueConsumer to handle recurring adyen tokens
Closed, ResolvedPublic

Event Timeline

jgleeson renamed this task from Update QueueConsumer to save handle recurring adyen tokens to Update QueueConsumer to handle recurring adyen tokens.Jan 13 2020, 9:07 PM

If they're sent in the same format as the payment tokens for Ingenico Connect, we shouldn't need any change in the queue consumer. We just need to update the Adyen gateway code in DonationInterface to add the shopperReference to the queue messages as 'recurring_payment_token'.

Thanks for the heads up @Ejegg. I'll test out the front-end patch with the new token to confirm and then close this ticket if it's all hunky-dory!

Yep, it looks like there's no changes needed to the queue consumer side of things which is great! I tested with a new Adyen recurring donation and it was saved to CiviCRM as expected with entries in the associated civicrm.civicrm_contribution_recur and civicrm.civicrm_payment_token tables.

I'll close down this ticket.