Published July 2, 2018
In part 1 of our ‘Order History’ series we’ll look at how our existing application is structured. Then we’ll see how we can fetch data from Stripe’s API to build our receipts. Once we know the structure of our data, we’ll define an Elixir Struct to format it. Finally we’ll use the Phoenix HTML generator to build the skeleton of our “order history” and receipt pages.