I'm trying to read the IPN response and see what paypal is doing (approving the request, refunding $$, cancelling subscription). I just had a refund test put through and the $entry['payment_status'] coming back was listed as approved not refunded (I'm emailing myself stuff at the bottom of the function).
You can see my code below. Basically if approved I want to publish the users posts. Am I reading the IPN response properly for my use case? Is there docs I'm missing on the IPN response that would make this work?