Module: AmazonMarketplace::Helpers::NotificationHelper

Defined in:
lib/AmazonMarketplace/helpers/notification_helper.rb

Overview

Adds a valid_AmazonMarketplace_request? method to your ActionControllers.

In order to use this, you should just directly hand your params into the method:

class FooController < ApplicationController

  def receive_ipn
    if valid_AmazonMarketplace_request?(params)
      ... record something useful ...
    else
      ... maybe log a bad request? ...
    end
  end

end