Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 837 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 837 Bytes

README

Quickstart for using Square's Web Payments SDK on Rails. This project is based on following documents.

Things you may want to cover:

  • Ruby version: 2.7.1

Deployment instructions

  1. create file .env at root of project folder.
  2. In that .env, add following lines,and replace "?" with your sandbox environment values appropriately.
APPLICATION_ID="sandbox-?"
LOCATION_ID="?"
SQUARE_ACCESS_TOKEN="?"
  1. rails webpacker:install (if you need.)
  2. rails webpacker:compile (if you need.)
  3. bundle install
  4. start server(ex. rails s)