Skip to end of metadata
Go to start of metadata
CiviCRM Documentation

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

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.
Labels
  • 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.