kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

Need to Persist IUserPaymentInformation with Order Data #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ctxl...@gmail.com on 21 Sep 2007 at 10:13

GoogleCodeExporter commented 8 years ago
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.)

Original comment by ctxl...@gmail.com on 25 Sep 2007 at 5:51

GoogleCodeExporter commented 8 years ago
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.

Original comment by horacio....@gmail.com on 19 Dec 2007 at 7:41

GoogleCodeExporter commented 8 years ago
Started at PloneConf sprint. 

Original comment by cjj.ifpe...@gmail.com on 11 Oct 2008 at 8:49

GoogleCodeExporter commented 8 years ago
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.

Original comment by ctxl...@gmail.com on 12 Oct 2008 at 4:21