Skip to content

A very small server that demonstrates the Assembly Payments Drop-In UI for secure credit card acquisition.

License

Notifications You must be signed in to change notification settings

AssemblyPayments/dropin-ui-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drop-In UI Demo

A very small server written in Go that demonstrates the Assembly Payments Drop-In UI for secure credit card acquisition.

For more detailed information about Assembly Payments APIs, development guides and more, please see https://developer.assemblypayments.com/docs.

License

Copyright 2020 Assembly Payments

The software in this repository is available as open source under the terms of the Apache License.

Installation

  1. Install Go.
  2. Clone this repo. CD into the dropin-ui-demo directory and enter go build server.go.
  3. If you are new to Go, you could check out this and this and this.

Please note that knowledge of Go is not required to run this demo.

Operation

  1. You will need credentials to authorize the server to interact with the Prelive environment. If you haven't already, sign up here.
  2. Add a file named secret to the repo directory. Write your prelive compound key ([username]:[API token]) to this file. Get these values from the account page of the prelive dashboard. Don't use your production credentials with this demo.
  3. CD into the dropin-ui-demo directory and enter ./server.
  4. Open a web browser to http://localhost:8081/dropin.html.
  5. Use the card number 4111 1111 1111 1111.

To get going with Docker & docker-compose

  1. docker-compose build
  2. Add creds (as per 2 above) to secret
  3. docker-compose up
  4. Open a web browser to http://localhost:8081/dropin.html.

About

A very small server that demonstrates the Assembly Payments Drop-In UI for secure credit card acquisition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published