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/08/21 21:38] michaelheumann |
en:phpsdk:start [2023/12/28 15:28] (current) michaelheumann [Changing the Server Endpoint] |
||
---|---|---|---|
Line 8: | Line 8: | ||
===== Download ===== | ===== Download ===== | ||
- | {{:phpsdk: | + | [[https:// |
==== Github ==== | ==== Github ==== | ||
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): |