This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:phpsdk:start [2018/07/18 19:28] michaelheumann [Download] |
en:phpsdk:start [2025/08/09 03:50] (current) michaelheumann [Download] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Download ===== | ===== Download ===== | ||
| - | {{:phpsdk: | + | [[https:// |
| + | ==== Github ==== | ||
| + | GiroCheckout SDK is now also available and installable via composer, packagist and Github. | ||
| + | [[https:// | ||
| + | [[https:// | ||
| ===== Important note regarding notify and redirect ===== | ===== Important note regarding notify and redirect ===== | ||
| GiroCheckout uses two parallel channels for the communication between the GiroCheckout server and the Shop: The notification (or notify for short) and the redirect. | GiroCheckout uses two parallel channels for the communication between the GiroCheckout server and the Shop: The notification (or notify for short) and the redirect. | ||
| Line 165: | Line 169: | ||
| You may do this in one of three ways: | You may do this in one of three ways: | ||
| - | 1) In your PHP Code: | + | 1) In your PHP code: \\ |
| + | Via the environment: | ||
| <code php> | <code php> | ||
| - | apache_setenv( " | + | apache_setenv( " |
| + | </ | ||
| + | Or directly through the setServer() method: | ||
| + | <code php> | ||
| + | try { | ||
| + | $request = new GiroCheckout_SDK_Request( GiroCheckout_SDK_TransactionType_helper:: | ||
| + | $request-> | ||
| + | |||
| + | $request-> | ||
| + | |||
| + | $request-> | ||
| + | -> | ||
| + | -> | ||
| + | } | ||
| + | catch(Exception $e) { | ||
| + | // Handle exception | ||
| + | } | ||
| </ | </ | ||
| 2) On the Linux command line (e.g. for executing the SDK examples without a browser): | 2) On the Linux command line (e.g. for executing the SDK examples without a browser): | ||