Giter VIP home page Giter VIP logo

processout.js's Introduction

ProcessOut.js

=====================

The ProcessOut's full API documentation can be found on our documentation. You can also find ProcessOut.js specific documentation for card fields and modals.

Building

To compile the code in this repository you will need ensure Node, NPM, TypeScript and Uglify are installed on your machine. This can be done by running the following commands on your terminal:

brew install node
node -v
npm -v

sudo npm install [email protected] [email protected] -g
tsc -v

After that, changes to the code can be compiled with the command make build. This should be done before changes are merged into master.

processout.js's People

Contributors

adam-blevins-cko avatar andrea-vasapollo-cko avatar andriana-prudyvus-cko avatar jakub-jasinski-cko avatar jlejoux avatar julien-rodrigues-cko avatar louis-paul avatar manuel-huez avatar pablo-diaz-cko avatar pavel-krutsiashchy-cko avatar roshan-gorasia-cko avatar seb-preston-cko avatar simeon-kostadinov-cko avatar szymon-mysiak-cko avatar wojciech-niedbala-cko avatar zhengyi-li-cko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

processout.js's Issues

Error codes

Just added

 +		FailedCvcAndAvs:         "card.failed-cvc-and-avs",
 +		IssuerNotFound:          "card.issuer-not-found",
 +		PossibleFraud:           "card.possible-fraud",
 +		Duplicate:               "card.duplicate",
 +		NetworkFailed:           "card.network-failed",

Close 3DS Modal

Base on https://docs.processout.com/docs/authorizing-a-payment, using that into a web client will open an modal. How can I close that modal? We are using that into an SPA app and user can abort the submitting on the form by using the back button on the browser?

Also we have a timer in that page and the page can expire while that iFrame modal is still open.

Looking inside the library I could not find that.

Add space trimming for cvc field

  • problem: Currently adding a space after the cvc makes the payment fail
  • solution: trimming spaces ?
  • corollary: trimming spaces for other fields ? (card number, date)

Use z-index in addition to translateZ

The switch from z-index to translateZ breaks some websites that use z-indexes to keep some elements on top of the page. On these sites, the z-indexed elements stay on top of the modal, which is not desirable. Adding back z-index fixes it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.