On Coinbase under Merchant Profile I'm entering the URL: https://www.scirra.com/handlers/coinbasecallback.ashx

For the IPN tester. This ashx page has the code:

var r = "";
foreach(string name in context.Request.Form)
    r +=(name + " = " + context.Request.Form[name] + "<br><br>");
r += "<br><br>" + context.Request.QueryString;
Amazon.Emailer.SendEmail("xxx@domain.com","xxx@domain.com","Callback Dat", r);

The email I receive contains absolutely no data, although the logs page on Coinbase implies it's posting JSON data and returning HTTP 200 (success).

Am I doing something wrong? Or is this a broken feature? Can I (semi) safely assume that it posts the JSON in live mode? And if so, do I simply Request.Form[0] to retrieve it or does it have a string index?

Thanks for any help!


Instant Payment Notification callbacks are POSTed in the form of JSON data. The issue may be that you're attempting to iterate over regular http params that aren't there, instead of parsing the response body as JSON. I've never used ASP.net before but this topic looks like it may help:


  • 1
    Thanks for answer, Coinbase did contact me and confirm that the JSON data isn't being posted for test page, and they are working on a fix!
    – Tom Gullen
    Oct 22 '13 at 23:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.