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) »
  • Contribution Page is showing both pledge and recurring payment options.
Pages: [1]

Author Topic: Contribution Page is showing both pledge and recurring payment options.  (Read 1031 times)

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
Contribution Page is showing both pledge and recurring payment options.
February 02, 2012, 09:19:09 pm
I have a CiviContribute page that was originally configured to allow pledges.  I changed the configuration to disable pledges and turn on recurring payments.  But both sections are being displayed to the visitor.

I looked at the table "civicrm_contribution_page" but did not see anything amiss. However, I did not see any fields in that table related to pledge configuration.
« Last Edit: February 09, 2012, 11:43:06 pm by Sarah Gladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contribution Page is showing both pledge and recurring payment options.
February 05, 2012, 11:28:28 pm
Can you please replicate this on http://sandbox.civicrm.org/

Thanks
Kurund
Found this reply helpful? Support CiviCRM

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: Contribution Page is showing both pledge and recurring payment options.
February 09, 2012, 11:41:31 pm
I found the issue.   I am using the "word replacement" feature of CiviCRM to replace the word "Contribute" with the word "Payment"

As a result, the entries in the table "civicrm_pledge_block" are using the wrong value for the field "entity_table".   Instead of using the actual table name of "civicrm_contribution_page", it is inserting "entity_table" = "civicrm_payment_page"

I used PhpMyAdmin to remove the incorrect record, then my contribution page started to work as expected.

I am not sure if this is reproducable on the sandbox, as I do not have access to PHPMyAdmin.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

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: Contribution Page is showing both pledge and recurring payment options.
February 10, 2012, 08:57:01 am

seems like the code is translating a query or a query param.

can you track it down and figure out where its happening and file an issue with a patch for this

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution Page is showing both pledge and recurring payment options.

This forum was archived on 2017-11-26.