Demo of built-in widget

Code:

<div id="divId"></div>
<script type="text/javascript">
    window.PMWidgetCallback = function() {
        var WidgetRequestData = {
            "LMI_MERCHANT_ID":"1412",
            "LMI_PAYMENT_NO":"o-2193987",
            "LMI_PAYMENT_AMOUNT":"10.99",
            "LMI_PAYMENT_DESC":"Order description"
        };

        PMWidget.init({
                    embedTarget: '#divId',
                    mode: 'embed',
                    params: WidgetRequestData,
                    closeOnFail: true,
                    language:"en"

                })
                .on('ready', function() {
                    console.log('READY');
                })
                .on('success', function() {
                    alert('Call success');
                })
                .on('fail', function(params) {
                    alert('Call fail function with params ' + params.message);
                })
                .on('error', function() {
                    alert('Call error function');
                })
        ;
    };
</script>
<script type="text/javascript" src="https://lmi.paysoft.solutions/js/widget/initScript.js" async></script>

results matching ""

    No results matching ""