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

Author Topic: recurring payments  (Read 1407 times)

westre

  • Guest
recurring payments
September 25, 2008, 08:45:47 pm
I have someone donating a recurring monthly amount. It posted the first one fine but none of the recurrings show up after processed by paypal. After the first do I have to add the monthly's manually?

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: recurring payments
September 25, 2008, 11:01:35 pm
No need to do manually entry, PayPal  send the next payment ( IPN ) after one month and make next entry for recurring contribution

The log will be like
Aug 28 16:54:58  [info] $GET = Array
(
    [reset] => 1
    [contactID] => 102
    [contributionID] => 1
    [module] => contribute
    [contributionRecurID] => 1
    [contributionPageID] => 1
)


Aug 28 16:54:58  [info] $POST = Array
(
    [payment_date] => 04:25:23 Aug 28, 2008 PDT
    [txn_type] => subscr_payment
    [subscr_id] => S-9G3202016V098330V
    [last_name] => User
    [residence_country] => US
    [item_name] => Online Contribution: Help Support CiviCRM!
    [payment_gross] => 50.00
    [mc_currency] => USD
    [business] => **********************
    [payment_type] => instant
    [verify_sign] => Aiy7W-JvtSbDGAOmzeJrkTppYfZfAM.csLHNzb7QNqkLRLc09oReWl-y
    [payer_status] => verified
    [test_ipn] => 1
    [payer_email] => ************************
    [txn_id] => 7BU78279TM083973U
    [receiver_email] => ******************************
    [first_name] => Test
    [invoice] => e784945449b47aecb8a7442bae4d7af8
    [payer_id] => BZTDM6ASXCFAY
    [receiver_id] => 9LTCMTV5RX7QQ
    [payment_status] => Completed
    [payment_fee] => 1.75
    [mc_fee] => 1.75
    [mc_gross] => 50.00
    [charset] => windows-1252
    [notify_version] => 2.4
)
The community around a product more important than the product itself?

westre

  • Guest
Re: recurring payments
September 26, 2008, 08:03:01 am
the recurring has posted in paypal for three months but my civicrm still only shows the first. Have I missed a step in setting up my contribution page? Where is the log? am I possibly not running a cronjob to process the IPN?
« Last Edit: September 26, 2008, 09:32:24 am by westre »

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: recurring payments
September 26, 2008, 11:34:46 am
can u check files/upload/CiviCRM.log

we log all IPN transactions there. Note that there were a few bugs which we found in 2.0 which prevented recurring contributions from showing. You might want to ensure you are using the latest 2.0.x version

lobo
« Last Edit: September 26, 2008, 11:36:33 am by Donald 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

westre

  • Guest
Re: recurring payments
September 26, 2008, 01:21:58 pm
Joomla 1.0.15 CiviCRM 2.0.5
I looked in the log file and found this error. Any Ideas?

Sep 23 08:21:02  [info] $Fatal Error Details = Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

         => -1
       
[message] => DB Error: unknown error
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_contribution (domain_id , contribution_page_id , receive_date , total_amount , fee_amount , net_amount , trxn_id , invoice_id , receipt_date , source , contribution_recur_id , contribution_status_id ) VALUES ( 1 ,  1 ,  20080923082102 ,  20.00 ,  0.74 ,  19.26 , '2YL941335B104840W' , '95c1b15cb3eabccefd3510cf322638bd' ,  20080923082102 , 'Online Contribution: Donations' ,  1 ,  1 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`**********/civicrm_contribution`, CONSTRAINT `FK_civicrm_contribution_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_contribution (domain_id , contribution_page_id , receive_date , total_amount , fee_amount , net_amount , trxn_id , invoice_id , receipt_date , source , contribution_recur_id , contribution_status_id ) VALUES ( 1 ,  1 ,  20080923082102 ,  20.00 ,  0.74 ,  19.26 , '2YL941335B104840W' , '95c1b15cb3eabccefd3510cf322638bd' ,  20080923082102 , 'Online Contribution: Donations' ,  1 ,  1 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`*********/civicrm_contribution`, CONSTRAINT `FK_civicrm_contribution_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
    [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_contribution (domain_id , contribution_page_id , receive_date , total_amount , fee_amount , net_amount , trxn_id , invoice_id , receipt_date , source , contribution_recur_id , contribution_status_id ) VALUES ( 1 ,  1 ,  20080923082102 ,  20.00 ,  0.74 ,  19.26 , '2YL941335B104840W' , '95c1b15cb3eabccefd3510cf322638bd' ,  20080923082102 , 'Online Contribution: Donations' ,  1 ,  1 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`********/civicrm_contribution`, CONSTRAINT `FK_civicrm_contribution_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]"]
)
« Last Edit: September 29, 2008, 08:26:18 pm by westre »

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

This forum was archived on 2017-11-26.