You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Computop Paygate allows to initiate Pay By Link payments to ease remote ecommerce payments for you and for your customers.

These Pay By Link payments are normally initiated by you from Computop Analytics

The intention is that you can send payment links with a dedicated amount and currency and additional information (shopping basked, address data) which are then sent by email to your customers to complete the payment. 

Now Pay By Link is also available via Paygate-API.


How it works

 To carry out an incremental authorisation via a Server-to-Server connection, please use the following URL:


Notice: For security reasons, Computop Paygate rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.

The table is being loaded. Please wait for a bit ...

KeyFormatCNDDescriptionBeschreibung

MerchantID

ans..30

M

MerchantID, assigned by Computop. Additionally this parameter has to be passed in plain language too.

HändlerID, die von Computop vergeben wird. Dieser Parameter ist zusätzlich auch unverschlüsselt zu übergeben.

Key

Format

CND

Description

Beschreibung
actionMcreate
  • e.g. PayByLink.aspx?action=create&Len=xxx&Data=xxx
  • creates a new record in database table and returns PbLID

LenMBlowfish/AES-LENLen of data before encryption
DataMEncryped Blowfish/AES datacontaining HPP-request parameter (already encrypted with Len=...&Data=...)
and with additional plain text parameter, e.g. expirationTime, CustomField1..16, channel, PayTypes, ....

Request parameters to create Pay By Link


The following table describes the result parameters with which the Computop Paygate responds to your system

(info) pls. be prepared to receive additional parameters at any time and do not check the order of parameters

(info) the key (e.g. MerchantId, RefNr) should not be checked case-sentive

Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.

The table is being loaded. Please wait for a bit ...

KeyFormatCNDDescriptionBeschreibung

mid

ans..30

M

MerchantID, assigned by Computop

HändlerID, die von Computop vergeben wird

Key

Format

CND

Description

Beschreibung
PbLIDan32M

PayByLinkId new created Pay By Link ID


KeyFormatCNDDescriptionBeschreibung
Status

a..50

M

OK (URLSuccess) or FAILED (URLFailure)

OK (URLSuccess) oder FAILED (URLFailure)

KeyFormatCNDDescriptionBeschreibung
Description

ans..1024

M
Further details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Nähere Beschreibung bei Ablehnung der Zahlung. Bitte nutzen Sie nicht den Parameter Description, sondern Code für die Auswertung des Transaktionsstatus!

KeyFormatCNDDescriptionBeschreibung
Code

an8

M

Error code according to Paygate Response Codes (A4 Error codes)

Fehlercode gemäß Paygate Antwort-Codes (A4 Fehlercodes)

KeyFormatCNDDescriptionBeschreibung

MAC

an64

M
Hash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here:
Hash Message Authentication Code (HMAC) mit SHA-256-Algorithmus. Details finden Sie hier:

Response parameters to create Pay By Link

Sample

You want to create a PbLId for a payment link for:

1. Building Link to Hosted Payment Page

a) Parameter before encryption


MerchantID=yourMerchantId&TransID=TID-1679503992356-021830709399&MsgVer=2.0&RefNr=MyRef&Amount=123&Currency=EUR&URLSuccess=https://www.yourshop.com/success.url&URLFailure=https://www.yourshop.com/failure.url&URLNotify=https://www.yourshop.com/notify.url&URLBack=https://www.yourshop.com/back.url&Language=en&MAC=abbe18e21242e816452fbcbfb62ff16a11c22960b660f91007e474f77a28e741
b) Then encrypt these data to get Len + Data


MerchantID=yourMerchantId&Len=376&Data=397fb1b3eadb19c4c4610422e3426cecbc9e5f3c83ff04be7a98424c32cd9c23ed65f7cea0b49c808565b9499e31251230455473e910e21a2cdeb7535ae0b3366addf4627bb0ef3c7a4c4ec9c9b4f0956fcf5fee590a4be711fb70ae127684abc8f3f1717fa75a421c4eb8ae12bc62eece8c44dc50726afcf4d249d8a4d5af7ee93f9ea95839bf6ffcaa94eaa70e46f0822d88391b64bda770d54bbba08906bffa43bb2b6a11d6a7cf9f16c82f04f76ce93f9ea95839bf6ffcaa94eaa70e46f0f19f79ff91283c091c2ab39a71f0ce95a0eb64cd0a33661d1e5584535d7ddc3cdf031e73a2185de396aef75883cec751591bf0c5981f6a10662f338e7a0f992fe6b18e64381dce54a587452da6ca8d24a7c4ed9fdc6233f4684d1b88b4fea46c0c78fa0b9c76273abda0956f69eabb0c9745bd76d4121037167c6554d897d55341fbb21fa95a3f26d8b4132d022c245d0f09d9bf6488a86accf189dd306f14fac3e6d65489d7b682736cf2021a293a5ce5e05650359f11e1
c) Then add plain data for Hosted Payment Page, e.g. Template-names, UrlBack, language


