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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Updating payment processors for 3.0?
Pages: [1]

Author Topic: Updating payment processors for 3.0?  (Read 1082 times)

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Updating payment processors for 3.0?
December 01, 2009, 11:54:37 am
Will custom payment processors developed for 2.1 work out of the box on 3.0, or do they need updating?  If the latter, is there any documentation on what's changed between the versions wrt payment integration?

Thanks!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Updating payment processors for 3.0?
December 01, 2009, 01:27:44 pm
Hello,

I think they should all still work as I don't believe any relevant code has changed. Certainly the ones I have written which are integrated with the core already don't seem to have required any changes
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Updating payment processors for 3.0?
December 01, 2009, 01:42:59 pm
*Phew*, that's a relief.  Thank you!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Updating payment processors for 3.0?
December 01, 2009, 01:45:08 pm
Of course, you should test it... is this one you developed?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Updating payment processors for 3.0?
December 03, 2009, 12:46:12 pm
Yes, one I developed.  About to begin testing / adapting it this afternoon.

I just went to add it to the processor types table and noticed that there's a new "payment_type" field -- any idea what that is used for or what the possible values are?

EDIT: according to field comments it's credit vs. debit.  1 must represent credit.  Is debit 0?  2?  Might be worth adding this to the docs.
« Last Edit: December 03, 2009, 01:01:52 pm by lentilsoup »

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Updating payment processors for 3.0?
December 03, 2009, 03:55:15 pm
Oy, new issue.  I'm using an IPN style processor, and collecting all name and address data in the payment processor rather than in CiviCRM.  For some reason in 3.0 it won't save the contact name / address / etc unless I uncomment the following lines in my IPN file (adapted from the PaypalIPN file):

Code: [Select]
// fix for CRM-2842
        if ( ! $this->createContact( $input, $ids, $objects ) ) {
             return false;
        }

Now it creates the contact and address records, but not the email record, so the notification email is failing.  What might I be doing wrong?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Updating payment processors for 3.0?

This forum was archived on 2017-11-26.