Skip to content

Simple Cordova app using the Trustly SDK

License

Notifications You must be signed in to change notification settings

TrustlyInc/trustly-cordova-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trustly Cordova Example App

Getting Started

  1. Clone this repository
git clone [email protected]:TrustlyInc/trustly-cordova-example.git
  1. Install project dependencies
npm install
  1. Add desired platforms to your project. We suggest at least adding ios and android.
npx cordova platform add ios && npx cordova platform add android
  1. Replace the placeholder tokens with your credentials:
// ./www/js/index.js

const ACCESS_ID = 'YOUR_ACCESS_ID';
const MERCHANT_ID = 'YOUR_MERCHANT_ID';

Also replace YOUR_ACCESS_ID in ./www/index.html within the script tag that loads trustly.js.

  1. Start the app!
npx cordova run ios

or

npx cordova run android

Contributing

You can participate in this project by submitting bugs and feature requests in the Issues tab. Please, add @lukevance as an assignee.

If you are interested in fixing issues and contributing directly to the code base, feel free to open a Pull Request with your changes. Please, make sure to fulfill our Pull Request Template and add @lukevance as code reviewer.

About

Simple Cordova app using the Trustly SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •