This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PayWithCapture = require('PayWithCapture'); | |
var clientId = "636yertryrury", //your client id is in PwC devcenter | |
clientSecret = "76474hrhryre7437433yg3y3uy3yugregregr37464t4g45"; //your client secret in in Pwc devcenter account | |
var client = new PayWithCapture(clientId, clientSecret, "staging"); | |
var Authentication = client.getAuthenticationClient(); | |
new Authentication().authenticate() | |
.then(function(authResp) { |