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) »
  • Access webservice after payment is validated by payment processor
Pages: [1]

Author Topic: Access webservice after payment is validated by payment processor  (Read 1336 times)

kirby14

  • Guest
Access webservice after payment is validated by payment processor
June 10, 2009, 01:41:25 pm
I need to be able to submit to a separate ERP system (a web service) that a donation transaction was processed and approved.

I saw there is a hook for form submit, but that would be premature for me. I only want to submit the information to the other ERP if it is completely submitted and approved.

Is there a built in hook that I can use for this or will I need to make a call from within the payment processor when it gets the response back?

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: Access webservice after payment is validated by payment processor
June 10, 2009, 05:54:56 pm

implement the postProcess hook for the Confirm form. If the hook is called, it means the transaction succeeded

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

kirby14

  • Guest
Re: Access webservice after payment is validated by payment processor
June 11, 2009, 08:19:38 am
Spectacular! Thanks for being so helpful :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Access webservice after payment is validated by payment processor

This forum was archived on 2017-11-26.