cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Accept.js Authorize --> Capture = Error 29 Payment information required

I'm using the sandbox. I can process, authorize, void payments, but I can't seem to capture a previously authorized payment. I get error 29 - Payment information required. The error codes reference suggests:

EXPLANATION: The Paymentech identification numbers are incorrect. Call Merchant Service Provider.

OTHER SUGGESTIONS: Invalid Paymentech client number, merchant number or terminal number.

 

Which don't make sense.

 

Some more info below. Any idea what's going on?

 

Here's what it looks like:

 

18:24:24 web.1 | <createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
18:24:24 web.1 | <merchantAuthentication>
18:24:24 web.1 | <name>7kVTwv926</name>
18:24:24 web.1 | <transactionKey>5A9X4wa448swQ6md</transactionKey>
18:24:24 web.1 | </merchantAuthentication>
18:24:24 web.1 | <refId>GMQHPJZ8B375YS-PGTMA</refId>
18:24:24 web.1 | <transactionRequest>
18:24:24 web.1 | <transactionType>priorAuthCaptureTransaction</transactionType>
18:24:24 web.1 | <amount>53.50</amount>
18:24:24 web.1 | <refTransId>40001904924</refTransId>
18:24:24 web.1 | <order>
18:24:24 web.1 | <invoiceNumber>GMQHPJZ8B375YS-PGTMA</invoiceNumber>
18:24:24 web.1 | <description>2x sale</description>
18:24:24 web.1 | </order>
18:24:24 web.1 | <lineItems>
18:24:24 web.1 | <lineItem>
18:24:24 web.1 | <itemId>1255</itemId>
18:24:24 web.1 | <name>sale</name>
18:24:24 web.1 | <description/>
18:24:24 web.1 | <quantity>2</quantity>
18:24:24 web.1 | <unitPrice>25.0</unitPrice>
18:24:24 web.1 | </lineItem>
18:24:24 web.1 | </lineItems>
18:24:24 web.1 | <userFields>
18:24:24 web.1 | <userField>
18:24:24 web.1 | <name>x_currency_code</name>
18:24:24 web.1 | <value>USD</value>
18:24:24 web.1 | </userField>
18:24:24 web.1 | </userFields>
18:24:24 web.1 | </transactionRequest>
18:24:24 web.1 | </createTransactionRequest>

 

Response:

 

18:24:25 web.1 | params:
18:24:25 web.1 | action: :capture
18:24:25 web.1 | response_code:
18:24:25 web.1 | response_reason_code: '29'
18:24:25 web.1 | response_reason_text: Payment information is required
18:24:25 web.1 | avs_result_code:
18:24:25 web.1 | transaction_id:
18:24:25 web.1 | card_code:
18:24:25 web.1 | authorization_code:
18:24:25 web.1 | cardholder_authentication_code:
18:24:25 web.1 | account_number:
18:24:25 web.1 | test_request:
18:24:25 web.1 | message: Payment information is required
18:24:25 web.1 | success: false
18:24:25 web.1 | test: true
18:24:25 web.1 | authorization: "##capture"
18:24:25 web.1 | fraud_review: false
18:24:25 web.1 | error_code:
18:24:25 web.1 | emv_authorization:
18:24:25 web.1 | avs_result:
18:24:25 web.1 | code:
18:24:25 web.1 | message:
18:24:25 web.1 | street_match:
18:24:25 web.1 | postal_match:
18:24:25 web.1 | cvv_result:
18:24:25 web.1 | code:
18:24:25 web.1 | message:

guestmanager
Member
1 REPLY 1

Hello @guestmanager

 

It appears  you're including some some extra fields not supported by Capture a Previous Authorized Amount.  If you remove the items below order (lineitems, userfields) it should run properly.

 

Richard

 

RichardH
Administrator Administrator
Administrator