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) »
  • Payjunction & recurring contributions
Pages: [1]

Author Topic: Payjunction & recurring contributions  (Read 1930 times)

tonyg

  • Guest
Payjunction & recurring contributions
May 29, 2008, 01:24:31 pm
Hey everyone. I'm setting up a contribution page for a client and they have Payjunction as their payment processor.  I set up the page fine but I can't seem to find where to enable recurring contributions.  According to this page http://wiki.civicrm.org/confluence/display/CRMDOC/PayJunction+Configuration and Payjunction themselves, recurring contributions are possible.

But when i go the contribution page, click on contribution amounts (where you should be able to enable recurring contributions if the processor allows it), there is nothing allowing me to enable recurring contributions. Am i just missing something totally obvious or is it not there? Where does the contributor make a recurring donation?  The client is running CiviCRM 1.9.12432

any help on this would be greatly appreciated.
thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Payjunction & recurring contributions
May 30, 2008, 02:21:59 pm
Tony - Not sure about 1.9, but in 2.0 you need to do the following to enable recurring contributions for PayJunction:

1. Manage Contribution Pages >> Configure >> Title and Settings : Make sure Payment Processor is set to PayJunction
2. Manage Contribution Pages >> Configure >> Contribution Amounts : You should see the Enable Recurring Contributions checkbox. If you check it, then when you go to the contribution page as a contributor, you should see the additional option to make a recurring contribution.

CAVEAT: PayJunction is a community contributed processor and I have not personally tried to use it or verified that the recurring contribution feature works.
Protect your investment in CiviCRM by  becoming a Member!

tonyg

  • Guest
Re: Payjunction & recurring contributions
June 02, 2008, 07:34:06 am
Hi Dave. thanks for the reply. I don't think I explained myself well.  I knew where to go in the interface to enable recurring contributions but the issue was for the Payjunction payment processor, that checkbox wasn't there in the "Contributions Amounts" section.  It apparently needs to be enabled in the code first.  This probably needs to be done in 2.0 as well because I tested my issue in 2.0 and got the same missing checkbox. 

I got this help from Michael Morris at Phase 2 Technology and it appeared once the below is done:

This is the table that stores the payment processors.  Make sure the entry for PayJunction has a “1” set for the “is_recur” field.

Code: [Select]
mysql> describe civicrm_payment_processor;

+------------------------+------------------+------+-----+---------+----------------+

| Field                  | Type             | Null | Key | Default | Extra          |

+------------------------+------------------+------+-----+---------+----------------+

| id                     | int(10) unsigned | NO   | PRI | NULL    | auto_increment |

| domain_id              | int(10) unsigned | NO   | MUL | NULL    |                |

| name                   | varchar(64)      | YES  | MUL | NULL    |                |

| description            | varchar(255)     | YES  |     | NULL    |                |

| payment_processor_type | varchar(255)     | YES  |     | NULL    |                |

| is_active              | tinyint(4)       | YES  |     | NULL    |                |

| is_default             | tinyint(4)       | YES  |     | NULL    |                |

| is_test                | tinyint(4)       | YES  |     | NULL    |                |

| user_name              | varchar(255)     | YES  |     | NULL    |                |

| password               | varchar(255)     | YES  |     | NULL    |                |

| signature              | varchar(255)     | YES  |     | NULL    |                |

| url_site               | varchar(255)     | YES  |     | NULL    |                |

| url_recur              | varchar(255)     | YES  |     | NULL    |                |

| url_button             | varchar(255)     | YES  |     | NULL    |                |

| subject                | varchar(255)     | YES  |     | NULL    |                |

| class_name             | varchar(255)     | YES  |     | NULL    |                |

| billing_mode           | int(10) unsigned | NO   |     | NULL    |                |

| is_recur               | tinyint(4)       | YES  |     | NULL    |                |

+------------------------+------------------+------+-----+---------+----------------+

18 rows in set (0.00 sec)

Then run this query

Code: [Select]
mysql> update civicrm_payment_processor set is_recur=1 where name='PayJunction'; 
Again, once you do this, the enable recurring contributions under Manage Contribution Pages >> Configure >> Contribution Amounts will appear.

Thanks to Michael for this!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Payjunction & recurring contributions
June 02, 2008, 07:49:19 am
Hi Tony - This is interesting because the "install" sql scripts in the repository for both 1.9 and 2.0 have that is_recur flag set to '1' for PayJunction. So I guess this was an updgrade or w/in release change since I think the recurring functionality was added after the initial version of the processor plugin.

It would be awesome if you could update the PayJunction section of the wiki with a troubleshooting comment for others who might hit this. Also, if there's any additional info with regard to how the recurring payment option works / things to watch out for / etc based on your experience - that would be great to include. Thx!
Protect your investment in CiviCRM by  becoming a Member!

tonyg

  • Guest
Re: Payjunction & recurring contributions
June 02, 2008, 09:08:52 am
Funny you should mention the Wiki  :)  When Michael and I talked he already volunteered to update the wiki. Changes are made and posted here: http://wiki.civicrm.org/confluence/display/CRMDOC/PayJunction+Configuration

if any other issues come up with our client and payjunction, i'll post them there

big thanks to Michael on this!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Payjunction & recurring contributions

This forum was archived on 2017-11-26.