Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add Payload Parsing to the gem #143

Open
bhox opened this issue May 1, 2017 · 1 comment
Open

Feature: Add Payload Parsing to the gem #143

bhox opened this issue May 1, 2017 · 1 comment

Comments

@bhox
Copy link

bhox commented May 1, 2017

When users visit an App from BigCommerce, the request includes a signed payload. There is sample ruby code for it here: https://developer.bigcommerce.com/api/#processing-the-signed-payload

This should be added to the gem so it's super easy to parse the payloads. 👍

@bookernath
Copy link
Contributor

Hi @benhoxie,

For the moment our philosophy is to keep the API clients rather low-level, assuming you already have some credentials and you just want to run requests against resources easily.

For people who want a strong example for how to handle the OAuth callback we maintain a sample app, here's the relevant code: https://github.com/bigcommerce/hello-world-app-ruby-sinatra/blob/master/hello.rb#L100

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

No branches or pull requests

3 participants