Skip to content

trustly/cordova-plugin-trustly-checkout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Plugin for Trustly Checkout

This plugin helps you integrate the Trustly Checkout into your Cordova project.

Integration

Add the plugin to your project

cordova plugin add https://github.com/trustly/cordova-plugin-trustly-checkout

Usage

Pass your Checkout URL to the showTrustlyCheckout function.

trustly
  .showTrustlyCheckout("<YOUR-TRUSTLY-CHECKOUT-URL>")
  .then((successUrl) => {
    //Checkout was successful
    //The Checkout view/activity will close automatically after this.
  })
  .catch((err) => {
    //Called on Checkout error and abort, check err.type to see which.
    //The Checkout view/activity will close automatically after this.
  });

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published