Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Shopify Application Development

You're reading from   Shopify Application Development Build highly effective Shopify apps using the powerful Ruby on Rails framework

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781783281053
Length 106 pages
Edition Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Michael Larkin Michael Larkin
Author Profile Icon Michael Larkin
Michael Larkin
Arrow right icon
View More author details
Toc

High-level requirements


As we did earlier, we are going to create a list of requirements that we'll turn into sprints. We'll then create topic branches for each sprint. Finally, we'll merge our code into the master branch once we're satisfied that we've met all the requirements and that all of the tests have passed. For this chapter, our requirements are as following:

  • Support multiple accounts

  • Authorize user access to data

  • Verify requests from Shopify

  • Install from the Shopify App Store

  • Subscribe to and process Shopify Webhooks

Supporting multiple accounts

We'll need to update our Account model by adding a few more columns to store additional information from Shopify. We'll also remove the shopify_shared_secret and shopify_api_key columns and store the values in global variables. As can be inferred from the name, this secret will be used whenever we need to make an API request or verify an incoming request from Shopify.

As usual, we'll make a topic branch for our work with the following command:

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image