General settings
Supported platforms
We make every effort to support all recent versions of the major browsers available on the market.
For security reasons and to deliver the best user experience to the majority of our merchants, we do not support browsers and operating systems that no longer receive security patches.
These browsers represent a minor part of the traffic making payments on the Internet.
We support:
- Edgefrom version 17
- Chromefrom version 70 onwards
- Firefoxfrom version 64
- Safari(desktop and mobile) from version 11 onwards
- Android native browserfromAndroid 5.0
- All the latest versions of IOS starting from iPhone 4S.
TLS 1.2 must be supported by the browser.
We proactively test most browsers, both mobile and desktop. But it is possible that a mobile + browser combination escapes our vigilance. In this case, please contact our support.
If you want to support a combination that is not taken into account by our JavaScript client, you can implement our redirect form.
Also note that some antivirus or ad-blocker software may block our solution.Please contact support if you notice any improper detection.
Initialization parameters
Various parameters can be defined while loading the JavaScript client. For example, in order to define kr-public-key and kr-post-url-success :
<!-- Javascript library. Should be loaded in head section --> <script src="https://static-sogecommerce.societegenerale.eu/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js" kr-public-key="61881992:testpublickey_k7sM5cu1WTzkCCqU966agj3Ia3b04Pcsw4dZoeLVVUbc3" kr-post-url-success="paid.html"> </script>
<!-- Javascript library. Should be loaded in head section --> <script src="<?php echo $client->getClientEndpoint();?>/static/js/krypton-client/V4.0/stable/kr-payment-form.min.js" kr-public-key="<?php echo $client->getPublicKey();?>" kr-post-url-success="paid.php"> </script>
The available general parameters are:
PARAMETER | required | Description |
---|---|---|
kr-public-key | YES | Public key for making a payment. |
kr-language | Language used for displaying the form in Culture format (en-US). | |
kr-post-url-success | URL to which the form is submitted (POST method) if successful. | |
kr-get-url-success | URL to which the form is submitted (POST method) if successful. | |
kr-post-url-refused | URL called when all attempts have failed (POST method). | |
kr-get-url-refused | URL called when all attempts have failed (GET method). | |
kr-clear-on-error | Disables the removal of CVV in case of rejected transaction (true or false). | |
kr-hide-debug-toolbar | Hides the debug sidebar in test mode (true or false). | |
kr-spa-mode | If the value is true, the form is not automatically initialized (false is the default value). |