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) »
  • Running out of time and need help
Pages: [1]

Author Topic: Running out of time and need help  (Read 3075 times)

poolplayr

  • Guest
Running out of time and need help
December 05, 2007, 09:13:28 am
I have setup civicrm on an already running site that runs drupal. I am using google checkout because of the non-profit "bonus" and the donate button shows up on the live page however when the donate button is pushed I get an error:

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=>
    [message] => Malformed response.
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="Malformed response." code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)

backTrace

D:\Drupal\sites\all\modules\civicrm\CRM\Core\Error.php, backtrace, 148
, handle,
D:\Drupal\sites\all\modules\civicrm\packages\PEAR.php, call_user_func, 901
D:\Drupal\sites\all\modules\civicrm\packages\PEAR.php, PEAR_Error, 566
D:\Drupal\sites\all\modules\civicrm\packages\HTTP\Request.php, raiseError, 1023
D:\Drupal\sites\all\modules\civicrm\packages\HTTP\Request.php, process, 631
D:\Drupal\sites\all\modules\civicrm\CRM\Core\Payment\Google.php, sendRequest, 157
D:\Drupal\sites\all\modules\civicrm\CRM\Contribute\Payment\Google.php, doTransferCheckout, 87
D:\Drupal\sites\all\modules\civicrm\CRM\Contribute\BAO\Contribution.php, doTransferCheckout, 925
D:\Drupal\sites\all\modules\civicrm\CRM\Contribute\Form\Contribution\Confirm.php, processConfirm, 374
D:\Drupal\sites\all\modules\civicrm\CRM\Core\StateMachine.php, postProcess, 166
D:\Drupal\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Next.php, perform, 63
D:\Drupal\sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php, perform, 195
D:\Drupal\sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php, handle, 95
D:\Drupal\sites\all\modules\civicrm\CRM\Core\Controller.php, handle, 220
D:\Drupal\sites\all\modules\civicrm\CRM\Contribute\Invoke.php, run, 121
D:\Drupal\sites\all\modules\civicrm\CRM\Core\Component.php(183) : eval()'d code, main, 1
D:\Drupal\sites\all\modules\civicrm\CRM\Core\Component.php, eval, 183
D:\Drupal\sites\all\modules\civicrm\CRM\Core\Invoke.php, invoke, 144
D:\Drupal\sites\all\modules\civicrm\drupal\civicrm.module, invoke, 319
, civicrm_invoke,
D:\Drupal\includes\menu.inc, call_user_func_array, 418
D:\Drupal\index.php, menu_execute_active_handler, 15

I just cant figure it out. Any help would be greatly appreciated as this is suppose to go live 12/7

poolplayr

  • Guest
Re: Running out of time and need help
December 05, 2007, 09:42:20 am
More Info if Needed:

PHP 5.*

Civicrm 1.9

Drupal 5.*

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: Running out of time and need help
December 05, 2007, 10:15:27 am

a few things:

1. does this work on the google sandbox site

2. are you using a valid secure certificate (SSL) for your site. check the forums and/or checkout docs for what SSL providers are certified

3. if 1 is not working, can u ensure that your hosting provider allows outbound http/https access to the google servers

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

poolplayr

  • Guest
Re: Running out of time and need help
December 05, 2007, 10:54:47 am
Thank your quick response.

1) When I hit the button for the test-site that works with sandbox I get same exact error as above.

2) Hmm could this be the problem then? I dont have a ssl because I thought by me unmarking the box:
(For extra security, my company will only post digitally signed XML shopping carts. (Google should reject all others) [?]) I wouldnt need one. Is it absolutely required?

poolplayr

  • Guest
Re: Running out of time and need help
December 05, 2007, 11:43:50 am
By changing https:// to http:// in sandbox mode under payment processor i get a different error:

Sorry. A non-recoverable error has occurred.

Invalid response code received from Google Checkout: 501

poolplayr

  • Guest
Re: Running out of time and need help
December 05, 2007, 12:01:17 pm
Found this at the google checkout site:

Do I need an SSL Certificate?

You do not need an SSL certificate if:

   1. You're integrating via Buy Now buttons.
   2. You're integrating via an off-the-shelf shopping cart.
   3. You're only performing a level one integration.

You do need an SSL certificate, however, if you're performing a level two integration.

http://checkout.google.com/support/sell/bin/answer.py?answer=43863&topic=12156

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: Running out of time and need help
December 05, 2007, 01:40:48 pm

Our google integration is a level two integration.

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

poolplayr

  • Guest
Re: Running out of time and need help
December 07, 2007, 12:07:05 pm
Ok i have the SSL setup and working and still get this error! :-(

poolplayr

  • Guest
Re: Running out of time and need help
December 07, 2007, 01:43:13 pm
just a thought? could my pear be screwed up or not installed right?

poolplayr

  • Guest
Re: Running out of time and need help
December 12, 2007, 11:32:33 am
I did finally get this up and running. For people looking for help with installing Civicrm/Apache/Drupal5.X/Google Checkout the closest instructions are at http://wiki.civicrm.org/confluence/display/CRMDOC/Automated+Installer+for+Drupal

A few other things to keep in mind when setting this up that I learned the hard way:

Apache 2.x w/openssl
PHP 5.2.x w/ pear (just because pear extension is enabled doesnt mean it is installed, you usually have to run go-pear.bat or pear.bat in your php directory to install it), openssl, and curl installed (do a phpinfo.php to make sure they are all enabled)
MySQL 4.1 or 5.x
Drupal 5.x

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Running out of time and need help

This forum was archived on 2017-11-26.