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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • processor_id field in contribution_recur table [storing tokens]
Pages: [1]

Author Topic: processor_id field in contribution_recur table [storing tokens]  (Read 281 times)

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
processor_id field in contribution_recur table [storing tokens]
February 18, 2015, 07:05:10 pm
We're currently storing iATS customer codes (tokens for recurring contributions) in a separate table [and link them to the contribution_recur table] - but are thinking it would be nice to pull all things recurring together in one table -> the CiviCRM core contribution_recur one. It contains a field - that could potentially be appropriate to store tokens:

Code: [Select]
12 processor_id varchar(255) utf8_unicode_ci Yes NULL
Description: "Possibly needed to store a unique identifier for this recurring payment order - if this is available from the processor??"

I can see some data in that processor_id field for my projects that have historic PayPal contributions - though all values appear to be identical to adjacent column: trxn_id - does anyone know of anyone/any application using this processor_id?

Perhaps processor_id could be recycled -> re-designated to: token? This contribution_recur table seems to be the most logical place to store tokens - many payment processors are using tokens these days - they need to be stored somewhere in the CiviCRM database - and rather than storing them with individual payment processor tables - perhaps we could designate a spot in a contribution_recur table [either recycling or adding]?


Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: processor_id field in contribution_recur table [storing tokens]
February 19, 2015, 12:27:05 am
Sounds like a good idea to me
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • processor_id field in contribution_recur table [storing tokens]

This forum was archived on 2017-11-26.