bigcommerce-api-ruby icon indicating copy to clipboard operation
bigcommerce-api-ruby copied to clipboard

Feature: Add Payload Parsing to the gem

Open bhox opened this issue 7 years ago • 1 comments

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. 👍

bhox avatar May 01 '17 23:05 bhox

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

bookernath avatar May 07 '17 04:05 bookernath