Ajax.BeginForm calls an action and then returns JSON.
How do I access JSON object in my OnComplete js function?
so my Ajax.BeginForm<
function OnSuccess(e) { //function CouponSubmitted(data) in the question
var json = e.get_response().get_object();
alert(json.success);
}
This is what the AJAX.BeginForm OnSuccess callback expects you to do to get your JSON back.
Hope I saved someone else some time on this ridiculously under documented "feature?".