Set test orders in InLine Cart
Overview
Use case
Sample request
HTML
<a href="#" class="btn btn-success" id="buy-button">Buy now!</a>Javascript
window.document.getElementById('buy-button').addEventListener('click', function() {
TwoCoInlineCart.products.add({
code: "74B8E17CC0"
});
TwoCoInlineCart.cart.setTest(true);
TwoCoInlineCart.cart.checkout();
});Demo
Test cards
Card type
Card number
Use case — To achieve the desired result use the corresponding cardholder names.
Cardholder name
Last updated
Was this helpful?