Reply
Highlighted
Contributor
Posts: 22
Registered: ‎10-17-2011

CARDPRESENT TEST MODE prior auth capture Error

I am using card present TEST MODE  transaction

 

First i authorized only(auth_only) 100$ using track1

 

then the transaction id is 23456789 has come

 

again i am using the same transaction id(23456789 ) and transaction detail i am capturing the amount using prior auth capture(prior_auth_capture) method

 

This time i am getting below error

"A valid transaction id is required"

 

Please give me the solution ?

 

Thank you

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CARDPRESENT TEST MODE prior auth capture Error

[ Edited ]

Is the transactionID always 0?

Do you mean you set x_test_request  to true or Yes? Test mode do NOT generate transaction on both the sandbox(test) server and production server.

Highlighted
Contributor
Posts: 22
Registered: ‎10-17-2011

Re: CARDPRESENT TEST MODE prior auth capture Error

i am setting x_test_request is false

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: CARDPRESENT TEST MODE prior auth capture Error

Are you send the transaction ID in x_ref_trans_id?

Highlighted
Contributor
Posts: 22
Registered: ‎10-17-2011

Re: CARDPRESENT TEST MODE prior auth capture Error

Thank you for ur reply

you resolved it.