you can just do this to get ipn details. result will show you verified or not. you can get all details from body
post '/english/ipn' do
url = "https://sandbox.paypal.com/cgi-bin/webscr?cmd=_notify-validate{@query}"
body = request.body.string
result = RestClient.post url, body
end