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) »
  • Monthly pledge payments should occur on the same day-of-month as the pledge date
Pages: [1]

Author Topic: Monthly pledge payments should occur on the same day-of-month as the pledge date  (Read 625 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Monthly pledge payments should occur on the same day-of-month as the pledge date
March 05, 2012, 03:55:04 am
Currently, when a user pledges to donate on a monthly basis, the pledge renewal is set to the first day of the month.

This creates odd behaviour. See the attached patch, which sets the renewal date to the same day-of-the-month as today.

To see the problem, imagine that today is Mar 30, I'm giving by EFT and reminders are set 5 days out from renewal. If pledge reminders are set, the use will get 2 reminders, one for the Mar 30 payment and another for April 1.

The supplied patch sets the Pledge to renew on the Nth day of month. Short months are handled well (Nov 31 is Dec 1).

Ken

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: Monthly pledge payments should occur on the same day-of-month as the pledge date
March 05, 2012, 06:57:47 am

Hey Ken:

thanx for the patches. However, can you please file them as issues and attach the patch there for the set of patches u've posted on various forum topics. This allows us to manage code changes a lot better

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

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Monthly pledge payments should occur on the same day-of-month as the pledge date
March 05, 2012, 02:46:59 pm
Sure will, Lobo!

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Monthly pledge payments should occur on the same day-of-month as the pledge date
March 08, 2012, 01:35:54 am
See issue CRM-9827

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Monthly pledge payments should occur on the same day-of-month as the pledge date

This forum was archived on 2017-11-26.