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) »
  • How does contribution status work?
Pages: 1 [2]

Author Topic: How does contribution status work?  (Read 6183 times)

mike4miyu

  • Guest
Re: How does contribution status work?
June 05, 2007, 05:43:20 am
Unfortunately my success was short lived. 

I can't confirm if it was related but I upgraded to 1.7.9682
Before upgrading I had one successful IPN with a donation (that was the woo hoo above). Since upgrading I have had two event registrations and a membership signup and another donation all stuck on 'Pending'  :'(

I will look through the log file but I'm not sure what to look for.

Mike

Andy Laken

  • I’m new here
  • *
  • Posts: 27
  • Karma: 3
Re: How does contribution status work?
June 11, 2007, 10:34:21 pm
Just wanted to close the loop: as of tonight I am successfully getting IPNs from the PayPal sandbox. The following things were necessary to get it working:

  • I'm running on a local development box on a residential DSL line. Verizon blocks port 80, therefore I needed to run my local server on an alternate port like 8080. Also needed to open that port in my firewall so PayPal could post the IPN. (If your server runs on open port 80 no need to do anything special.)
  • I had to set Global Settings -> Resource URLs -> CiviCRM resource url to an absolute URL, e.g. http://www.mydomain.com:8080/sites/ck/modules/civicrm/ - I had it set as a relative URL which works for most purposes but not for PayPal IPN!
  • And of course you need to correctly set up your PayPal sandbox accounts as detailed in the PayPal documentation. This is a pain and takes a while, as you need to create at least one testing merchant account and one testing consumer account, but it's pretty straightforward
  • Once that's all set up the instructions here worked fine: http://wiki.civicrm.org/confluence/display/CRMDOC/PayPal+Website+Payments+Standard+and+Recurring+Contributions
  • Last gotcha was that test transactions don't show up by default on the main CiviContribute page - you need to search for contributions and check the box to display test contributions - then they show up

See attachment for an example transaction - nice how it records exactly how much PayPal charged for processing.

So now I can go to bed happy!
Andy Laken
Engineer | CivicActions, LLC
e: andy.laken@civicactions.com | skype: mcantsin | http://twitter.com/alaken

mike4miyu

  • Guest
Re: How does contribution status work?
June 20, 2007, 07:45:40 am
Well I found my problem.
My code base must have been corrupted since the last update.

I was silly enough to untar locally and then uploaded the whole directory using ftp.  :-[
Ive learnt my lesson.  Always untar on the server!

Can't believe I've been pulling my hair out over this.

I just upgraded to 1.7.9821.in the correct manner and ALL my problems are fixed  :D

Thanks everyone for your help.

Mike
« Last Edit: June 20, 2007, 07:52:52 am by mike4miyu »

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How does contribution status work?

This forum was archived on 2017-11-26.