This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:girocheckout:paypal:start [2023/02/10 22:32] michaelheumann |
en:girocheckout:paypal:start [2023/03/24 20:47] michaelheumann |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Test data ===== | ===== Test data ===== | ||
{{page> | {{page> | ||
- | ===== workflow | + | |
+ | ===== Workflow | ||
<uml> | <uml> | ||
Line 57: | Line 58: | ||
===== API functions ===== | ===== API functions ===== | ||
- | ==== overview | + | ==== Overview |
As shown in the workflow there are different API calls during a PayPal transaction. | As shown in the workflow there are different API calls during a PayPal transaction. | ||
- | - initialize | + | - Initialize |
- | - payment | + | - Payment |
- | - buyer redirection to the merchant (triggered by buyer) | + | - Buyer redirection to the merchant (triggered by buyer) |
==== Initialize PayPal payment ==== | ==== Initialize PayPal payment ==== | ||
- | Torwards | + | Towards |
- | === request | + | === Request |
**URL:** https:// | **URL:** https:// | ||
**provided by:** GiroCheckout \\ | **provided by:** GiroCheckout \\ | ||
Line 76: | Line 77: | ||
== POST parameters == | == POST parameters == | ||
- | ^name ^mandatory | + | ^Name ^Mandatory |
|merchantId | |merchantId | ||
|projectId | |projectId | ||
Line 86: | Line 87: | ||
|urlRedirect | |urlRedirect | ||
|urlNotify | |urlNotify | ||
- | |kassenzeichen | + | |kassenzeichen |
|hash | |hash | ||
- | == example | + | == Example |
{{page> | {{page> | ||
- | === reply === | + | === Reply === |
The reply includes a JSON encoded string. The field rc contains the response code. If it is 0 the transaction was successfully initialized. The response also includes a transaction id and a redirect URL to the payment page. | The reply includes a JSON encoded string. The field rc contains the response code. If it is 0 the transaction was successfully initialized. The response also includes a transaction id and a redirect URL to the payment page. | ||
Line 107: | Line 108: | ||
|hash | |hash | ||
- | == example | + | == Example |
{{page> | {{page> | ||
- | == example | + | == Example |
{{page> | {{page> | ||
- | === SEPA compliant characters | + | ==== Notification |
- | {{page> | + | |
- | + | ||
- | ==== notification | + | |
The result of an initialized transaction will be submitted to the prior in the // | The result of an initialized transaction will be submitted to the prior in the // | ||
- | === request | + | === Request |
**URL:** notifyUrl of the prior init transaction call \\ | **URL:** notifyUrl of the prior init transaction call \\ | ||
**provided by:** merchant \\ | **provided by:** merchant \\ | ||
Line 136: | Line 134: | ||
|gcHash | |gcHash | ||
- | === reply === | + | === Reply === |
As a reply to the GET request, one of the following HTTP status codes is expected. | As a reply to the GET request, one of the following HTTP status codes is expected. | ||
Line 144: | Line 142: | ||
|all others | |all others | ||
- | ==== redirection | + | ==== Redirection |
After completing the payment, the customer may return to the merchant through a link. This return is not done automatically. | After completing the payment, the customer may return to the merchant through a link. This return is not done automatically. | ||
- | === request | + | === Request |
**URL:** redirectUrl of the prior init transaction call \\ | **URL:** redirectUrl of the prior init transaction call \\ | ||
**provided by:** merchant \\ | **provided by:** merchant \\ |