Payment link

You can change the default "Text" and "Icon" used in payment method ##

Implementation



Available parameters

Parameters libParameters webDescription
payments.link.textpaymentLinkTextParameter used to change the text of the payment method of the payment link (optional)
payments.link.iconpaymentLinkIconParameter used to change the icon of the payment method of the payment link, you should put a url as the parameter value (optional)

Code

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        payments: {
            link: {
                text: "text",
                icon: "URL",
            },
        },
    }
    window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&paymentLinkText=text&paymentLinkIcon=url

Demo


🤓

NOTE: Please do not modify the Demo, this is a visual aid.