Connect your account
1
Create a product for orders
In Lava.top, open Products (Продукты) and create a digital product. In its price settings choose the price on request through the API (Цена по запросу через API), then publish it.Every SellAuth order is charged through this one product, and buyers see its title on the payment page. Give it a neutral title such as “Order payment”.Lava.top keeps products in draft until your account setup is complete, and a draft can’t be used.
2
Create an API key
Open Integrations (Интеграции), then API, and create an API key.
3
Add Lava.top in SellAuth
Add Lava.top as a payment method in SellAuth. Fill in API Key, choose a Payment Option, and make up a random text for Webhook API Key.Leave Product empty: SellAuth finds your product when you save. If you have more than one product with its price requested through the API, open the one to use in Lava.top and paste its link instead. Save.
4
Add the webhook in Lava.top
Copy the webhook URL shown on the SellAuth payment method page. In Lava.top, open Integrations, then API, and add a webhook:
- URL: the webhook URL from SellAuth.
- Events: successful payment and failed payment. Add refund and chargeback events to be notified about those too.
- Authentication: API key of your service, not Basic.
- API key: the same text you entered as Webhook API Key in SellAuth.
Without the webhook, orders stay pending after the buyer pays. The webhook’s API key in Lava.top must match Webhook API Key in SellAuth exactly.
Payment options
Only the options enabled on your Lava.top account work. An option that isn’t enabled fails when the buyer tries to pay, and you get a shop error notification.
To offer more than one option, add another Lava.top payment method with the same API key, product and webhook API key, and pick a different payment option. One webhook in Lava.top covers all of them. Set the checkout button label of each one so buyers can tell them apart.
Test it
Buy something cheap from your own shop and pay it on the Lava.top page. The order should complete within a few seconds of the payment confirming.Fees and limits
All of the shared method settings apply, including a percentage or fixed fee or discount for choosing Lava.top, a minimum and maximum order amount, and a custom checkout button label and icon. Lava.top has a minimum and maximum amount for each currency. An order outside them shows the allowed range at checkout. Set a minimum order amount on the payment method to hide it for orders that are too small. If Lava.top reports the payment as failed, the order is marked as failed and the buyer can place a new one. If Lava.top confirms that payment afterwards, SellAuth records it as a late payment for you to resolve rather than delivering it automatically. Subscriptions paid with Lava.top renew manually: the customer is e-mailed a renewal invoice before each period ends and has to pay it.Refunds and chargebacks
Refunds are issued at Lava.top. SellAuth does not send them and does not change the invoice when one happens. When Lava.top reports a refund or a chargeback on a payment, SellAuth sends you a shop error notification and leaves the invoice as it is. Record the outcome yourself with Mark as on the invoice. See Refunds and Chargebacks. Lava.top chargebacks don’t appear under Disputes in your dashboard.Troubleshooting
Payments succeed but orders stay pending. The webhook is missing in Lava.top, its API key doesn’t match Webhook API Key in SellAuth, or it uses Basic authentication. Check the webhook history in Lava.top, fix the webhook, then resend the event. Buyers see that Lava.top could not open the payment page. Your shop error notification has Lava.top’s reason. The usual causes are a payment option that isn’t enabled on your Lava.top account, a product that was unpublished or deleted, or an API key that was removed. Saving says Lava.top lists no published products. The product is still a draft, usually because your Lava.top account setup isn’t complete. Finish it, publish the product, then save again. You got a notification saying Lava.top priced an order differently. The product has a fixed price, so Lava.top ignored the order total. Change the product’s price to be requested through the API. You got a notification saying the paid amount is lower than requested. The order was not delivered. Check the contract in your Lava.top account, then complete the invoice by hand if the payment is good. The amount on the Lava.top page differs from the store. The order was converted to the currency of the payment option, which is expected.Next steps
Supported payment methods
Everything else you can enable.
How checkout works
What buyers see once Lava.top is live.