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 »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • changing status from pending to completed for donations
Pages: [1]

Author Topic: changing status from pending to completed for donations  (Read 770 times)

graceofGOD

  • Guest
changing status from pending to completed for donations
February 16, 2010, 01:30:43 pm
Hi,

I recently wrote a plugin for my payment processor to work with civicrm. So everything works well but after a successful transaction, the contribution status in civicrm has to be manually changed from pending to completed.
I know that Paypal is using IPN. Can anyone suggest a method for me?

I am sending the notifyurl to my payment processor like how paypal does. But I am not sure what information i need to send to that url to change the status.

Can someone please help me with this?


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: changing status from pending to completed for donations
February 16, 2010, 01:38:13 pm
Writing the IPN part of a payment processor can be the trickiest part.

I assume you have an IPN file for your payment processor in your extern folder & it is firing a function in your main payment processor? You can pretty much use the same validate functions as in the others (e.g. Payment express) and the same function to confirm the transactions
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

graceofGOD

  • Guest
Re: changing status from pending to completed for donations
February 16, 2010, 02:12:43 pm
Thanks for the reply.

I have IPN file in the extern... It fires the my other IPN file in core/payment/
I am using the same validate functions.

from my payment processor i am sending the response to the notifyurl that my processor received from civicrm.

is this correct? Also, can you tell me what should be the contents of my response to civicrm?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: changing status from pending to completed for donations
February 16, 2010, 03:01:55 pm
OK - so your notifyurl is the path to your IPN file and it is firing and calling your function but your function is not successfully finalising the transaction?
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]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • changing status from pending to completed for donations

This forum was archived on 2017-11-26.