Free open source payment gateway without a middleman

Start accepting algo, USDC, USDT or other assets on your website. By accepting cryptocurrency without a financial middleman you will increase your sales on your website and increase your profit.

How does it work?

  1. Create a unique matching symbol, e.g. order id
  2. Redirect user to the gateway
  3. Customer pays directly to your algorand account
  4. Customer will be redirected back to your website after successful payment
  5. Use your money. You can exchange USDT and take USD from the exchange, or you can pay with USDT for other goods or services

Is it secure?

  • This project is open source. You can clone, modify, or run it in your own private environment for commercial purposes
  • You make the payment details. You setup the successful and cancel URL address. We notify you when the payment is done. You have to check in your backend where you accept the payment that it has been received and you notify the customer.
  • The payment gateway is just an HTML website with javascript. No other backend is used other than official algorand nodes.
  • You do not need an AWallet account in order to use the gateway.

Allowed parameters

You can set any of these parameters. The only required fields include the address where you want to receive your payment and the transaction amount. The payment address consists of two parts: payment info, and gateway settings. Both fields are base64 encoded separated by "/". Please make sure that you url-encode them properly. Payment info is the basic algorand protocol address used for example in the QR codes.

Allowed parameters

asset - You can specify asset id for the transaction
addr - Pay to account
amount - Amount, use the asset base unit. E.g. 1 ALGO = 1000000
xnote - Matching symbol

Allowed settings

success - URL address to which the client is redirected after successful payment
cancel - URL address to which the client is redirected after he clicks cancel payment

Example

<a href="https://www.a-wallet.net/gateway/YWxnb3JhbmQ6Ly9QNjVMWEhBNU1FRE1PSjJaQUlUTFpXWVNVNlcyNUJGMkZDWEo1S1FSRFVCMk5UMlQ3RFBBQUZZVDNVPyZhbW91bnQ9MTAwMDAwMDAmYXNzZXQ9MzEyNzY5/eyJzdWNjZXNzIjoiaHR0cHM6Ly93d3cuYS13YWxsZXQubmV0LyIsImNhbmNlbCI6Imh0dHBzOi8vd3d3LmEtd2FsbGV0Lm5ldC8ifQ==" >Pay</a>