You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE.md
+38-2Lines changed: 38 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
## Upgrade apps from 2.x to 3.x
2
2
- The `redirect()` method no calls `exit()` after sending the content. This is up to the developer now.
3
+
- It is now possible to use `setAmountInteger(integer $value)` and `setMoney(Money $money)`
4
+
- HTTPPlug is used. Guzzle will be installed when using `omnipay/omnipay`, otherwise you need to required your own implementation (see http://docs.php-http.org/en/latest/clients.html)
3
5
4
6
## Upgrade Gateways from 2.x to 3.x
5
7
@@ -18,6 +20,40 @@ Gateways should not rely on Guzzle or other clients directly.
18
20
-`$body` should be a string (eg. `http_build_query($data)` or `json_encode($data)` instead of just `$data`).
19
21
- The `$headers` parameters should be an `array` (not `null`, but can be empty)
20
22
21
-
Note: Prior to stable release, the goal is to migrate to PSR-18, once completed.
0 commit comments