Adyen / adyen-cse-web

[DEPRECATED] Client-side encryption on JavaScript
MIT License
15 stars 39 forks source link

How to get the string for createEncryptedForm #83

Closed gelinger777 closed 5 years ago

gelinger777 commented 5 years ago

Hi All! When using Server Side implementation of the Library, how I can get encrypted json string to pass to server?

        var form = document.getElementById('adyen-payment-form');
// See https://github.com/Adyen/CSE-JS/blob/master/Options.md for details on the options to use.
        var options = {};

        AdyenForm= adyen.createEncryptedForm(form, options);

    var encryptedJsonStringForAjax = ????????