This documentation relates to CiviCRM version 3.1. It's not maintained anymore.
Current version of documentation.

Warning PayPal

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.

Documentation Search

CiviCRM 3.1 Documentation

Support and Participation

Developer Resources

CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Making a contribution with PayPal causes PHP warnings to be displayed.

If you are using CiviContribute with PayPal as your payment processor, you might see a series of warnings displayed after clicking Make Contribution from the Confirm Contribution screen:

   warning: Services_PayPal::getType(Services/PayPal/Type/Struct.php)
   [function.getType]:failed to open stream: No such file or directory
   in <drupal-root>/modules/civicrm/packages/Services/PayPal.php on line 50.

The PayPal software development kit (SDK) currently triggers a PHP warning during transaction processing. This warning does not affect processing, but you need to make sure that Drupal is configured to NOT display warnings on the screen.

  • Navigate to Drupal administer >> settings
  • In the Error Handling section, the Error Reporting dropdown should be set to Write errors to log. Update and save this setting if needed. NOTE: This is the recommended setting for production sites.
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.