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 (Moderator: Dave Greenberg) »
  • CiviContribute + Paypal Website Payments Pro = Lé Sad
Pages: [1]

Author Topic: CiviContribute + Paypal Website Payments Pro = Lé Sad  (Read 3268 times)

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
CiviContribute + Paypal Website Payments Pro = Lé Sad
May 27, 2011, 10:55:41 am
Hi everyone,

I'm using PayPal Website Payments Pro as our payment processor.  It works just fine in CiviEvents for our workshops.  However, in CiviContribute, it doesn't like the Pay-with-PayPal button that is featured on our Membership Signup page.  If users fill out information, along with the membership they wish to sign up for, and choose to pay through PayPal, they wait quite some time before this error text appears:

===
Sorry. A non-recoverable error has occurred.
We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.

Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.

Error type: Could not find a valid session key.
===

Then if you go back to that specific CiviContribute page, this error appears:

===
Payment Processor Error message
: 10400:Transaction refused because of an invalid argument. See additional error messages for details. Order total is missing.
===


I'm not quite sure how this is not working in CiviContribute, but works 100% fine in CiviEvents.  Any help in figuring out just WHAT is going on here would be appreciated.

I am running CiviCRM version 3.2.  The Payment Processor is PayPal Website Payments Pro. 

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: CiviContribute + Paypal Website Payments Pro = Lé Sad
May 27, 2011, 04:00:10 pm

can u cut-n-paste the two urls that appear in your browser:

URL 1: When youy load the page

URL 2: When u get the non-recoverable URL page

if its a secret replace  the domain name :)

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

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
July 05, 2011, 12:15:17 pm
Thanks for offering the help, lobo.  I revisited the issue today (had a big yearly fair to deal with last month, couldn't get to it), and the issue seems to have resolved itself.

I'm not too happy that it fixed itself, so if it comes up again at any time, I'm going to have a field day dealing with it.  But oh well.

Consider this solved. . .for now.

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
December 13, 2011, 07:36:34 am
Hi Lobo,

Unfortunately this problem has reared its ugly head again, so I'll provide you with the credentials you asked for back in July.

URL 1:  (the loaded page) https://www.midwestrenew.org/civicrm/contribute/transact?reset=1&id=5
URL 2:  (the non-recoverable URL page) https://midwestrenew.org/civicrm/contribute/transact_qf_Main_display=1&qfKey=bc229f6c258223e283804921f020adbb_2399


For kicks, I created a membership for myself, and attempted a renewal.  My renewal was met with success (including a not-quite-welcoming charge to my credit card, but I expected nothing less).  A user brought this error to my attention.  I attempted to change some settings slightly in Administer > Configure > Global Settings > Resource URLs in hopes of fixing it, but really I'm just more confused than ever.

Running CiviCRM 3.4.7 now, with Drupal 6.19.  Any help is insanely appreciated, unfortunately we're approaching the time now where members will be renewing their memberships, and we'd rather let them just get on with it instead of hitting roadblocks like this :)

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: CiviContribute + Paypal Website Payments Pro = Lé Sad
December 13, 2011, 11:29:45 am

note the domain names in your two urls:

one is www.midwes... and the other is midwes...

u should fix it so u do an apache level redirect from midwes... to www.midwes...

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

chrisjames911

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4.3
  • CMS version: Drupal 6
  • MySQL version: my sql server
  • PHP version: php5
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
December 16, 2011, 06:17:54 pm
Christopher,
i am not sure if you ever resolved your issues in the forum. I ran across them today and have some input. I am no pro at civi but the registration problem can be solved by creating a custom
data field and linking it to the participant record. Then when you use the Register Participant option the custom data field will be there to fill in. 

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
January 23, 2012, 06:55:28 am
Quote from: Donald Lobo on December 13, 2011, 11:29:45 am

note the domain names in your two urls:

one is www.midwes... and the other is midwes...

u should fix it so u do an apache level redirect from midwes... to www.midwes...

