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
03-17-2018 04:29 AM
Hi @serg1992a
What is value of TransactionType you passing ?
Use authOnlyTransaction
to authorize the transaction for capture at a later time.
Also you can test your APIs call in our API reference using the Try it Tab .
Hope it helps
03-18-2018 11:36 PM