Attempt to charge recurring fee 51 failed.

Posts: 42
Joined: 08/12/2008
Bug FinderGetting busy with the Ubercode.

I get the following error when I try to "charge" a recurring fee on the Orders -> Recurring fees screen:

"Attempt to charge recurring fee 51 failed."

These are the errors that I get in the watchdog log:

"Customer payment profile could not be created. User: 1, Error: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardNumber' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value."

"CIM Charge failure. Raw gateway response: . Raw CIM response: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardNumber' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value."

"Failed to capture recurring fee of 10.00 for product 20080812 on order 15."

The above testing was done using the Billing Information and Payment checkout panes.

When I disable them and enable "Payment Information" pane, I get the same error, but the watchdog logs are different:

"Attempt to charge recurring fee 53 failed."

The watchdog error messages are:

"CIM Charge failure. Raw gateway response: 3|1|11|A duplicate transaction has been submitted.||P|0|18|Test product x1, Teacher 1: Erich Schiffmann, Teacher 2: Kira Ryder|10.00|CC|auth_capture|1|Someone|Someone||1 some street|Berkeley|CA|94703|United States|||someone@gmail.com||||||||||||||74078B398622E4FBDC0FB5469D7A2054||||||||||||||||||||||||||||||. Raw CIM response: The transaction was unsuccessful."

"Failed to capture recurring fee of 10.00 for product 20080812 on order 18."

Any ideas?

UPDATE: I just tried it again with the Payment Information pane, and it worked, then again, and it failed. It seems that if I try to charge too soon, it thinks it's the same transaction. Waiting for a minute or two, it seems to work fine.

UPDATE: With the Billing and Payment checkout panes, it fails every time. It seems that it needs the CC info stored with CIM to make ARB work.

Thanks,
Andrey.

P.S. Another issue - saved addresses don't auto-populate the fields in the Payment Information checkout pane. The Address Book select box is there, but upon selecting an address, the address fields below are left blank.

They are also not required for some reason?

NEW Authorize.net Customer Information Manager By: xerbutter (83 replies) Wed, 11/21/2007 - 12:50