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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • URGENT! API URL Setting not visible in Paypal Payment setup screen
Pages: [1]

Author Topic: URGENT! API URL Setting not visible in Paypal Payment setup screen  (Read 2366 times)

dgreenbergz

  • Guest
URGENT! API URL Setting not visible in Paypal Payment setup screen
May 21, 2008, 07:50:44 pm
I resolved the database issue blocking 1.9 > 2.0 in yesterday's post concerning FK error and missing civcrm_acl table. The Step Four process stated "shell > mysqldump -u crm_db_username -pcrm_db_password -c -e -n -t civicrm19 > dumpFile"

mysql/databases are unique to each site, we know that. I skipped using the options, (-c -e -n -t) and that did it. although the contribution_import table refused to be imported from civicrm_41, I had to manually add it from another database we have.

URGENT QUESTION THOUGH....

Getting errors on payment pages asking for the "API URL". In the Payment Processor settings page, where we have Paypal Pro chose, "API URL" is nowhere. I tried setting mode as "paypal express" and "paypal standard", no "API URL".   

rather odd.

kindly advise.

douglas

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: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 21, 2008, 08:06:36 pm

This is a bug in the upgrade script and we'll fix for 2.0.4

the relevant issue is here: http://issues.civicrm.org/jira/browse/CRM-3142

the diff is here: http://biryani.osuosl.org:8181/browse/CiviCRM/branches/v2.0/CRM/Upgrade/TwoZero/sql/others.mysql?r1=14189&r2=14625

(i..e u need to execute those two sql lines in the db)

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

dgreenbergz

  • Guest
Re: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 22, 2008, 03:20:35 am
THANK YOU FOR QUICK REPLY! WE HAVE 18 PAYMENT PAGES.

So the fix is to run this sql query on the civicrm_payment_processor_type table? I tried and got this error. Below is fix and error I got.

--------------------------------------------------------------------------------------


FIX:   This is a bug in the upgrade script and we'll fix for 2.0.4

the relevant issue is here: http://issues.civicrm.org/jira/browse/CRM-3142

the diff is here: http://biryani.osuosl.org:8181/browse/CiviCRM/branches/v2.0/CRM/Upgrade/TwoZero/sql/others.mysql?r1=14189&r2=14625

(i..e u need to execute those two sql lines in the db)

---------------------------------

Error
SQL query:

ADD `url_api_default` varchar( 255 ) NULL DEFAULT NULL COMMENT '' COLLATE utf8_unicode_ci AFTER url_site_default, ADD `url_api_test_default` varchar( 255 ) NULL DEFAULT NULL COMMENT '' COLLATE utf8_unicode_ci AFTER url_site_test_default

MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ADD `url_api_default` varchar(255) NULL DEFAULT NULL COMMENT '' COLLATE utf8_uni' at line 1

---------------------------------------------------------------------------------------

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 22, 2008, 09:50:21 am
Lobo is offline for a bit - so jumping in here. When I look at the "diff" lobo pointed you to - the two lines to execute are:

Code: [Select]
UPDATE civicrm_payment_processor_type SET url_api_default = 'https://api-3t.paypal.com/' where name = 'PayPal' or name = 'PayPal_Express';
UPDATE civicrm_payment_processor_type SET url_api_test_default = 'https://api-3t.sandbox.paypal.com/' where name = 'PayPal' or name = 'PayPal_Express';

It looks like you've tried to run the 2 lines above that ??
Protect your investment in CiviCRM by  becoming a Member!

dgreenbergz

  • Guest
Re: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 22, 2008, 11:00:48 am
yes. you're right. tried wrong part of code. thanks dave. site is fully upgraded to 2.0.

douglas

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 31, 2008, 08:29:05 pm
I ran those two lines, and we're still getting the API URL error:

Sorry. A non-recoverable error has occurred.
Please set the API URL. Please refer to the documentation for more details

I verified and the addresses are indeed in the SQL database.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: URGENT! API URL Setting not visible in Paypal Payment setup screen
May 31, 2008, 09:17:18 pm
Nevermind... after it was added to the database, you then need to go into the settings page for the Paypal processor and set the API URLs there. Then it works fine.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • URGENT! API URL Setting not visible in Paypal Payment setup screen

This forum was archived on 2017-11-26.