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) »
  • PayPal Standard Failing
Pages: [1]

Author Topic: PayPal Standard Failing  (Read 1277 times)

galatians

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
PayPal Standard Failing
July 09, 2009, 04:23:46 pm
I'm using CiviCRM 2.2.1 and just recently without changing anything on the site, PayPal Standard stopped working for Event Registration & Contributions.

What happens is when I click on the "Continue" button to proceed to PayPal for payment, the PayPal page says:

Sorry — your last action could not be completed etc. etc....

In the Payment Processor settings in CiviCRM global settings I have the site URL set to http://paypal.com/ which used to work just fine.

Ironically if I change it to https://paypal.com/ it works but throws a security exception because the site certificate comes up as invalid.

Also I played around with the resulting failed URL that I end up at on PayPal:

Code: [Select]
https://www.paypal.com/us/us/us/xclick?business=ad2madison%40gmail.com&notify_url=http%3a//ad2madison.org/sites/all/modules/civicrm/extern/ipn.php%3freset%3d1%26contactID%3d102%26contributionID%3d87%26module%3devent%26eventID%3d11%26participantID%3d108&item_name=Online%20Event%20Registration%3a%20Cruise%20Into%20Ad%202%20on%20the%20Betty%20Lou!&quantity=1&undefined_quantity=0&cancel_return=http%3a//ad2madison.org/civicrm/event/register%3f_qf_Register_display%3d1%26cancel%3d1%26qfKey%3dea20fd6658ba71a3271b2b71eb4733ab&no_note=1&no_shipping=1&return=http%3a//ad2madison.org/civicrm/event/register%3f_qf_ThankYou_display%3d1%26qfKey%3dea20fd6658ba71a3271b2b71eb4733ab&rm=2&currency_code=USD&invoice=13d9d318349034e5708b5fca63e5930d&email=galatians3v6%40yahoo.com&cmd=_xclick&amount=30&PPREDIRECT=VZeTyLi9fxtMDc12GuqOgTyA7PHlFdIiVD4naEu_dEjJMCfC26wog5OcplZ-oloIag493oOsHjXZbs_Z3QrkJC3s4eSjE3fHIdfBB08hPtBBlIUDoWYM5Nk97ZnodllctDazkXa6rH_Tdz8Xp1qfXWxuvNe9pDOzeRgwO8ebG8JdkGpKtMFNil2vs7B7_mmJ389_4w3Ci6qy0dLFuP-pkc9Ix7P1DYwFf-K6LHzpXGaFRQm1INj85jjBcv1E4f46RLp6Tu8rwdxDTGzewruvCaCAILe8foix9hKBTnNHEuooYdWzTrnP5GkLyEP4-4YQa04Ua3bywBNbHNCpqqYOjrcevrY7KhsRpJtqnm5brpe5H4PXM4iCt42K0BnrPqgVgF8RaacHHwOkA3zfFe1cfvu62acBkwrlnWqSkxJKK-stIAtQQf1uqwS0Qi-Zkv2TQs00MbmIgp0QqZj1YJj07vwMzIrGbFSgrxrksxG2HVcQe4P5V1pKS2xb7Gq1UdIhbN5vTF4hEOmd2PZEkuHIlQhczWyIbbdBZ0D2ZBWQr-5tGZRpJDhw2iv_g-eHpydJNu8JAwL0JNlBfHveM_Cq5UPDbckgtWZKoCGPBG&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9bdd7275a399ffdb50357d51bfcb4404a73fa1a53f5df1ed53
I found that if I took the &PPREDIRECT= parameter out of this URL that it works fine but I have no idea how to get CiviCRM to not use this parameter or fix it.

My website is http://ad2madison.com

admin

  • Guest
Re: PayPal Standard Failing
July 09, 2009, 04:38:04 pm

you might want to upgrade to 2.2.7

paypal changes some standard urls and we had to fix the code to match the new urls

lobo

galatians

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
Re: PayPal Standard Failing
July 09, 2009, 04:46:58 pm
Can you tell me where that code is so I can possible just fix that specific bug rather than doing a whole upgrade?

If you don't know exactly, can you point me to the files where the PayPal Standard code is?

Thanks so much for your help.

Also, if I was to upgrade from 2.2.1 to 2.2.7 can I just extract the new files into the old directory?

bchoc

  • Guest
Re: PayPal Standard Failing
August 05, 2009, 02:45:39 pm
We've recently started getting "Internal Server Error" pages when sending event registrations to Paypal Standard.  I am guessing it's the same problem.

However, we're still on Civi 2.0.x and I doubt a patch will be rolled for us.  Is this something I can just recode simply to fix the URL, or am I stuck pending upgrade?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: PayPal Standard Failing
August 05, 2009, 05:48:33 pm
You can potentially patch your 2.0 code from this "diff":

http://fisheye.civicrm.org/viewrep/CiviCRM/branches/v2.2/CRM/Core/Payment/PayPalImpl.php?r1=20370&r2=21039
Protect your investment in CiviCRM by  becoming a Member!

bchoc

  • Guest
Re: PayPal Standard Failing
August 25, 2009, 10:06:30 am
Seems to have done the trick.  For future reference, in 2.0 the code to be changed is at line 348.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal Standard Failing

This forum was archived on 2017-11-26.