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) »
  • Custom Invoice Numbers for Authorize.net
Pages: [1]

Author Topic: Custom Invoice Numbers for Authorize.net  (Read 775 times)

foilhl2

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal
  • MySQL version: 5.4
  • PHP version: 5.2
Custom Invoice Numbers for Authorize.net
August 01, 2012, 12:01:43 pm
We have been using the Authorize.net gateway and have been recently trying to figure out how Authorize is getting its "Invoice #" values? I am assuming Civi is passing something to the gateway with each transaction, but there seems to be no rhyme or reason to the ordering. Single payments end up as something like "ec93da64c0e34953d48c" and ARB payments as double or sometimes 3 digit numbers.

What we would really like to do is customize each Invoice number with something useful like the contact ID followed by a time stamp. Has anyone done this - customize the invoice number being passed to the processor for every transaction?

Also - does anyone know if Authorize.net uses the same Invoice # for ARB each subscription?

foilhl2

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal
  • MySQL version: 5.4
  • PHP version: 5.2
Re: Custom Invoice Numbers for Authorize.net
August 01, 2012, 12:06:17 pm
Okay ... I am just now noticing that for the ARB transactions, the Civi Invoice number and the Authorize.net Invoice number do not match up.

The Civi Invoice # follows the same pattern as single payments . i.e. "fd8c345190ff612fdbb02f6a50ead3e1" - but all of the Authorize.net ARB payments have different number like "10" or "930". This is only happening with ARB payments, not single payments.

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: Custom Invoice Numbers for Authorize.net
August 01, 2012, 02:31:21 pm

is this just the first payment or all payments?

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

foilhl2

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal
  • MySQL version: 5.4
  • PHP version: 5.2
Re: Custom Invoice Numbers for Authorize.net
August 06, 2012, 12:30:03 pm
It does this for all ARB payments.

Currently, we have just one ARB that has hit the second payment in the cycle, and it has the same Invoice number for both - "10"

The other are on the first payment of the cycle, but they all have non-matching Invoice numbers as well.

At a minimum, I think we would like to see matching invoice numbers between Authorize and Civi. Ideally, I would like to customize what that invoice number is and was looking for the best method to do so.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Custom Invoice Numbers for Authorize.net

This forum was archived on 2017-11-26.