Add status PAYMENT_DECLINED.

This commit is contained in:
2011-02-08 16:36:25 +00:00
parent 866505868e
commit f58c2219c5
2 changed files with 15 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
#---Order Processor Settings--- #---Order Processor Settings---
#Sat Jan 29 09:08:26 EST 2011 #Tue Feb 08 11:33:05 EST 2011
server_parrword=ghHagtj3wfMjx/hHetKlFmvfd9ho54c4
database_name=Orders database_name=Orders
save_password=false server_parrword=3qR0VY2ngKq+4rxX59oRtmHOIBKKLb96
save_password=true
use_remote_server=true
server_location=tcdevsvn1 server_location=tcdevsvn1
use_remote_server=false
server_port_number=3306 server_port_number=3306
server_user_name=ricky.barrette server_user_name=ricky.barrette

View File

@@ -47,7 +47,14 @@ public enum Status {
/** /**
* A fulfillment status representing that the order is new * A fulfillment status representing that the order is new
*/ */
NEW; NEW,
/**
* A financial status representing that the authorization of the customer's credit card failed.
* Google has sent an email instructing the customer to update their card.
* If they fail to provide a valid card within 7 days, this order will be automatically canceled by Google.
*/
PAYMENT_DECLINED
; ;
@@ -81,6 +88,9 @@ public enum Status {
if(s.equals(NEW.toString())) if(s.equals(NEW.toString()))
return NEW; return NEW;
if(s.equals(PAYMENT_DECLINED.toString()))
return PAYMENT_DECLINED;
return null; return null;