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) »
  • Errors submitting second contribution
Pages: [1]

Author Topic: Errors submitting second contribution  (Read 555 times)

dschafer

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 3
    • Backoffice Thinking
  • CiviCRM version: 3.2.3 - 4.4.4
  • CMS version: Drupal 6.x, 7.x, Wordpress
  • MySQL version: 5.1.x - 5.5.x
  • PHP version: 5.2.x - 5.4.x
Errors submitting second contribution
August 31, 2010, 02:31:55 pm
We are testing payment processing with a new client using a test authorize.net account.

Whenever we enter a 2nd credit card transaction there is an error.

The specific error is:

Database Error Code: Field 'amount' doesn't have a default value, 1364
Additional Details:
Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , currency ) VALUES ('civicrm_contribution' ,  34 ,  14 , 'USD' )  [nativecode=1364 ** Field 'amount' doesn't have a default value]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , currency ) VALUES ('civicrm_contribution' ,  34 ,  14 , 'USD' )  [nativecode=1364 ** Field 'amount' doesn't have a default value]
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_entity_financial_trxn (entity_table , entity_id , financial_trxn_id , currency ) VALUES ('civicrm_contribution' ,  34 ,  14 , 'USD' )  [nativecode=1364 ** Field 'amount' doesn't have a default value]"]
)

It appears that for some reason the amount is not being generated.

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

This forum was archived on 2017-11-26.