FAQ: error while adding a CC to test account

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FAQ: error while adding a CC to test account

Mauricio Tavares
I was finally trying to do a test purchase. So, I created an account
with a test MC number. When I tried to commit, I got the following
message:

The Following Errors Occurred:

ERROR: Could not complete the Create Credit Card
[file:/home/raub/ofbiz-trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml#createCreditCard]
process [problem invoking the [createCreditCard] service with the map
named [context] containing [[partyId=null, companyNameOnCard=Burp,
titleOnCard=Mr., firstNameOnCard=Hey, middleNameOnCard=null,
lastNameOnCard=There, suffixOnCard=Jr., cardType=MasterCard,
cardNumber=************5454, contactMechId=10000, description=Fake,
expireDate=01/2016,
userLogin=[GenericEntity:UserLogin][createdStamp,2009-12-18
04:36:12.077(java.sql.Timestamp)][createdTxStamp,2009-12-18
04:36:07.859(java.sql.Timestamp)][currentPassword,{SHA}5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8(java.lang.String)][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-12-18
04:36:12.077(java.sql.Timestamp)][lastUpdatedTxStamp,2009-12-18
04:36:07.859(java.sql.Timestamp)][partyId,10000(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,[hidden email](java.lang.String)],
locale=en_US]]: Service [createCreditCard] target threw an unexpected
exception (For input string: "*")]

What is it trying to tell me? Is this a card issue or something else?
Reply | Threaded
Open this post in threaded view
|

Re: FAQ: error while adding a CC to test account

Abdullah Shaikh-3
Yes its a card issue, the error is because the cardNumber is
"************5454" instead it should be the actual card no., I mean without
masking it with "*". Have you done the masking yourself (code change) ?

Can you explain the flow how did you got to this error ?

- Abdullah

On Fri, Dec 18, 2009 at 10:07 PM, Mauricio Tavares <[hidden email]>wrote:

> I was finally trying to do a test purchase. So, I created an account
> with a test MC number. When I tried to commit, I got the following
> message:
>
> The Following Errors Occurred:
>
> ERROR: Could not complete the Create Credit Card
>
> [file:/home/raub/ofbiz-trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml#createCreditCard]
> process [problem invoking the [createCreditCard] service with the map
> named [context] containing [[partyId=null, companyNameOnCard=Burp,
> titleOnCard=Mr., firstNameOnCard=Hey, middleNameOnCard=null,
> lastNameOnCard=There, suffixOnCard=Jr., cardType=MasterCard,
> cardNumber=************5454, contactMechId=10000, description=Fake,
> expireDate=01/2016,
> userLogin=[GenericEntity:UserLogin][createdStamp,2009-12-18
> 04:36:12.077(java.sql.Timestamp)][createdTxStamp,2009-12-18
>
> 04:36:07.859(java.sql.Timestamp)][currentPassword,{SHA}5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8(java.lang.String)][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2009-12-18
> 04:36:12.077(java.sql.Timestamp)][lastUpdatedTxStamp,2009-12-18
>
> 04:36:07.859(java.sql.Timestamp)][partyId,10000(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,
> [hidden email](java.lang.String)],
> locale=en_US]]: Service [createCreditCard] target threw an unexpected
> exception (For input string: "*")]
>
> What is it trying to tell me? Is this a card issue or something else?
>