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) »
  • No cancel the pledge
Pages: [1]

Author Topic: No cancel the pledge  (Read 892 times)

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
No cancel the pledge
November 29, 2013, 06:25:07 am

good afternoon
The periodic payments are not canceled. Messages appear correctly but the result is nothing to do. The periodic payments remain in the same state

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 02, 2013, 12:31:22 am
Please
I need Help !! :'(

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: No cancel the pledge
December 02, 2013, 07:49:31 am

can you please elaborate in more detail exactly what is happening and what you are expecting to happen?

we'll need a lot more details and info before anyone can help, IMO

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

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 02, 2013, 08:09:17 am
ok

I have several periodic payments as the image.
Some are completed and others are pending.
At one point, I need to cancel all outstanding payments. I press on the option to cancel, everything seems fine, the messages and corresponding messages appear and the result is that it has no operation is performed.
All payments are pending, it has not done anything.

Watch the image

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No cancel the pledge
December 02, 2013, 10:04:50 am
I just tried this on my local 4.4 site (cancelled a pledge after 1 payment was completed). The cancellation worked as expected (see screenshot). All Pending pledge payments were cancelled.

Can you check for any Javascript errors (via Firebug), and try and recreate your issue on the public demo. I'm wondering if it might be a bug related to running CiviCRM in another language or ???
Protect your investment in CiviCRM by  becoming a Member!

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 03, 2013, 12:40:01 am
In another language is the same.
No javascript error appears.
In version 4.3 was the same and was hoping that by then updated to the latest version but the problem was solved nothing.
It could be a problem with DB?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No cancel the pledge
December 03, 2013, 12:24:13 pm
Did you try to recreate this on the public demo (in English and then setting language to Spanish)?

http://drupal.demo.civicrm.org/

Also, have you checked CiviCRM and Apache/web-server logs for any errors?
Protect your investment in CiviCRM by  becoming a Member!

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 05, 2013, 07:00:03 am
All perfect in the demo in both languages​​.
The log shows nothing CiviCRM and not apache.
I'm desperate!

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: No cancel the pledge
December 05, 2013, 07:54:25 am

your next step would be to get into the code and debug it. The developer book on the wiki is a good starting point. You will need a fair bit of php and mysql skills for this

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

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 05, 2013, 08:05:15 am
Any idea which part of code should look.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No cancel the pledge
December 05, 2013, 12:12:23 pm
The code that's called when cancelling a pledge is CRM_Pledge_BAO_Pledge::cancel()

(so check CRM/Pledge/BAO/Pledge.php cancel() function)

That in turns calls several other methods. I would add debug statements inside each of those.
- findCancelablePayments()
- CRM_Pledge_BAO_PledgePayment::updatePledgePaymentStatus
Protect your investment in CiviCRM by  becoming a Member!

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
December 24, 2013, 04:16:44 am
I upgraded to the latest version and nothing has changed. When payments are canceled everything seems to have gone well but does not change the status of payments.
I'm desperate

eperezal2501

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.6.10
  • CMS version: Drupal
  • MySQL version: 5.5.37
  • PHP version: 5.4
Re: No cancel the pledge
May 21, 2014, 08:07:22 am
and continue the same and after updating to 4.5 vervison

Everything seems correct but does not change the status of payments

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • No cancel the pledge

This forum was archived on 2017-11-26.