Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

AmazonMarketplaceWebService.registration_url #74

Open
pismopomoyka opened this issue Jan 6, 2016 · 0 comments
Open

AmazonMarketplaceWebService.registration_url #74

pismopomoyka opened this issue Jan 6, 2016 · 0 comments

Comments

@pismopomoyka
Copy link

I am sorry for it. I want to ask a question but don't know how. So i have used issues.
I have found VERY interesting code for my:

module ActiveFulfillment
      class AmazonMarketplaceWebService < Service
        ..........
        def registration_url(options)
          opts = {
            "returnPathAndParameters" => options["returnPathAndParameters"],
            "id" => @options[:app_id],
            "AWSAccessKeyId" => @options[:login],
            "SignatureMethod" => "Hmac#{SIGNATURE_METHOD}",
            "SignatureVersion" => SIGNATURE_VERSION
          }
          signature = sign(:get, REGISTRATION_URI, opts)
          "#{REGISTRATION_URI.to_s}?#{build_query(opts)}&Signature=#{signature}"
        end
        .........
end

Anybody can tell what is it "id" value? How can i get this value? I was looking for Amazon documentations about this MWS API but has found nothing.
I develop application and i want use this API for getting AmazonAuthToken.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant