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) »
  • Civi Contribute - Endless Loop when contributing
Pages: [1]

Author Topic: Civi Contribute - Endless Loop when contributing  (Read 1000 times)

mvonrose

  • Guest
Civi Contribute - Endless Loop when contributing
October 20, 2009, 06:10:56 pm
On my contribution pages when I click to confirm payment, the page refreshes back to the starting contribution page, not the thank you page. This issue is fixed if I remove the "reset=1" from the query string, but then the user is stuck on whichever contribution page they last visited. In other words, removing the reset, means that no matter what the "id" is set to in the URL, the page resolves to the same contribution page. Any ideas? This wasn't always an issue, but suddenly just seemed to start happening.

Thanks.

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: Civi Contribute - Endless Loop when contributing
October 20, 2009, 07:31:41 pm

what exact version of 2.2 are u using? what is your payment processor? what happens if you choose pay later?

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

mvonrose

  • Guest
Re: Civi Contribute - Endless Loop when contributing
October 20, 2009, 08:03:04 pm
2.2.2 I thought was the version? Payment processor is Paypal Pro. If I choose pay later same thing happens.

I figured out where the loop is occurring actually... my own fault, but strange none-the-less. I have a module that checks for whether a user has a specified role. If they do, and they are not already on a civicrm page, it sends them to a contribute page (to sign up for a membership). The strange thing is that when the final step in the contribution page is taken it seems that the code slips past the "is this already a civicrm page?" conditional and then sends the user back to the begining of the process. Does the form redirect to some strange URL in the background? This is pretty baffling to me, especially since this isn't the case if the reset query string is left off. Any thoughts would be great.

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: Civi Contribute - Endless Loop when contributing
October 20, 2009, 08:54:58 pm

no idea what is happening and why. maybe a bug in your custom module? i'd track down the requests via the apache log and see whats happening and trace it that way

lboo
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) »
  • Civi Contribute - Endless Loop when contributing

This forum was archived on 2017-11-26.