lobo

Hi Lobo,

Thank you for your reply. I've observed the error first hand (again), and looking at your response that's exactly what's happening. It seems to happen also when anyone uses the PayPal checkout option.

I hate to sound like a n00b, but I am definitely not well-versed with "apache level redirects". Could you give me a jump start on figuring that out? Is there some file in my FTP directory that I have to edit to make that work?

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: CiviContribute + Paypal Website Payments Pro = Lé Sad
January 23, 2012, 07:48:25 am

check your drupal .htaccess. there is some code in there to do so i think

also lots of info on the web as to how to set up apache level redirects

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

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
January 23, 2012, 08:37:26 am
Quote from: Donald Lobo on January 23, 2012, 07:48:25 am

check your drupal .htaccess. there is some code in there to do so i think

also lots of info on the web as to how to set up apache level redirects

lobo

Thank you, I found the instructions in my .htaccess file and fixed that problem.

However, there's still one lingering error here, and it's one that's lingered since I first posted the problem. I get the following error message when trying to use the PayPal button:

 Payment Processor Error message
: 10400:Transaction refused because of an invalid argument. See additional error messages for details. Order total is missing.

So. . . .now what?


EDIT: Here's the error URL: https://www.midwestrenew.org/civicrm/contribute/transact?_qf_Main_display=1&qfKey=05ec669ffc26106bd83d67248b7eec53_1486

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: CiviContribute + Paypal Website Payments Pro = Lé Sad
January 23, 2012, 08:59:32 am

sorry dont know. U'll need to investigate and debug that one

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

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
March 05, 2012, 07:48:27 am
Thanks for trying, lobo.

I will upgrade to CiviCRM 4.1 in the meantime and hope that it fixes this bug. If not, I'll have to figure out something else (perhaps a different payment processor altogether).

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
March 12, 2012, 09:05:31 am
Okay, I've upgraded to CiviCRM 4.1.1 and the issue is still present. Other than use a completely different payment processor, I'm determined to figure out why I'm still getting this error when attempting to :

===
10400: Transaction refused because of an invalid argument. See additional error messages for details. Order total is missing.
===

What I do understand out of all of this is that PayPal isn't getting the order total from CiviContribute. I'm running a Contribution page that has a Membership Section enabled. In that Membership section I have 16 different memberships that they can choose from (but NOT a Membership Price Set).

I have CiviEvent set up for workshop registrations, and paying for those via PayPal works just fine.

Whether I'm renewing a membership or starting a brand new one, I get that error message. Here's the URL for an anonymous new membership:
https://www.midwestrenew.org/civicrm/contribute/transact?_qf_Main_display=1&qfKey=a47ef7951051f475ce61bcd31b0498f9_6517

Here's the URL for a membership renewal:
https://www.midwestrenew.org/civicrm/contribute/transact?_qf_Main_display=1&qfKey=b03ce25a3e26435aea6866a783d7e902_3313


Additionally, I have another Contribution Page that accepts donations (and people can choose to sign up or renew their memberships there as well). I can successfully get to PayPal from this page if a membership is selected. So...maybe it's that contribution page? An isolated incident?

christopherleslie

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 1
  • Learning the ropes, one pulled hair at a time :)
    • Midwest Renewable Energy Association
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.25
  • MySQL version: 5.1.52
  • PHP version: 5.2.15
Re: CiviContribute + Paypal Website Payments Pro = Lé Sad
March 15, 2012, 06:58:03 am
Consider this problem an isolated incident. I created a new Contribution page for membership signups and everything works just fine, 100%.

I'm not sure WHAT the old contribution page was doing that kept sending errors to PayPal, but no matter. Out of it I've refined the membership signup page to utilize Membership price sets and some other good stuff.

Thanks for looking into it anyway, Lobo. Much appreciated!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • CiviContribute + Paypal Website Payments Pro = Lé Sad

This forum was archived on 2017-11-26.