Payment Providers
Simple payment-link tools
Currently we support two providers-
Windcave
Paypal
Usage Notes | Windcave
Demonstration
Windcave Example
Place in the before BODY custom code area.
<script src="https://cdn.jsdelivr.net/gh/sygnaltech/[email protected]/dist/webflow-commerce.js"></script>
<script>
var payment = new window.sa5.WindcavePayment();
// Configure the payment link
payment.userid = 'user id';
payment.amount = '10.00';
payment.currencyname = 'USD';
payment.txndata1 = '';
payment.txndata2 = '';
payment.txndata3 = '';
payment.email = '[email protected]';
// Do something with the payment link
console.log(payment.generateUrl());
</script>
Usage Notes | PayPal
PayPal Example
<script src="https://cdn.jsdelivr.net/gh/sygnaltech/[email protected]/dist/webflow-commerce.js"></script>
<script>
var payment = new window.sa5.PaypalPayment();
// Configure the payment link
payment.business = 'user id';
payment.amount = '10.00';
payment.currencyname = 'USD';
payment.item_name = 'widget';
// Do something with the payment link
console.log(payment.generateUrl());
</script>
Last updated
Was this helpful?