I would like to know what to do at the time that I am getting the payment array from the paid market API. I implemented the server-side status response (in PHP), according to the returns presented in MarketPage documentation .
The complete payment implementation code is available this link .
The question is whether it is correct for me to do this response handling in PHP or if I should do it via Javascript on the page that sends the form to the payment page. (index.php)