Finalize Przelewy24 Transaction
This function is used to credit a wallet using Przelewy24 Payment when the money-in has been previously initialized with MoneyInP24 function of DirectKit webservice.
How it works
Prerequisite: Your system has initialized a money-in using the MoneyInP24 method of DirectKit. Your server owns a money-in link now:
- Your server redirects the user to the returned link of MoneyInSofortInit
- On this payment webpage, the user can enter the account data
- The money-in transaction is saved and the user is redirected to your website.
Answer
- When the client terminates its payment or when the payment is canceled by the user, a notification (callback) is sent from Lemonway's server to your site's URL. Data are transmitted in POST.
- When the client terminates its operation, he is redirected to your site's URL with data in a GET
For security reasons, in any case of return by the POST, your server has to double-check the payment using the GetMoneyInTransDetails method of DirectKit to make sure the payment was done.
POST Answer:
Item | Description | Example |
|---|---|---|
error | Answer code:
| 0 err10 |
token | wkToken sent by your site when initializing the money-in | B74FFF06B2-AD5844-57D0ED-B700C9C554 |
errorMessage | Details on the error |
response_code | Description |
|---|---|
| err00 | Invalid script call |
| err01 | No confirmation of reception of authorization has been received from the shop |
| err02 | No authorization has been received |
| err03 | This query has already been processed |
| err04 | Authorization query incomplete or invalid |
| err05 | Reading of web-shop configuration failed |
| err06 | Record of authorization query failed |
| err07 | A different person is making the payment |
| err08 | Status of connection with the shop not established. |
| err09 | Limit on the number of data corrections exceeded. |
| err10 | Invalid transaction amount! |
| err49 | Transaction risk assessment scores too high. |
| err51 | Invalid website call |
| err52 | Invalid feedback session information! |
| err53 | Transaction error! |
| err54 | Incompatible transaction amounts! |
| err55 | Invalid response code! |
| err56 | Invalid card |
| err57 | IncompatibleTEST flag! |
| err58 | Invalid sequence number! |
| err59 | Invalid transaction currency! |