How to detect if there are new payments.

I want to make a cryptocoin payment php on my website, all the information is already good. The only problem is how to know if my member already pays those payments and if he already pays to update my database,

Does anyone know about this?