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) »
  • errant PCP is directing to PayPal login instead of payment submission page!
Pages: [1]

Author Topic: errant PCP is directing to PayPal login instead of payment submission page!  (Read 939 times)

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
errant PCP is directing to PayPal login instead of payment submission page!
March 29, 2010, 03:54:27 pm
I have a very strange case here...

Many of our supporters have personal campaign pages that work correctly. Now, one of our donors points out that she can not complete her donation, and points us to her friend's personal campaign page. With this specific personal campaign page I am able to reproduce the error... when I hit the "Continue >>" button in CiviCRM, Civi directs me to the PayPal Log In page: https://www.paypal.com/cgi-bin/webscr . There is no info on this page about the payment I am trying to submit. After loging in, I simply arrive at my paypal account with no way to make the payment.

After reproducing this issue, I tested another (very similar) personal campaign page and was not able to reproduce the issue with that PCP... as I expect, Civi directs me to a PayPal page for making a payment. Very strange!

In looking at the two PCPs from the backend, the only fields that differs between the two are the following (and the differences align with my expectations):
id
contact_id
title
itnro_text
page_text
goal_amount

Both pages are active and have the same status_id. Both pages point to the same campaign.

What could be the cause of this inconsistency? How can I fix?

If you'd like to check out the specific pages, see the following:
This page works:
http://crm.bikesnotbombs.org/civicrm/contribute/pcp/info?reset=1&id=399
This page does not work:
http://crm.bikesnotbombs.org/civicrm/contribute/pcp/info?reset=1&id=403

Thanks for any 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: errant PCP is directing to PayPal login instead of payment submission page!
March 29, 2010, 04:50:45 pm

i reproduced it, you can delete records with test in their name.

can you add this debug statement in: CRM/Core/Payment/PayPalImpl.php, line 443 before

        CRM_Utils_System::redirect( $paypalURL );
ADD
        CRM_Core_Error::debug_var( 'sending to paypal', $paypalURL );

that statement should appear in your CiviCRM.log file. can you email me the two urls (lobo at yahoo dot com)

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

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
Re: errant PCP is directing to PayPal login instead of payment submission page!
March 30, 2010, 10:58:12 am
hmmmm... Thanks for your fast reply. Disappointingly, I am now no longer able to reproduce this issue after adding the debug line. (When I take out the debug line, I am still no longer able to reproduce.) I've left the debug line in there though, and I'll keep an eye on our pending contributions in hopes of matching one up with the proper log file entry.

Maybe this issue is just some sort of PayPal fluke? There certainly seems to be a strong correlation between "the unexpected behavior" and "that specific personal campaign page" though. I'll report back if I can gather more information.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • errant PCP is directing to PayPal login instead of payment submission page!

This forum was archived on 2017-11-26.