Cash
You can change the default "Text" and "Icon" used in payment method
Specific configuration parameters
Parameters lib | Parameters web | Description |
---|---|---|
payments.cash.text | paymentCashText | String which will be used as display text during the Cash payment method (optional) |
payments.cash.icon | paymentCashIcon | String which will be used as display the icon during the Cash payment method, you should put a url as the parameter value (optional) |
Usage Example
You will see the following content
Payment method in cash
<!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: {
cash: {
text: "text",
icon: "URL",
},
},
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&paymentCashText=text&paymentCashIcon=url
Note: Not change the example.
Updated 3 days ago