Giter Club home page Giter Club logo

majjk's Introduction

OVERVIEW

Our submission is focused around a use case of one of our current clients who offers monthly chocolate subscriptions to customers. The current implementation utilizes a 3rd party subscriptions app to handle subscription orders, and one of the disadvantages of going this route is that the 3rd party subscription app will redirect the customer to an external checkout experience if subscription products exist in their cart.

Our solution essentially replaces the need for this app, using Stripe as the subscription mechanism, with the additional feature of the customer being able to choose to pick up their subscription in store using the new BOPIS feature in BigCommerce.

ARCHITECTURE

  • Stencil (for local development)
  • Customized Cornerstone theme (customer facing front end) https://overdose-america-sandbox-for-kelati-andemichael.mybigcommerce.com/ Preview Code: prq6h0b7wm
    • Customization to product detail template/js where we pull in locations via GraphQL for the customer to choose from
    • Customization to checkout.html template to create the consignments for each order line item
  • Netlify Serverless Functions (middleware connector between BC and Stripe) - https://github.com/JacksonBey/majjk-netlify
    • Recieves web hook request from BigCommerce on the order creation event
    • Gets the full order details from BigCommerce API in subsequent request
    • Uses order details, including consignment data to create Stripe subscription

NOTES

The following are some aspects of our project as it stands today that we would work to better automate in a future, improved version

  • Make this into an actual BC app
  • Some product and customer data were initially created in Stripe manually
  • Create web hook in Stripe to add stripe subscription data back to the BC order in a metafield, or note

majjk's People

Contributors

jehunter avatar truecounterfeit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.