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 - Website Payments Pro - API URL "Enter a Valid URL"
Pages: [1]

Author Topic: Paypal - Website Payments Pro - API URL "Enter a Valid URL"  (Read 1507 times)

shayaknyc

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 0
Paypal - Website Payments Pro - API URL "Enter a Valid URL"
October 17, 2011, 08:39:12 am
Hi,

I'm trying to set up a paypal pro processor in civicrm (v4.0.5 in drupal 7, php 5.3.2). I'm in the settings, select website payments pro as the processor, and enter in the supplied username, password and signature as provided by paypal. Left all the other fields as their default value, when I hit save, I receive 2 errors for the API URL, even though they are default. The error I receive is "Enter a valid URL." This is very strange. Attached is a screenshot of the error with the credentials erased from the image.

EDIT: Appears to be a bug in php 5.3.2 (https://bugs.php.net/bug.php?id=51632). Solution: change the API URL so that it has no dash in it, then update the value in the database table.
« Last Edit: October 17, 2011, 09:01:52 am by shayaknyc »

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Paypal - Website Payments Pro - API URL "Enter a Valid URL"
February 15, 2012, 06:41:25 pm
Same issue with PayPal Express - Has this bug been logged?

Erawat

  • I’m new here
  • *
  • Posts: 19
  • Karma: 1
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: Paypal - Website Payments Pro - API URL "Enter a Valid URL"
February 19, 2012, 02:41:41 pm
It's the bug of php 5.3.2.

JulesM

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
    • Michigan Rising
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.3.8
Re: Paypal - Website Payments Pro - API URL "Enter a Valid URL"
March 02, 2012, 09:29:59 am
I have the same problem. Tried shayaknyc's solution. Did not work for me.

Anybody have any other ideas? Maybe a patch is in order?

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Paypal - Website Payments Pro - API URL "Enter a Valid URL"
May 01, 2012, 06:11:35 pm
For Ubuntu Lucid users, etc, there is a PPA with newer releases of PHP 5.3.x:

https://launchpad.net/~bjori/+archive/php5
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Paypal - Website Payments Pro - API URL "Enter a Valid URL"

This forum was archived on 2017-11-26.