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.
We build
We automate and extend
We fix and grow
We host and maintain
What it costs
Terms
Before we start
After launch
Popular tools
Trust and documents
Contact and media
In Kraków and Poland
Start a project
Other matters
After launch
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.
The payment path in an Autopay integration. Each step is a different part of the protocol, and each has its own error handling.
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. |
03
Points from the Autopay documentation that block the launch if someone forgets them.
Credentials and the test environment
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.
We test transactions on testpay.autopay.eu and cards on testcards.autopay.eu before anything goes live.
Autopay requires the store to check that the calculated hash matches. Without it, an ITN must not change the order status.
The server receiving the ITN must support TLS 1.2 or 1.3 and use a certificate from a public authority.
Autopay provides the list of addresses it sends ITN from. It goes into the server configuration.
The server returns status 200 and XML with a confirmationList of CONFIRMED or NOTCONFIRMED. Any other reply means a retry.
Two options, and you pick one at the start. This decides which operations we build.
The customer pays in the transaction, and the status changes to paid after the ITN. We do not build a pre-authorisation charge.
The funds are held, and transactionClear charges them. If the order falls through, transactionCancel releases the hold.
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.
Click a question to see the answer.
Technical details come from the Autopay documentation.
A free quote comes back within an hour during working hours.