This repository contains a set of examples utilizing AppDirect js library to illustrate few basic use cases
This demo features:
- How to generate a token after submitting a payment method
- How to create and retrieve a payment method - credit card
Getting Started | API Documentation
<script src="https://ad-js-sdk.appdirect.com/payment.js"></script>
Want to test a hosted version of this app with your own AppDirect account? You can deploy an instance of this app on Heroku and set up your own API keys: