Callbacks for payments?

Does anyone know how I can setup a some callback urls for payments?

Payment complete, callback url to completed.html
Payment failed, callback to failed.html

This shouldn’t be this hard to find and I am getting no where with this extremely simple question.

I am getting referred to documentation and NO WHERE does it mention callback urls.

Why does something so damn simple need to be either a big secret or extremely hard to find?

IT IS SIMPLE, CALLBACK URL AFTER PAYMENT FAILS OF COMPLETES.

Paypal SUCKS and it has this option!

Come on people simple answer please.

Oh yeah not to mention getting referred to dead links.

There is no such thing as a callback for the algod api.

The way you’d do this in javascript is to submit the transaction which provides a transaction id then call waitForConfirmation(client, txid, number_of_rounds) to block until the transaction is confirmed or rejected

If you’ve found dead links on the docs please post them or submit a pr or issue to the docs repo

1 Like