cancel
Showing results for 
Search instead for 
Did you mean: 

Error code : 16. The transaction cannot be found

Hello!

I use this sample https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/charge-customer-prof...

It's ok, and I got 

 

Charge Customer Profile TRANS ID  : 60100534073
Code : 1
Description : This transaction has been approved.

Then I call sleep(40); and then use https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/capture-previously-a...

 

and put there my transaction ID  60100534073.

All I got is:

Capturing the Authorization with transaction ID : 60100534073
Transaction Failed 
 Error code  : 16
 Error message : The transaction cannot be found.

What am I doing wrong? Thanks

serg1992a
Member
1 REPLY 1

Hi @serg1992a

 

What is value of TransactionType you passing ? 

 

Use authOnlyTransaction to authorize the transaction for capture at a later time.

 

https://developer.authorize.net/api/reference/index.html#payment-transactions-authorize-a-credit-car...

 

Also you can test your APIs call in our API reference using the Try it Tab . 

 

Hope it helps 





Send feedback at developer_feedback@authorize.net
Anurag
Administrator Administrator
Administrator