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) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Offline Recurring Payment Extension
Pages: 1 [2] 3

Author Topic: Offline Recurring Payment Extension  (Read 4754 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Offline Recurring Payment Extension
July 18, 2013, 10:31:47 am
Hi,
On a payment processor I wrote, the recurring contrib has these fields set

Code: [Select]
...
"payment_processor_id":"4",
"financial_type_id":"1",
"payment_instrument_id":"1",

the processor_id is empty, not sure what it is/was meant to be used for.
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Offline Recurring Payment Extension
July 18, 2013, 12:19:35 pm
I suspect that processor_id field is an old one that will disappear, sounds like a dangerous thing to assume will continue.

I think that inherently what you are doing is creating a payment processor that does nothing except give a nod to something happening outside of civicrm. So creating a "dummy" payment processor isn't so much a hack as a good representation of what this module is doing. For example, if later on someone looks at a particular contribution, they may want to know how to find the money this transaction refers to. By linking that transaction to this 'dummy' processor [which can be customized per install with details about how the transactions are actually getting done outside of civicrm], it makes the whole thing a bit more accountable.

In general, this money thing is pretty confusing, and it's good to distinguish clearly between an actual transaction and the various kinds of records of a transaction and how they may or may not be related ..
« Last Edit: July 18, 2013, 12:23:32 pm by adixon »

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: Offline Recurring Payment Extension
July 22, 2013, 02:46:48 am
I've fixed that by implementing a second table then, and uploaded a new release to the extensions directory.

You'll need to disable and re-enable the extension after upgrading to create the new table at the moment - and the documentation url in the info.xml has also been amended.

Many thanks,

Andy
Andrew Walker, Developer at Circle Interactive

tac12

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Drupal6
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Offline Recurring Payment Extension
August 07, 2013, 04:45:48 pm
Hi

I've just tried to install this extension via civi manage extensions and I get the error screen attached  and the installation fails.  I'm running 4.3.5

Any suggestions?

Adrian
Cambridge Rugby

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: Offline Recurring Payment Extension
August 08, 2013, 02:43:51 am
Hi Adrian,

That is a setting that should usually be defined in your civicrm.settings.php file - you should have a line in there reading:

Code: [Select]
define('CIVICRM_DOMAIN_ID', 1);
for a non-multisite installation, and I believe that's always been there, even in really early versions of Civi. So I'm not really sure why that would be missing in your version - our sysadmin has also checked 4.3.5, and thinks that setting should still be created when you install that version.

Is this just a single (non-multisite) instance of Civi? If so, can you check your civicrm.settings.php for the line above, and if it's missing add it?

That is probably going to be the easiest fix for now - but I'd still like to know under what circumstances this definition could potentially be missing, if anyone knows?

Thanks!

Andy
Andrew Walker, Developer at Circle Interactive

galgeek

  • I’m new here
  • *
  • Posts: 24
  • Karma: 1
  • CiviCRM version: 4.6.0
  • CMS version: drupal 7.36
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Offline Recurring Payment Extension
August 08, 2013, 01:25:20 pm
The current version, 1.3, appears to remain incompatible with offering recurring payments via, e.g., PayPal on a CiviCRM online donation page.  (This is the only version I've installed, so the problem isn't an update issue.)

tac12

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 4.3.5
  • CMS version: Drupal6
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Offline Recurring Payment Extension
August 12, 2013, 09:25:38 am
Thanks for the replies.  So I guess  I didnt mention that I was testing on a clone of my production site which I had just upgraded from 4.2.10 to 4.3.5;  I had a number of issues with this,  and practiced the upgrade many times before doing it on the real thing.  When I finally settled on the way forward for the upgrade I upgraded my test site then installed the addon which went in perfectly.  I have now done this on my production site and found that enabling the extension prevents me from selecting a payment method in the contributions page!  Turn off the extension,  its then possible to select the payment processor.

See attached,

Adrian

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Offline Recurring Payment Extension
August 12, 2013, 02:38:59 pm
Andy -  FYI - I'm looking at using the recurring processor in 4.4 in the following flow
- backoffice person uses front-office form to set up recurring - selects a payment type which maps to offline recurring
- civixero pushes contact to xero
- a matching rule is set up in xero for that person's bank payments as they come in
- civixero pulls the payment & creates the contribution
- in 4.4 it's now possible to search on next scheduled payment date so we will use that to track missing incomings
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: Offline Recurring Payment Extension
August 14, 2013, 02:30:27 am
That sounds interesting, Eileen - do drop me an email about that if I can be of any help. The code's now on Github at the link below if that helps - I've already fixed one or two bugs, and I've a feeling I'm just about to fix a couple more ..

https://github.com/circleinteractive/uk.co.circleinteractive.offlinerecurring

@tac12 / galgeek - I can't think why the extension would be causing that to happen at the moment, but I'll try and reproduce that, find out what's going on, then get that fixed.
Andrew Walker, Developer at Circle Interactive

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Re: Offline Recurring Payment Extension
December 04, 2013, 01:47:10 pm
I've had a problem with this extension in 4.4.  The problem was the contribution configuration page wouldn't allow a payment processor to be selected, and also two blocks of help  text was down-level.  When this extension was removed the problem went away.  Is this extension compatible with 4.4, or did I jump the gun?
« Last Edit: December 04, 2013, 01:59:31 pm by clarkac »
Andy Clark

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Offline Recurring Payment Extension
December 04, 2013, 01:53:19 pm

andyw:

the next version of the extension might want to consider using "regions" to modify various templates rather than overriding the complete template.

If a specific template does not have the right "crmRegion" tags, let us know on irc and we can add them for a point release.

Check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Region+Reference

will help ensure compatibility across a few more versions

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: Offline Recurring Payment Extension
December 05, 2013, 02:35:48 am
Ok, well the issues with payment processor selection should now be fixed - we rolled out a new version of it the other week. Sorry for the delay in doing that, but Circle reckons this kind of stuff is never a priority unfortunately :(- so it basically ends up being a case of me doing it in my spare time if I want it done, then the company takes credit for it.

The extension is not currently 4.4 compatible, it should state that on the extension's release page, plus in the info.xml file that comes with the extension.

I am working with another member of the community at the moment to make this 4.4 compatible though, so we'll have a look at some of that stuff you've pointed out lobo, thanks for that, and hopefully get a new version out in the next week or so.

But this wasn't my code originally, we just ported it to an extension so it would run on Drupal 7 - it does use a lot of template customizations, but I've discovered a lot of them aren't necessary and have been causing problems - so we'll try and get all of those removed, and see if we can handle the remaining ones in a more upgrade-proof way.
Andrew Walker, Developer at Circle Interactive

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Offline Recurring Payment Extension
December 05, 2013, 09:47:51 am

to some extent thats the beauty, power and drawbacks of open source all in one unified package :) We do hope and want to create a culture where folks who are using extensions help move them forward via a combination of bug fixes, patches, documentation etc.

Code is always moving and tweaks are needed periodically between major releases. We've made an effort to minimize the number of changes, but change happens and we need to deal with it :(

from an integrator / consulting viewpoint, staying on top of all extensions that they have written / contributed is always a daunting task and not necessarily funded / paid for. The civi core project wrestles with similar issues all the time. But we all want and desire forward progress and like to see things work in all releases etc

long story short, for folks using this and other extensions, please do consider chipping in and helping out. Reporting issues and problems is a really good and important step. We need a lot more folks helping out with patching those issues and pulling in extensions they find useful to a more recent release.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jtattersall

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: drupal 7
  • MySQL version: 5.1.70-cll
  • PHP version: 5.3.26
Re: Offline Recurring Payment Extension
December 12, 2013, 07:29:02 pm
Hi

Do you have draft time scale for the new version

Many thanks

Jason tattersall


I really like you extension as it save me time.

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: Offline Recurring Payment Extension
December 16, 2013, 07:55:23 am
Hi Jason,

Realistically, it will most likely be mid-January, for the reasons I've outlined above - although I am trying my best and will try to get it done sooner if I can.

Hope that's ok,

Andy
Andrew Walker, Developer at Circle Interactive

Pages: 1 [2] 3
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Offline Recurring Payment Extension

This forum was archived on 2017-11-26.