CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How do recurring payments actually work?
Pages: [1]

Author Topic: How do recurring payments actually work?  (Read 272 times)

artfulrobot.com

  • I post occasionally
  • **
  • Posts: 81
  • Karma: 4
How do recurring payments actually work?
December 01, 2014, 03:21:02 am
Hi.

I'm interested in using Stripe for recurring payments but I can't find anything that explains how recurring payments are processed by CiviCRM.

There's http://book.civicrm.org/user/current/contributions/payment-processors/ which has a sentence saying it exists as a possibility for some processors. Then there's lots of people re-thinking how it works e.g. https://civicrm.org/blogs/sarahgladstone/rethinking-automated-recurring-contributions-code-attached and https://civicrm.org/blogs/sarahgladstone/rethinking-automated-recurring-contributions-code-attached

But I've not found anything about the mechanics of how it currently works. Can anyone signpost me, or give a summary here? I'm looking for a flowchart type thing, showing which data gets sent where and when; how systems talk to each other; how payments are recorded in CiviCRM at each stage etc.

Thanks.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: How do recurring payments actually work?
December 05, 2014, 06:04:56 am
I am not aware of any documentation on how CiviCRM core processes recurring contributions for Authorize.net or PayPalPro (ie the only payment  processors that offer recurring, that are also part of core.)

You can look at the code for Authorize.net at:
civicrm/extern/authorizeIPN.php

Or PayPalPro:
civicrm/extern/ipn.php

The other payment processor that offers recurring is iATs. ( https://civicrm.org/extensions/iats-payments )

The developers that work on the iATS extension (and I) have been talking about that all payment processor logic should be removed from core, and should only be in extensions.  I have also created an extension that should help any developer add recurring contribution support to their processor. See: https://civicrm.org/extensions/payment-processor-helper   

(My extension overrides the core handling logic of recurring contributions from PayPalPro and Authorize.net )

If you are planning on enhancing the Stripe payment processor to handle recurring, I would be happy to update my extension for Stripe.


Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How do recurring payments actually work?

This forum was archived on 2017-11-26.