Introduction
UrlNotify / Server-Response
Normally Computop Paygate sends payment details to UrlNotify for Form-Payments (Hosted Payment Page, Credit Card Form, Direct Debit Form, PayPal, ....).
For Server-2-Server requests the payment details are returned in Server-response.
Payment details returned do depend on the paymethod that has been used.
Third-Party Notification Service (TPNS)
TPNS is used to inform a central management system with a set of basic payment details. This works for Form-Payments as well as for Server-2-Server requests and for Analytics actions. It also is used for multiple MIDs / Merchant entities.
TPNS endpoints need to be setup within Computop Paygate. Please contact Computop Sales.
Format Description a alphabetical as alphabetical with special characters n numeric an alphanumeric ans alphanumeric with special characters ns numeric with special characters bool boolean expression (true or false) 3 fixed length with 3 digits/characters ..3 variable length with maximum 3 digits/characters enum enumeration of allowed values dttm ISODateTime (YYYY-MM-DDThh:mm:ss) Abbreviation Description CND condition M mandatory O optional C conditional Notice: Please note that the names of parameters can be returned in upper or lower case.Definitions
Data formats
Abbreviations
Comment If a parameter is mandatory, then it must be present If a parameter is optional, then it can be present, but it is not required If a parameter is conditional, then there is a conditional rule which specifies whether it is mandatory or optional
Notification callback
Computop server will execute an HTTPS POST request directly to the web server of the Partner (URL) . To integrate with this notification, the Partner should supply Computop with the IP address and the URL that leads to the callback entry point of the server. This is usually a small module/application, which constantly listens and waits for incoming HTTPS requests from the Computop server. The Computop server will send data via an HTTPS POST request to the server URL configured including all the relevant parameters in the HTTPS POST request.
The parameters will be transmitted in the HTTP Body as a Blowfish encrypted parameter string. The content type will be application/x-www-form-urlencoded; charset=iso-8859-1.
Note: Please note that the Notify-call is permitted only via Port 443 (SSL) for security reasons. The URL encoded parameters are transmitted in key-value pairs.
If one of these parameters (IP or URL) during time changes, the partner should notify Computop Helpdesk to perform the related configuration changes.
For security reasons a common Blowfish Secret Key (password) will be shared between Computop and the Partner regarding this notification process and the parameter MAC should be present in the callback request.
The calculation of the MAC value is done using SHA-256 algorithm and with the subsequent parameter values: PayID*XID*TransID*MerchantID*Status*Code.
The receiver should use the MAC SHA-256 algorithm, which nearly all programming languages support, to calculate the hash value with the HMAC key and the parameter values.
Computop Paygate will submit a notification request via HTTP POST in order to transfer the authorization status and transaction details to the server URL as stored in the merchant configuration.
The following table describes the result parameters with which the Computop Paygate responds to your system pls. be prepared to receive additional parameters at any time and do not check the order of parameters the key (e.g. MerchantId, RefNr) should not be checked case-sentive
Response parameters for Third-party notification service via socket connections
The request will be sent in real-time. If the specified URL is not accessible Paygate will retry the notification according to the following time schedule.
Repeat | Waiting time | Time after 1. Notify |
---|---|---|
0 | instantly | 0 |
1 | 00:01 h | 00:01 h |
2 | 00:08 h | 00:09 h |
3 | 00:27 h | 00:36 h |
4 | 01:04 h | 01:40 h |
5 | 02:05 h | 03:45 h |
6 | 03:36 h | 07:21 h |
7 | 05:43 h | 13:04 h |
8 | 08:32 h | 21:36 h |
If the maximum number of repeats is reached and the Partner Web Service is still not available the retries will no longer be re-attempted.