Pay for an order with the store's gift certificate, with the remainder charged to a card automatically.
Giveasy is a gift certificate service and a technical payment gateway. The integration is added to a Tilda website through the «Custom payment gateway» option: the customer enters a certificate code, its balance covers part of the order, and the rest is paid by card in the store's own account.
You need an active Giveasy project and a connected YooKassa account (for card settlement).
RUB, country: RU.The notification URL does not need to be copied anywhere — Tilda passes it with every order automatically.
| Setting | Value | Why |
|---|---|---|
| Payment method attribute (FFD) | «Full settlement» or «Full prepayment» | YooKassa rejects «Advance» — the payment will not go through |
| Add delivery to the list of products | off | With it off, the sum of the line items equals the cost of goods, and delivery is the remainder up to the order total. That is how the gateway knows delivery must not be paid with a certificate |
| Use the discounted price | on (both for products and for the FFD array) | Otherwise the sum of the line items will not match the order total when discounts or promo codes are applied |
Certificate GA-XXXX-XXXX −3 000 ₽
Delivery (not covered by a certificate) 400 ₽
To pay by card 1 400 ₽
The order total in Tilda always stays complete — a certificate is a payment method, not a discount. This matters both for reporting and for the receipt.
| Value | How it is calculated |
|---|---|
| Goods | Sum of the order line items |
| Delivery | Order total minus the cost of goods |
| Coverage base | Cost of goods |
| Covered by certificate | The lesser of: certificate balance and coverage base |
| To pay by card | Order total minus the amount covered by the certificate |
The customer is redirected with a POST request (application/x-www-form-urlencoded) to:
POST https://giveasy.ru/tilda/pay
| Parameter | Type | Description |
|---|---|---|
shop_id | string | Giveasy project ID |
order_id | string | Order number in Tilda |
amount | number | Full order total, delivery included |
currency | string | RUB |
country, lang | string | RU, ru |
description | string | Order description |
order_time | string | Order creation time |
email | string | Customer email |
phone | string | Customer phone |
customer_name | string | Customer name |
notify_url | string | Tilda address for the payment notification |
items | array | Order contents: index, name, quantity, price, sum. Products only, without delivery |
receipt | array | Receipt data (FFD 1.05) |
signature | string | Request signature |
Giveasy verifies the signature and the line item totals, shows the payment page and returns the customer to the store's success or failure page.
The values of all transmitted fields — except the signature itself, fields with an empty value and
arrays (items, receipt, which are listed under «Exclude fields») — are
sorted by field name and joined with the | separator. The resulting string is signed
with HMAC-SHA256, using the project secret key as the key. The result is a
lowercase hexadecimal string.
signature = hmac_sha256(
"1000|RU|RUB|customer@example.com|ru|https://forms.tildacdn.com/...|123456|...",
secret_key
)
The same algorithm and the same key are used to sign the payment notification.
Once the payment is confirmed, Giveasy sends a POST request to the notify_url from the
original request:
| Parameter | Description |
|---|---|
order_id | Order number |
amount | Full order total (certificate + card payment) |
status | success — payment confirmed |
transaction_id | Payment identifier |
signature | Notification signature |
Tilda replies with OK when the notification is processed and ERROR on
failure. Any response other than OK triggers a retry.
The receipt is issued by the store's own cash register for the full order total. The part paid by card is reported as a cashless settlement, and the part covered by the certificate as an offset of a previously received prepayment. If the order is fully covered by a certificate, the receipt is registered by the store separately.
The integration settings include a test mode: orders are processed without charging real money and
without spending the certificate balance. Use the TST currency and test certificates
created in your Giveasy account.
Integration questions: info@giveasy.ru
Merchant account: giveasy.ru/login