MerchantID=yourMerchantId&Len=376&Data=397fb1b3eadb19c4c4610422e3426cecbc9e5f3c83ff04be7a98424c32cd9c23ed65f7cea0b49c808565b9499e31251230455473e910e21a2cdeb7535ae0b3366addf4627bb0ef3c7a4c4ec9c9b4f0956fcf5fee590a4be711fb70ae127684abc8f3f1717fa75a421c4eb8ae12bc62eece8c44dc50726afcf4d249d8a4d5af7ee93f9ea95839bf6ffcaa94eaa70e46f0822d88391b64bda770d54bbba08906bffa43bb2b6a11d6a7cf9f16c82f04f76ce93f9ea95839bf6ffcaa94eaa70e46f0f19f79ff91283c091c2ab39a71f0ce95a0eb64cd0a33661d1e5584535d7ddc3cdf031e73a2185de396aef75883cec751591bf0c5981f6a10662f338e7a0f992fe6b18e64381dce54a587452da6ca8d24a7c4ed9fdc6233f4684d1b88b4fea46c0c78fa0b9c76273abda0956f69eabb0c9745bd76d4121037167c6554d897d55341fbb21fa95a3f26d8b4132d022c245d0f09d9bf6488a86accf189dd306f14fac3e6d65489d7b682736cf2021a293a5ce5e05650359f11e1&Language=en&Template=HPP_Template&CCTemplate=SSL_Template&SDDTemplate=SDD_Template

2. Use Link to Hosted Payment Page to create PbLId via PayByLink.aspx

a) Then encrypt the whole Hosted Payment Page Link from 1c), encrypt it again and call PayByLink.aspx to create a PbLId


MerchantID=yourMerchantId&Len=874&Data=397fb1b3eadb19c4c4610422e3426cecbc9e5f3c83ff04bee7338b3928ce9edccf947c6af130a9555ece3a8ad58057d477275770ba221f79d975483d49f88ff045bc23332430ad7b31c03ae89fa4e620665215dfd85d1458dc5ff6ca07c5335d2095560673082a5c01008f59962d616a2d50a068b7d5b2920c3ad10de0f2a239159a5d60184e1e42e9c628f69aed32c1605b7fc81b55a9e34b007f394d2e2689409a24280c55466d2cdff80efdeed161c06acb9a4b06195e643953f75bf76d7ec5c8a2221b1470800d52c674121075dd7c1dd099aa5291a3fdd2b3ec9a3f82ec6c195cff079f678c426a968df484b1fb5cb2839cab8c56f09b053ec94c80d0519615b438fcb4581b5eda5dbf23d911c0f104be4ed4ca8ec4dda1aaa4b618624ba091881598e68c8345e0214f4779b7d8933a30fd8f53c87d3646f445b1b80cbd49e7dd92cb2393e8e02af59a85606f6a59ca8f01bf9fbf9ef5f324d79b22e606b7e430fb612082f562ad2ed06f96c7d79c4ddf847f76f535b7cf11d6210f585e521599750cf5d59645e0214f4779b7d8933a30fd8f53c87d3646f445b1b80cbdf48cfcd170d5fdbbf62b07aa7d2eb208dac461ded3f13edad0b1e60f75acca0ac501c286b618299d4ff0ef2a39f06976f713d9e1cb231bd477365c546bb8496876cbb6a0dfcc175b53db0d776672db24958337b0f023f4fdcc93f4490acd65216d94ab164737980e45a037ef7780f4fb39006fc9f9280b98ec8ddc92f837cbe042a9166b2357fe6e6fcd39d6f97dfe585e51cdd96e98eb9f3c9c6e8fd1f0e7d5d394f6abff5653407769fc9a9d9dd42d4be224b8ae004004939099e80916965658da07ad7814fe58eb41ce319f31e3da4383efd50df4154f4c2037fab12396d816fb664770046195504c44afbe11ce755d831eb9c4601877020649edb716f78084f485910783f8a0ed0c428eebb345d252e629904ae68781f3d84314b0d287fe5b935d4e3b40c2eab5dc955d6a69e0c82a52508b9aebcb772ffc6a05f6749d336943703f20a481f0d6f7b193b42e57e0dca4b7ece80ad766299f7de1bd5f384543c20fa1421f78813bf51d928c323f4fa8b58c9f1c723d0dbda0956f69eabb0c36ab916eb422e811d9d261e4a37ad0df00882ce4c8cb9207ce590cc620d7653d401a74c1701dd63500882ce4c8cb920747900de8eece620d8e38aa5b7e78ca494fa94e7f506f7253ba188c82a0df175a

b) Call https://www.computop-paygate.com/PayByLink.aspx with action=create, your MerchantId, and Len + Data from 2a) to get PbLID from Response.

3. Send payment link via PayByLink.aspx to your customer

https://www.computop-paygate.com/PayByLink.aspx?PbLID=<PbLID>

  • No labels