Giter Site home page Giter Site logo

stripey's Introduction

Stripe payments tech test

Epic: Creating Producer Transfers

The epic is core to the reconciliation process during which we settle money that is owed to producers.

User stories

  • as the system i want automatically create a stripe recipient account for a producer if one does not exist so they can start to receive funds

  • as the system i want to create a transfer on a line item to a producer for an amount less a 25% admin fee so that they can be paid

  • as an admin i want to see all transfers created to producers so that i can see if they are correct

Instructions

  • Ensure you have the correct Ruby (2.1.2)

  • bundle install

  • bundle exec rspec spec

Info

  • Tests in the usual place

  • Used a custom version of stripe_mock, as I needed support for transfers (hence the oddness of pointing to my own fork)

  • On hindsight, it would’ve been worth the time turning the user stories into Cucumber-style given-when-then features

stripey's People

Watchers

James Cloos 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.