IOS In APP Purchase Verification in Rails

Learning with Earning

itunes-receipt verification Gem
Apple guide for InAppVerification

Source Code For ROR and IOS
Hacker Exploit Flaw

In your controller file


class Api::InAppPurchaseController  e
      render json:  {:status => "error", :message => e.message}, :status => 400
  end
  
end

In routes.rb


namespace :api do
   match "in_app_purchase/verify_receipt" => "in_app_purchase#verify_receipt", via: :post
end

View original post

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s