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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Payment Processor - PaymentExpress
Pages: 1 [2]

Author Topic: Payment Processor - PaymentExpress  (Read 8026 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment Processor - PaymentExpress
August 13, 2008, 09:46:30 pm
Hi Lucas - can you send me your code to look at?
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

lucasbaker

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Payment Processor - PaymentExpress
August 14, 2008, 11:53:03 am
You should have it now.  :)

lucasbaker

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Payment Processor - PaymentExpress
August 15, 2008, 08:14:00 pm
Right.  I have it now (I think).

I have made a few changes (i.e. renamed the class and a couple of other components and added back in some functionality).

After some helpful suggestions from Eileen the other day, I have been successful in transferring the private data through DPS/Payment Express back to CiviCRM.  I've added back in the post-billing processing which validates the data coming back from the payment gateway against what is stored in the database.

If I haven't missed anything (this is, of course, pending comment and review), then I'd say I have a fully-functional Payment Express (PxPay) module. The next step is to integrate the PxAccess functions.

So, once again, if anyone is interested in reviewing my code, let me know.  :)

Regards,
Lucas

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment Processor - PaymentExpress
August 15, 2008, 08:17:01 pm
Hi Lucas - I'll take a look again. I think Chris has used a lot of the same functions in his almost finished code too so I'm interested to see how he has used the same functions
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

lucasbaker

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Payment Processor - PaymentExpress
August 15, 2008, 08:27:46 pm
On it's way to you now.  :)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment Processor - PaymentExpress
August 21, 2008, 05:35:21 pm
I'll just finish this off by noting that Lucas has posted the payment processor to jira - http://issues.civicrm.org/jira/browse/CRM-3428 for anyone who is looking for it.

The processing of the order is done in the paymentExpressIPN file and there are two aspects to it - interpreting the processor specific information to get the civicrm variables and using the functions newOrderNotify & getContext to take the variables & complete the transaction. I would suggest these two functions could be generic enough to put into the baseIPN file & make available to other payment processors (but might need a bit more added to them)
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

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 - PaymentExpress
August 21, 2008, 06:08:10 pm

this has been committed to trunk and will be part of the next beta release

can you please file an issue for the below two functions to propagate to BaseIPN.php. we've done a lot of QA on 2.1 and i'd prefer to make that code change in 2.2

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Payment Processor - PaymentExpress
August 21, 2008, 06:18:01 pm
fair enough - I wasn't thinking about changing the existing payment processors but rather making the code available to new ones - but I think it needs more work as the version in payment express is simplified since it's a simple processor and the google one is a bit too google-specific.
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

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Payment Processor - PaymentExpress

This forum was archived on 2017-11-26.