For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to use the signature with the Inline Checkout

Overview

Some of the Inline Checkout parameters require a signature to prevent any interference in the ordering process. Optional parameters also require a signature if they are included in the Inline Checkout.

Demo sample

In order to attach the signature of signed parameters to the TwoCoInlineCart library, use the setSignature() method.

example.js
TwoCoInlineCart.setup.setMerchant('MERCHANT_CODE');
...
TwoCoInlineCart.cart.setSignature('<signature>');
...
TwoCoInlineCart.cart.checkout();

Last updated

Was this helpful?