This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:phpsdk:start [2019/05/28 19:38] michaelheumann [Download] |
en:phpsdk:start [2025/08/09 03:50] (current) michaelheumann [Download] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Download ===== | ===== Download ===== | ||
| - | {{:phpsdk: | + | [[https:// |
| ==== Github ==== | ==== Github ==== | ||
| - | GiroCheckout SDK is now also available and installable via composer, packagist and Github. | + | GiroCheckout SDK is now also available and installable via composer, packagist and Github. |
| [[https:// | [[https:// | ||
| [[https:// | [[https:// | ||
| Line 169: | 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): | ||