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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • Payment processor, error message with no error
Pages: 1 [2]

Author Topic: Payment processor, error message with no error  (Read 28430 times)

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: Payment processor, error message with no error
March 10, 2008, 05:11:31 pm

filed and fixed at: http://issues.civicrm.org/jira/browse/CRM-2825

can you retest this on demo. You might need to delete the participant record and/or login as anonymous

thanx

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

harrstar

  • Guest
Re: Payment processor, error message with no error
March 10, 2008, 06:35:56 pm
Hi Lobo,

THAT WAS FAST!  :o  :D  :D   Many Thanks. Its already live on the site (Galactics.org menu Adult Soccer/Woman soccer/sign up)

And it works perfectly!

Just one more question. After looking into the code on confirm.php for contribution and membership payments I found this piece looking very similar :
                $skipFields = array( 'amount', 'amount_other',
                                     'first_name', 'middle_name', 'last_name',
                                     "street_address-{$this->_bltID}",
                                     "city-{$this->_bltID}",
                                     "state_province_id-{$this->_bltID}",
                                     "postal_code-{$this->_bltID}",
                                     "country_id-{$this->_bltID}" );
at about line 90.

After testing membership sign up on my site it has the same problem as with the event registration. Same patch? Take out the part "'first_name', 'middle_name', 'last_name'," ?

Harry


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: Payment processor, error message with no error
March 10, 2008, 06:41:14 pm

yes, patch here:

http://biryani.osuosl.org:8181/browse/CiviCRM/branches/v2.0/CRM/Contribute/Form/Contribution/Confirm.php?r1=13584&r2=13616

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

harrstar

  • Guest
Re: Payment processor, error message with no error
March 10, 2008, 07:20:41 pm
Hi Lobo,

Thought so. Fixed and working.  :D  :D  :D

You and your team are awesome. That fast of getting this part fixed was not expected by me. Was already digging through the code myself but nowhere near.

Very well done!

How do I set this thread to solved?
How can I make a small contribution to the documentation by writing up what NOT to do while defining payment processors?

Harry

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Payment processor, error message with no error
March 11, 2008, 10:35:39 am
You could add a Trouble-shooting page under this section on the wiki and document the symptom + the fix (for the "change processor type" problem you hit):

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviContribute+Payment+Processor+Configuration
Protect your investment in CiviCRM by  becoming a Member!

harrstar

  • Guest
Re: Payment processor, error message with no error
March 18, 2008, 08:46:26 am
Hi Lobo,

done. http://wiki.civicrm.org/confluence/display/CRMDOC/Trouble+shooting+payment+processor+setup

Harry

anniekin

  • Guest
Re: Payment processor, error message with no error
April 07, 2008, 08:23:54 am
Hm, we're getting a similar error on Contribution , both test and live, using Paypal Website Payments Pro on CiviCRM 2.0.1:

status
    Payment Processor Error message
    : :

After the Confirmation page, we get the error and get kicked back to the Main Contribution page.

I looked at the resolved bugs and my line 90 looks as it should, I believe, with no names in the array:

$skipFields = array( 'amount', 'amount_other',
                                     "street_address-{$this->_bltID}",
                                     "city-{$this->_bltID}",
                                     "state_province_id-{$this->_bltID}",
                                     "postal_code-{$this->_bltID}",
                                     "country_id-{$this->_bltID}" );
                foreach ( $values as $name => $value ) {

Any ideas or next steps to debug this? 
« Last Edit: April 07, 2008, 08:28:33 am by annietm »

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: Payment processor, error message with no error
April 07, 2008, 12:19:42 pm

1. did it ever work for u with 2.0.1?

2. is this an upgrade? If so, can you please edit your payment processor config

3. and ensure that you are connecting to the right api url in paypal pro (https://api-3t.sandbox.paypal.com/)

I think we added that in 2.0 (api url), please confirm this. If so, we'll need to document it and let people know to fix it if they are upgrading

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

anniekin

  • Guest
Re: Payment processor, error message with no error
April 07, 2008, 01:41:39 pm
Hi Lobo,

Thanks for the reply.

>1. did it ever work for u with 2.0.1?
No. We upgraded directly from 1.9 (contribute pages were working) to 2.0.1.

>2. is this an upgrade?
Yes

>3. If so, can you please edit your payment processor config and ensure that you are connecting to the right api url in paypal pro (https://api-3t.sandbox.paypal.com/)

I tried various configurations and looked at the Paypal developer website and am still unable to get it work with versions of that URL. I looked for civicrm documentation to tell me exactly how to input it into the payment processor config (I think there used to be something like that in older documentation) and I couldn't find anything more specific than this:

http://wiki.civicrm.org/confluence/display/CRMDOC/PayPal+Website+Payments+Pro+and+Express+Configuration

It would be helpful to define exactly what goes in each field and what the URLs should look like, perhaps?

>I think we added that in 2.0 (api url), please confirm this. If so, we'll need to document it and let people know to fix it if they are upgrading

I vaguely remember one of the CiviCRM upgrades telling me to change my Paypal API URLs (maybe?), but my processors are still configured with the old ones, so maybe not. If I create a new payment processor, I still get the old defaults filled in:  "https://www.sandbox.paypal.com/"


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: Payment processor, error message with no error
April 07, 2008, 01:58:10 pm

check this page:

http://drupal.demo.civicrm.org/civicrm/admin/paymentProcessor?action=add&reset=1&pp=PayPal

for a good set of defaults (for the US) for paypal. Can you please update the wiki documentation pages as you figure and fix things. Also let us know, so we can update the upgrade instructions

thanx

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

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • Payment processor, error message with no error

This forum was archived on 2017-11-26.