Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Latest commit

 

History

History

2020-09-17-checkout-bacs-payment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Bacs Direct Debit with Checkout - Office Hours 2020-09-17

[🎬 Watch on YouTube](Link upcoming)

Requirements

How to run

This project uses Sinatra as its server. Here's how to run it after cloning.

  1. Create and populate a .env file. There's a starter example you can copy in server/.
cp server/.env.example server/.env
# Then open server/.env in your text editor and paste in the API keys for your account and a Price ID.
  1. Install dependencies and start up the server.
cd server/
bundle install
ruby server
  1. Go in your browser http://localhost:4242 to see the demo

More resources