---
title: "Autopay Payment Gateway Integration from PLN 999 | VulCode"
description: "Autopay (formerly Blue Media) payment gateway in your store or system: transactions, ITN notifications with hash checks and tests. From PLN 999, 2-3 days."
url: "https://vulcode.com/en/services/integrations/autopay"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations) [Online payments](https://vulcode.com/en/services/integrations/polish-payments)

VulCode, a software house from Cracow, Poland, connects Autopay (formerly Blue Media), a Polish payment gateway, to a custom-built store or to your system through the API. The customer pays on the Autopay gateway, and the confirmation returns to the order as an ITN (Instant Transaction Notification). We check its hash, and only then does the order get the paid status, because the customer landing back on a page after paying does not prove the money arrived. The Autopay integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

# Autopay integration: online payments and ITN confirmations

## From the order to the payment confirmation

The payment path in an Autopay integration. Each step is a different part of the protocol, and each has its own error handling.

- **Checkout** amount, order number and the customer's email ServiceID, OrderID, Amount, Hash

- **Transaction** an HTTPS call with the hash 303 redirect

- **Gateway** the customer pays, a 303 redirect POST, the transactions parameter

- **ITN** XML with the confirmation to your server status after verification

- **Order** paid or to be checked

- **When it works**: The order gets the paid status after the hash check and a CONFIRMED reply.
- **When it fails**: If the server does not reply correctly, Autopay resends the ITN. The order waits for the latest status instead of a guess.

## The main parts of the API

Names and parameters follow the Autopay documentation. Each row is a separate step in the code, not a separate store feature.

| Element | What it does | When we use it |
| --- | --- | --- |
| Transaction | Starts a payment with ServiceID, OrderID, Amount, CustomerEmail and Hash. | For every order. |
| transactionStatus | Asks for the status of a transaction. | When the state must be checked outside the notification. |
| transactionClear | Charges a pre-authorisation. | For payments with a funds hold. |
| transactionCancel | Cancels and releases the hold. | When the order does not go ahead. |
| ITN | A notification back to your server. | After every change of transaction status. |

## Before the first transaction goes live

Points from the Autopay documentation that block the launch if someone forgets them.

- Credentials and the test environment
  ### Test credentials from Autopay
  ServiceID, the shared key, the test form address and the admin panel login come from Autopay. We fill in the sheet and send it back to Autopay.

- ### Test hosts
  We test transactions on testpay.autopay.eu and cards on testcards.autopay.eu before anything goes live.

- ### ITN hash verification
  Autopay requires the store to check that the calculated hash matches. Without it, an ITN must not change the order status.

- ### TLS 1.2 or 1.3
  The server receiving the ITN must support TLS 1.2 or 1.3 and use a certificate from a public authority.

- ### Autopay IP addresses
  Autopay provides the list of addresses it sends ITN from. It goes into the server configuration.

- ### HTTP 200 with XML
  The server returns status 200 and XML with a confirmationList of CONFIRMED or NOTCONFIRMED. Any other reply means a retry.

## An immediate payment or a funds hold

Two options, and you pick one at the start. This decides which operations we build.

### An immediate payment

- You sell products that are available right away.

- The order does not need a later decision.

The customer pays in the transaction, and the status changes to paid after the ITN. We do not build a pre-authorisation charge.

### Pre-authorisation and a charge

- The charge should happen after shipping or confirmation.

- The order can be cancelled before fulfilment.

The funds are held, and transactionClear charges them. If the order falls through, transactionCancel releases the hold.

## Why the notification counts, not the customer's return

A customer can close the tab before returning to the store, so the payment is confirmed by the notification, not by the success page.

Autopay sends the ITN as an XML document in the transactions parameter, encoded in Base64. The server decodes it, checks the hash and only then saves the status to the order. Every attempt is logged, so you can see what arrived and when.

The hash is built from the field values without their names, separated by the | character, with the shared key appended at the end. SHA256 is the default, and the function is chosen when the service is configured at Autopay. The key stays on the server and is never sent to the customer's browser.

Starting a transaction is an HTTPS call with ServiceID, OrderID, Amount, CustomerEmail and Hash. Autopay answers with an HTTP 303 redirect, so the customer lands straight on the gateway. The OrderID is unique to the order, so a second click on "pay" does not create a second order, and the status always matches one transaction.

## Common questions about the Autopay integration

Click a question to see the answer.

**How much does the Autopay integration cost?**

The Autopay integration costs from PLN 999 (about EUR 220). That covers starting transactions, ITN handling with hash verification and tests on Autopay's test hosts, and the price rises with pre-authorisation and the number of connected systems. A typical integration takes 2-3 days, and the free quote comes back within an hour. Payment fees are set by Autopay.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**Who will build the Autopay integration in my store?**

VulCode, a software house from Cracow, Poland, connects Autopay to custom-built stores and to the systems we build. We work from the Autopay documentation and the test data they provide.

**Do I need an agreement with Autopay?**

Yes, Autopay is the gateway provider. Autopay gives you the ServiceID and the shared key, and you agree the terms and fees with them. We help prepare the details for the application.

**Can Autopay handle a refund?**

You make refunds from the Autopay panel or through the API, depending on your agreement with Autopay. We settle the method with Autopay before launch and tie it to the store order, so the store never promises a customer a refund it cannot make.

**What happens if the customer closes the page after paying?**

Autopay sends the ITN server to server, so the confirmation arrives without the customer returning. The order changes status after the hash check.

**Can I test without a real payment?**

Yes. Autopay provides test hosts for the gateway and test cards. The test scenarios are described on developers.autopay.pl, and we run through all of them before going live. Autopay provides the test data: the ServiceID, the shared key, the test form address and the admin panel login. We fill in the test sheet, send it back to Autopay, and switch the service to production only after the scenarios pass.

## Sources

Technical details come from the Autopay documentation.

- [Autopay: online payments documentation](https://developers.autopay.pl/online/dokumentacja)

- [Autopay: developer site](https://developers.autopay.pl/)

## Related pages

Other payment gateways and the places where payment meets the rest of the store.

- [**Online payments** A comparison of online payment gateways.](https://vulcode.com/en/services/integrations/polish-payments)

- [**Przelewy24** Przelewy24 with BLIK and cards.](https://vulcode.com/en/services/integrations/przelewy24)

- [**BLIK** BLIK in stores, apps and subscriptions.](https://vulcode.com/en/services/integrations/blik)

- [**Online stores** A custom online store with online payments.](https://vulcode.com/en/services/online-stores)

- [**PayU** PayU in a store or app.](https://vulcode.com/en/services/integrations/payu)

- [**Tpay** Tpay with return notifications.](https://vulcode.com/en/services/integrations/tpay)

- [**Integrations and automation** The API service under which we price integrations.](https://vulcode.com/en/services/api-integrations)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
