Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

chasepaymentech CC encryption

Options
goofy78270
goofy78270 Posts: 133
edited May 2021 in SOAtest

I'm trying to dynamically encrypt credit card info before passing it t to our API's (simulating the process in the UI, using dynamically-generated PIE settings for the payment with our client chasepaymentech specific .js (https://safetechpageencryptionvar.chasepaymentech.com/pie/v1/~removed~/getkey.js). The sample results of the getkey.js are:

//----------------------------------------------------------------------
// (c) Copyright 2018 Micro Focus or one of its affiliates.
// The only warranties for products and services of Micro Focus and its affiliates and licensors ("Micro Focus") are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Micro Focus shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice.
//----------------------------------------------------------------------

// PIE version: 1.2.1

var PIE = {};  // PIE namespace

// dynamically-generated PIE settings
PIE.L = 6;
PIE.E = 4;
PIE.K = "70E99B247C0E6B77679F65F1D721B120";
PIE.key_id = "2595de71";
PIE.phase = 0;

it then uses https://safetechpageencryption.chasepaymentech.com/pie/v1/encryption.js for encryption of the credit card no, ccv, and embed key option passed in.

Before I dive to far into this, I was wondering if anyone else has integrated with the chasepaymentech solution.

Comments

  • goofy78270
    goofy78270 Posts: 133
    Options

    Finally moving forward with trying to code this in SoaTest, somehow. Will post back If I determine a solution.