This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:girocheckout:eps:start [2014/07/12 21:19] jeromejung created |
en:girocheckout:eps:start [2023/05/05 03:29] (current) michaelheumann |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | Information about EPS can be found under https:// | + | **eps can only process EURO payments.** |
| ===== test data ===== | ===== test data ===== | ||
| {{page> | {{page> | ||
| + | |||
| ===== workflow ===== | ===== workflow ===== | ||
| Line 10: | Line 11: | ||
| hide footbox | hide footbox | ||
| - | participant " | + | participant "buyer/ customer" as buyer |
| participant " | participant " | ||
| participant " | participant " | ||
| - | participant "EPS" as eps | + | participant "eps" as eps |
| participant " | participant " | ||
| Line 19: | Line 20: | ||
| buyer -> shop: | buyer -> shop: | ||
| - | shop -> girocheckout: | ||
| - | girocheckout -> shop: | ||
| shop -> girocheckout: | shop -> girocheckout: | ||
| girocheckout -> eps: | girocheckout -> eps: | ||
| Line 26: | Line 25: | ||
| girocheckout -> shop: | girocheckout -> shop: | ||
| shop -> buyer: | shop -> buyer: | ||
| - | buyer -> bank: | + | buyer -> eps: |
| + | eps -> bank: | ||
| bank -> buyer: | bank -> buyer: | ||
| buyer -> bank: | buyer -> bank: | ||
| Line 42: | Line 42: | ||
| </ | </ | ||
| - | - buyer chooses | + | - buyer/ customer |
| - | - merchant requests the available banks ([[en: | + | - merchant initialises |
| - | - merchant gets a reply of all issuer banks, that support EPS | + | - GiroCheckout initialises |
| - | - buyer selects Bank and merchant initialises | + | - eps submits response to GiroCheckout |
| - | - GiroCheckout initialises | + | |
| - | - EPS submits response to GiroCheckout | + | |
| - merchant gets response about initialisation (if an issue occurs the transaction is finished) | - merchant gets response about initialisation (if an issue occurs the transaction is finished) | ||
| - | - merchant sends redirect URL to buyer | + | - merchant sends redirect URL to buyer/ customer |
| - | - the buyer' | + | - the buyer's/ customer's browser redirects to eps where the bank is selected (optional, only if bank is not already stored in browser) |
| + | - eps redirects to the customer' | ||
| - bank shows login page | - bank shows login page | ||
| - | - buyer authorises payment | + | - buyer/ customer |
| - | - bank processes | + | - bank processes |
| - | - bank submits | + | - bank submits result to eps |
| - | - EPS submits result to GiroCheckout | + | - eps submits result to GiroCheckout |
| - | - GiroCheckout notifies merchant about the transaction | + | - GiroCheckout notifies merchant about the result ([[en: |
| - merchant processes result | - merchant processes result | ||
| - merchant sends HTTP Statuscode to GiroCheckout | - merchant sends HTTP Statuscode to GiroCheckout | ||
| - | - GiroCheckout sends merchants redirect page to EPS | + | - GiroCheckout sends merchants redirect page to eps |
| - | - buyer clicks " | + | - buyer/ |
| ===== API functions ===== | ===== API functions ===== | ||
| - | ==== overview | + | ==== Overview |
| - | As shown in the workflow there are different API calls during an EPS transaction. | + | As shown in the workflow there are different API calls during an eps transaction. |
| - | - EPS issuer bank request | + | - check bankstatus |
| - initialise transaction | - initialise transaction | ||
| - payment result notification to merchant | - payment result notification to merchant | ||
| Line 74: | Line 73: | ||
| - | ==== EPS issuer bank request ==== | + | ==== check bankstatus ==== |
| - | Returns a list which contains all supported | + | **This call should not be used anymore. All eps transactions now use an external bank selection form!** |
| + | |||
| + | This API call checks, if a bank supports the eps payment method. Therefore the BIC of the buyer' | ||
| + | |||
| + | === API call === | ||
| + | **URL:** https:// | ||
| + | **provided by:** GiroCheckout \\ | ||
| + | **called by:** merchant | ||
| + | |||
| + | == POST parameter == | ||
| + | ^parameter | ||
| + | |merchantId | ||
| + | |projectId | ||
| + | |bic |yes | ||
| + | |hash | ||
| + | |||
| + | == example == | ||
| + | {{page> | ||
| + | |||
| + | === reply === | ||
| + | The reply contains an encoded JSON string. A response code is submitted in the field rc. If the response contains **rc = 0**, the bank supports eps. If eps is supported, additional information can be found in the //eps// parameter. Additional information about the bank will also be returned, if they are known. | ||
| + | |||
| + | == JSON parameter == | ||
| + | ^name | ||
| + | |rc | ||
| + | |msg |yes | ||
| + | |bic |yes | ||
| + | |bankname | ||
| + | |eps |yes | ||
| + | ^HEADER parameter^^^^ | ||
| + | |hash | ||
| + | |||
| + | == example == | ||
| + | {{page> | ||
| + | |||
| + | |||
| + | ==== eps issuer bank request ==== | ||
| + | **This call should not be used anymore. All eps transactions now use an external bank selection form!** | ||
| + | |||
| + | Returns a list which contains all supported | ||
| **URL:** https:// | **URL:** https:// | ||
| Line 95: | Line 133: | ||
| == JSON parameter == | == JSON parameter == | ||
| ^name | ^name | ||
| - | |rc | + | |rc |
| - | |msg |yes | + | |msg |yes |
| - | |issuer | + | |issuer |
| == Beispiel == | == Beispiel == | ||
| {{page> | {{page> | ||
| + | ==== Initialize eps payment ==== | ||
| + | The initialisation of an eps can be processed in different ways. This will be distinguished just by the project id. | ||
| - | ==== initialise EPS payment ==== | ||
| Torwards a successful initialisation you receive a reference number and an redirect link. The redirect link leads to the online banking account of the buyer' | Torwards a successful initialisation you receive a reference number and an redirect link. The redirect link leads to the online banking account of the buyer' | ||
| Line 109: | Line 148: | ||
| **URL:** https:// | **URL:** https:// | ||
| **provided by:** GiroCheckout \\ | **provided by:** GiroCheckout \\ | ||
| - | **called by:** Händler | + | **called by:** merchant |
| == POST parameter == | == POST parameter == | ||
| ^name | ^name | ||
| - | |merchantId | + | |merchantId |
| - | |projectId | + | |projectId |
| - | |merchantTxId | + | |merchantTxId |
| - | |amount | + | |amount |
| - | |currency | + | |currency |
| - | |purpose | + | |purpose |
| - | |issuer | + | |bic |
| - | |urlRedirect | + | |urlRedirect |
| - | |urlNotify | + | |urlNotify |
| - | |hash | + | |kassenzeichen |
| + | |hash | ||
| + | |||
| == example == | == example == | ||
| Line 134: | Line 176: | ||
| == Parameter == | == Parameter == | ||
| ^name | ^name | ||
| - | |rc | + | |rc |
| - | |msg |yes | + | |msg |yes |String(255) |additional information about the response code | |
| - | |reference | + | |reference |
| - | |redirect | + | |redirect |
| ^HEADER parameter^^^^ | ^HEADER parameter^^^^ | ||
| - | |hash | + | |hash |
| == example in case of success == | == example in case of success == | ||
| Line 146: | Line 188: | ||
| == example in case of error == | == example in case of error == | ||
| {{page> | {{page> | ||
| - | |||
| ==== notification about the payment result ==== | ==== notification about the payment result ==== | ||
| - | The result of a initialised transaction will be submitted to the prior in the // | + | The result of a initialised transaction will be submitted to the prior in the // |
| + | |||
| + | The result of an eps payment is contained in the field // | ||
| - | Due to the internal | + | Due to the internal |
| Line 161: | Line 204: | ||
| == GET parameter == | == GET parameter == | ||
| - | ^name | + | ^name |
| - | |gcReference | + | |gcReference |
| - | |gcMerchantTxId | + | |gcMerchantTxId |
| - | |gcBackendTxId | + | |gcBackendTxId |
| - | |gcAmount | + | |gcAmount |
| - | |gcCurrency | + | |gcCurrency |
| - | |gcResultPayment | + | |gcResultPayment |
| - | |gcHash | + | |gcHash |
| === reply === | === reply === | ||
| Line 187: | Line 230: | ||
| == GET parameter == | == GET parameter == | ||
| - | ^name | + | ^name ^ mandatory |
| - | |gcReference | + | |gcReference |
| - | |gcMerchantTxId | + | |gcMerchantTxId |
| - | |gcBackendTxId | + | |gcBackendTxId |
| - | |gcAmount | + | |gcAmount |
| - | |gcCurrency | + | |gcCurrency |
| - | |gcResultPayment | + | |gcResultPayment |
| - | |gcHash | + | |gcHash |
| + | |||
| + | ===== Retrieve sender information ===== | ||
| + | This service allows the retrieval of the information associated to the sender of a completed transaction. As a response to the given reference number, the account holder, IBAN and BIC of the customer are returned. | ||
| + | |||
| + | === API call === | ||
| + | **URL:** https:// | ||
| + | **Provided by:** GiroCheckout \\ | ||
| + | **Called by:** Merchant | ||
| + | |||
| + | == POST Parameters == | ||
| + | ^Name | ||
| + | |merchantId | ||
| + | |projectId | ||
| + | |reference | ||
| + | |hash | ||
| + | |||
| + | == Example == | ||
| + | {{page> | ||
| + | |||
| + | === Response === | ||
| + | The response is a JSON object. The rc field returns an error code. If **rc = 0** is returned, the corresponding fields contain the sender information. | ||
| + | |||
| + | == JSON Parameters == | ||
| + | ^Name | ||
| + | |rc | ||
| + | |msg |yes |String(255) |additional information about the response code in case of error| | ||
| + | |accountholder | ||
| + | |iban | ||
| + | |bic |Optional |String(11) | ||
| + | ^HEADER parameter^^^^ | ||
| + | |hash | ||
| + | |||
| + | == Example in case of success == | ||
| + | {{page> | ||
| + | |||
| + | == Example in case of error == | ||
| + | {{page> | ||