Payment buttons

Payment buttons

Embedding a payment button on your website is a quick and easy way to start accepting cryptocurrency payments. Let's start.

Steps

Coin Currency

Copy the embedded snippet below & modify the data attributes to your desired values and embed it to your website.

<div
class="remitano-payment-btn"
data-sandbox="true"
data-merchant-username="linhrem"
data-coin-currency="usdt"
data-coin-amount="1.03"
data-description="Testing bag (model D700, white)"
data-cancelled-or-completed-callback-url="https://example.com/123"
>
<input type="image" src="https://remitano.com/imgs/payment-btn-long-white.png" alt="Pay with Remitano" style="height: 48px">
<script src="https://remitano.com/lib/payment-gateway/v1/checkout.js"></script>
</div>

Fiat Currency

If you want to use fiat currency instead of coin, then change the data-coin-currency and data-coin-amount to data-fiat-currency and data-fiat-amount respectively. For example:

<div
class="remitano-payment-btn"
data-sandbox="true"
data-merchant-username="linhrem"
data-fiat-currency="NGN"
data-fiat-amount="1000"
data-description="Testing bag (model D700, white)"
data-cancelled-or-completed-callback-url="https://example.com/123"
>
<input type="image" src="https://remitano.com/imgs/payment-btn-long-white.png" alt="Pay with Remitano" style="height: 48px">
<script src="https://remitano.com/lib/payment-gateway/v1/checkout.js"></script>
</div>

The list of supported fiat currencies can be found here

The data attributes that you can modify is:
  • data-sandbox: Set it to "true" if you are testing your payment button in sandbox mode with https://remidemo.com, otherwise, you could set it to "false" or remove it from the attribute list (optional).
  • data-merchant-username: Set it to your merchant account username in Remitano (required).
  • data-coin-currency: Price coin currency, for now we only support "usdt" (required only if no data-fiat-currency is set).
  • data-coin-amount: Price coin amount (required).
  • data-fiat-currency: Price fiat currency (required only if no data-coin-currency is set).
  • data-fiat-amount: Price fiat amount (required).
  • data-description: Charge description (optional).
  • data-cancelled-or-completed-callback-url: We will redirect the user to this URL when the charge is completed or cancelled (optional).

Note: With optional data, you could leave it blank or remove it from the attribute list.

Visit https://remitano.com/lib/payment-gateway/v1/sample.html to check our sample payment buttons (Note: to prevent unwanted charges, only the sandbox button in the list is linked to a valid merchant)