Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is /tx-info/<txid> status based on? #42

Closed
MugenTwo opened this issue Dec 27, 2023 · 1 comment
Closed

What is /tx-info/<txid> status based on? #42

MugenTwo opened this issue Dec 27, 2023 · 1 comment

Comments

@MugenTwo
Copy link

Sorry if this is not the correct place to ask quesions... but I see you are pretty active here.

What is the /tx-info/ "status" propery based on? I read the code and I can't seem to see the big picture.
I tried comparing it with the status of the transaction in the block explorer and it doesn't seem to wait for confirmations.

Do you perhaps assume that the transaction will just be "successful" after sending it the respective crypto's blockchain?

@dmytro-samoylenko
Copy link
Member

Hello,

/tx-info/<txid>/<external_id> endpoint was introduced to show more details about transaction in WHMCS billing system (https://developers.whmcs.com/payment-gateways/transaction-information/) using our Shkeeper module for WHMCS. status property only signify if the api request to the endpoint was successful or not. It is not connected in any way with blockchain transaction status. However, any incoming transaction you see in Shkeeper has to be "successful", otherwise it wouldn't be registered within Shkeeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants