{"action":"opened","issue":{"url":"https://api.github.com/repos/amie-wilt/assignments/issues/38","labels_url":"https://api.github.com/repos/amie-wilt/assignments/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/amie-wilt/assignments/issues/38/comments","events_url":"https://api.github.com/repos/amie-wilt/assignments/issues/38/events","html_url":"https://github.com/amie-wilt/assignments/issues/38","id":91012148,"number":38,"title":"Assignment 8-4 - Commerce","user":{"login":"ambethia","id":298,"avatar_url":"https://avatars.githubusercontent.com/u/298?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethia","html_url":"https://github.com/ambethia","followers_url":"https://api.github.com/users/ambethia/followers","following_url":"https://api.github.com/users/ambethia/following{/other_user}","gists_url":"https://api.github.com/users/ambethia/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethia/subscriptions","organizations_url":"https://api.github.com/users/ambethia/orgs","repos_url":"https://api.github.com/users/ambethia/repos","events_url":"https://api.github.com/users/ambethia/events{/privacy}","received_events_url":"https://api.github.com/users/ambethia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"amie-wilt","id":8226176,"avatar_url":"https://avatars.githubusercontent.com/u/8226176?v=3","gravatar_id":"","url":"https://api.github.com/users/amie-wilt","html_url":"https://github.com/amie-wilt","followers_url":"https://api.github.com/users/amie-wilt/followers","following_url":"https://api.github.com/users/amie-wilt/following{/other_user}","gists_url":"https://api.github.com/users/amie-wilt/gists{/gist_id}","starred_url":"https://api.github.com/users/amie-wilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amie-wilt/subscriptions","organizations_url":"https://api.github.com/users/amie-wilt/orgs","repos_url":"https://api.github.com/users/amie-wilt/repos","events_url":"https://api.github.com/users/amie-wilt/events{/privacy}","received_events_url":"https://api.github.com/users/amie-wilt/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-06-25T16:33:00Z","updated_at":"2015-06-25T16:33:00Z","closed_at":null,"body":"# Week 8 - Day 4\n\n## Description\n\nCreate an eCommerce platform with Stripe, Inventory, Emails, and a shopping cart. Have fun with it, create a concept for your store. Is there a narrative, what are you selling? To who?\n\n## Objectives\n\n### Learning Objectives\n\nAfter completing this assignment, you should…\n\n* Understand the technical challenges in accepting moneys online\n* Integrate with external APIs\n\n### Performance Objectives\n\nAfter completing this assignment, you be able to effectively use\n\n* [Stripe](https://stripe.com/)\n* Emailing on Heroku with [Mandrill](http://www.mandrill.com/)\n* [Payola engine](https://www.payola.io/)\n* [RailsAdmin](https://github.com/sferik/rails_admin) or [ActiveAdmin](http://activeadmin.info/)\n* Friendly SEO ids and page titles\n\n## Details\n\n### Deliverables\n\nA repo containing at least:\n\n- [ ] Seeded Products\n- [ ] A restricted backend using RailsAdmin or ActiveAdmin.\n- [ ] Stripe purchasing with Stripe Checkout\n  - [ ] Stripe should be in test mode\n\n### Requirements\n\n- [ ] a Rails app, live on Heroku\n- [ ] a layout that looks \"not-embarassing\"\n- [ ] a checkout process with a shopping cart, shipping, and billing information\n\n## Normal Mode\n\nYour products are listing on the homepage, and can be added to a cart.  \n\nYour cart will list the items in the cart; adding a product to the cart again will increase the quantity, rather than adding another cart item. You should be able to edit the quantity and should be able to delete a cart item.\n\nYour checkout process should be secure, and use Stripe Checkout -- the payola checkout is recommended.\n\nUse RailsAdmin or ActiveAdmin for administration of your app.\n\n## Hard Mode\n\nEverything in Normal mode, plus:\n\n1. Add a search engine that will let you search for items.\n\n2. When you add an item to the cart, stay on that page and give visual feedback to the user by a) the cart icon in the header b) change the \"Add to cart\" button to be text with \"Added to Cart [View Cart](#)\"\n\n3. Create a \"receipt\" page that you can email to them securely, viewable without sign in\n\n4. Email the user a receipt, with a link to the receipt page, upon successful purchase.\n\n## Nightmare Mode\n\n1. Enhance the search engine to auto-complete results. Include a custom template on results that shows a thumbnail of the image as well as\n\n2. On results of the search engine, allow them to query by price \"< $50\" and \">= $50\"\n\n3. Allow users to see their previous purchases\n\n4. Enable \"Paper Trail\" to see how sales change over time and integrate with Payola.\n\n5. Use a custom domain name\n\n6. Secure Rails Admin with custom authentication (or devise for an Admin User)\n\n## Notes\n\nPasswords and Credit Cards should never be logged or stored in plain text.\n\nYou do not have to use the Payola gem, but it sure is nice.\n\nMandrill is my go-to emailing service.\n\n## Additional Resources\n\n* [Payola Payments](https://github.com/peterkeen/payola)\n* [Mandrill Addon](https://addons.heroku.com/mandrill)\n"}}