Komoju Buys allows you to manage product information in Komoju, enabling you to sell your products directly to customers either via a widget embedded in your website or using a "buy link" shared with specific customers or broadcast on social media. Customers will be given the option to pay with any of the payment methods enabled on your account.

Give it a try

To try Komoju Buys, create a product on the Komoju products page and include the HTML tag in any page. You will see a "buy" button like the one below which customers can click to purchase the product. Note that for testing credit card purchases, you can use the test cards provided in the overview page.

Below is an example of the widget embedded in this page. Click the button to open the popup and buy the test product.

Installation method

After creating the product, use the HTML tag created in the product detail page to install the product.

Parameters

Required Parameters

Name Description
data-product-id Product ID

Optional Parameters

Name Description Default
data-endpoint Endpoint URL "https://komoju.com"
data-quantity Quantity to buy 1
data-locale Language shown (currently en and ja are supported) "auto"
data-family-name Family name
data-first-name Given name
data-family-name-kana Family name (Katakana)
data-frst-name-kana Given name (Katakana)
data-email E-mail address
data-phone Phone number
data-country-code Country Code(ISO 3166-1 alpha-2) "auto"
data-zip-code Postal code
data-state Prefecture
data-city City
data-address Street/Building name

SSL (Recommended)

All information transmitted between Komoju Buys and Komoju is encoded using SSL. In order to reduce the risk of session hijacking by a man-in-the-middle attack, we highly recommend that you secure your site with ssl (https).