Skip to content

yasunao/sq_rails_web_payment_example

Repository files navigation

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)

About

Quickstart for using Square's Web Payments SDK on Rails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published