Author Topic: Upgrade to 4.3.1 from 4.3.0 causes CiviDiscount field to disappear.  (Read 1915 times)

Offline splice

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.1.68-cli
  • PHP version: 5.3.20
Just upgraded from 4.3.0 to 4.3.1 and the CiviDiscount field at the top of the form on the Contribution page.  CiviDiscount is at version 2.1 which, according to the Manage Extensions Page, is up to date.

Any thoughts or things you would like me to take a look at and report back?

Splice.

Offline splice

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.3.2
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.1.68-cli
  • PHP version: 5.3.20
Just upgraded to 4.3.2.  The CiviDiscount entry field still does not appear in either the contribution/membership page or the event signup page.

Is there a new version of CiviDiscount to solve this problem?  We are at version 2.1 which is the latest on the extensions page.

Any help is appreciated.

splice

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15743
  • Karma: 463
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
I just tried this for 4.3.2 and it worked for me

did u create a discount code for that event? discount field only appears if there are discount codes with that event

lobo
Reading Give and Take by Adam Grant. If Civi!CRM has helped your org, give back and help others on the forum, contribute code, documentation. Make the project sustainable.

Happy Holidays :)

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
I am having the same problem on a membership (contribution) page using CiviCRM 4.3.1 and CiviDiscount 2.1. I created a discount code for two of the three membership types and the box to enter the code does not appear.

splice, did you find a solution?

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15743
  • Karma: 463
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x

can u upgrade to 4.3.3 since quite a few bugs and issues have been fixed

lobo
Reading Give and Take by Adam Grant. If Civi!CRM has helped your org, give back and help others on the forum, contribute code, documentation. Make the project sustainable.

Happy Holidays :)

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Just upgraded to 4.3.3 with no change.

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
We have a registration event today where we wanted to use a discount code but I ended up having to create a new contribution page instead with the lower rate. Any ideas on another way to address this?

Offline Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15743
  • Karma: 463
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x

Not sure whats happening or why. At this stage u'll need to debug the code and help see whats happening. please keep us updated on your findings so we can fix any bugs in the main codebase

lobo
Reading Give and Take by Adam Grant. If Civi!CRM has helped your org, give back and help others on the forum, contribute code, documentation. Make the project sustainable.

Happy Holidays :)

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Yikes, we'll see how this goes!

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Upgrade to 4.3.1 from 4.3.0 causes CiviDiscount field to disappear.
« Reply #9 on: June 01, 2013, 11:54:33 am »
Strangely enough ... I switched the membership from using a price set to individual prices (CiviDiscount worked again, but the discount was not applied when the final amount was sent to PayPal) and then switched back to using the same price set. Everything is now working again as expected. I have no clue why.

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Upgrade to 4.3.1 from 4.3.0 causes CiviDiscount field to disappear.
« Reply #10 on: June 10, 2013, 04:40:37 pm »
I really don't know how to debug this, but I just upgraded from 4.3.3 to 4.3.4 and the CiviDiscount field disappeared again on the contribution page. I followed these steps and it works like a charm again:

  • Go to Manage Contribution Pages and select the appropriate page
  • Change the Membership Price Set to -none-
  • Select other my old non-price set prices
  • Save

At this point the discount field reappears, but the discounted amount does not go through to PayPal as mentioned in another thread. Then:

  • Change the Membership Price Set back to the original price set
  • Save

Strange, but it worked.

Offline Cat Paquin

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Joomla 2.5.14
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Upgrade to 4.3.1 from 4.3.0 causes CiviDiscount field to disappear.
« Reply #11 on: August 11, 2013, 09:36:22 am »
I just upgraded to 4.3.5 and had absolutely no problems with CiviDiscount after the upgrade.  :D