My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 116: Need to Persist IUserPaymentInformation with Order Data
  Back to list
Status:  Fixed
Owner:  ctxlken
Closed:  Oct 2008
Cc:  asagliocco
Type-Defect
Priority-High


Sign in to add a comment
 
Reported by ctxlken, Sep 21, 2007
We currently just collect the card holder name, cc#, exp date, etc. during
checkout and post that info to the payment processor, but wouldn't it be
nice to be able to retain the name, phone, etc. within Plone and be able to
contact someone regarding their payment.

We especially need the last-4 digits of the CC# in order and/or the
processor_order_id in order to correlate PGP orders with Authorize.net or
other payment processor order reports.


Comment 1 by ctxlken, Sep 25, 2007
Changing status to High from Critical, since we now have a way to cross-reference PGP
orders to Auth.net transactions via the 'Invoice#' field on the Auth.net side.

I still think we should persist this on the PGP side as well, so we have a way to
know who purchased what (for anonymous orders that have no customer id on the
Plone/PGP side.)


Labels: -Priority-Critical Priority-High
Comment 2 by horacio.duran, Dec 19, 2007
Ok the last four digits magic is done, in getpaid.authorizenet by kapilt, in
getpaid.paymentech by lucielejard and in getpaid.nullpaymet by javimansilla.
The recipe is simple:
#We define the annotation key
LAST_FOUR = "getpaid.PAYMENT_PROCESSOR_NAME.cc_last_four"
#Then in our code we store the last four by getting the annotation and setting the
#corresponding key
annotation = IAnnotations( order )
annotation[ LAST_FOUR ] = CREDIT_CARD_LAST_4_DIGITS

javimansilla made me realize that this is not optimal (the case proposed was that you
change the payment processor and yet you have the key with the other one's name),
perhaps we should find a way to have a generic getpaid.cc_last_four and a way inside
it to identify the payment processor, i would suggest a dict inside the cc_last_four
key but I am not familiar enough with the internals of this.

Comment 3 by cjj.ifpeople, Oct 11, 2008
Started at PloneConf sprint. 
Status: Started
Owner: ctxlken
Cc: asagliocco
Comment 4 by ctxlken, Oct 12, 2008
We've persisted these fields to the getpaid order and modified the Orders list page
(Orders tab in GetPaid Site Setup admin screens), so that an orders administrator can
reconcile getpaid orders to the processor's orders (cross-referencing of order/trans
IDs to card names, last4, etc.)  Admins can do a lot more reconciling without logging
into processor's web admin UI.
Status: Fixed
Sign in to add a comment

Hosted by Google Code