Check Payment Status

I am presently testing an inline JS checkout button. After payment how do I know the transaction status. My platform of development is PHP. My checkout button HTML code is below. The problem is that when user enter their card details into the modal form generated by this button, they are redirected to the specified url as indicted, but how do I detect the status of the payment there. Will response be coming to this page via POST or GET

Pay Now

HI Rabi,

To check payment status you need to setup webhooks. see how to do that here: