Paypal Postback Website returning HTML document instead of "Verified" or "Invalid". Worked Before.
Punkte
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-01-2017
07:48 AM
Hey guys,
So I've been struggling with this for the last couple months or so. Something has changed within the last couple months and it has caused our Paypal Integration to not work.
For some reason now, the Postback returns raw HTML instead of the "Verified" or "Invalid".
Has anyone encountered this before and is there anything we can do to fix this? I tried opening up a support ticket a while ago with Paypal, but the support on it has been somewhat lacking and I haven't received an answer.
This is the code that our server uses to handle and verify that the payment went through correctly.
private static void EndVerification(HttpWebRequest webReq, string state, HttpWebResponse webRes) { var content = webRes.GetContent(); System.IO.File.AppendAllLines("IPN.log", new[] {"\n\nREQUEST:\n", state, "\n\nRESPONSE:\n", content}); if (Insensitive.Contains(content, "VERIFIED")) { using (var queries = new WebAPIQueries(state)) { ProcessTransaction(queries); } RefreshAdminUI(); } }
Thanks!
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Buy Now button and variables return / Retour avec bouton "buy now" in PayPal Payments Standard
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- Re: Enable the return of billing address in Sandbox Environment
- Cart dropps items, fails to return customer to previous window in PayPal Payments Standard
- why can't I have auto return on standard buttons in PayPal Payments Standard