@@ -53,7 +53,7 @@ Omnipay is a collection of packages which all depend on the
53
53
[ omnipay/common] ( https://github.com/thephpleague/omnipay-common ) package to provide
54
54
a consistent interface. There are no dependencies on official payment gateway PHP packages -
55
55
we prefer to work with the HTTP API directly. Under the hood, we use the popular and powerful
56
- [ PHP-HTTP] ( http://docs.php-http.org/en/latest/index.html ) library to make HTTP requests.
56
+ [ PHP-HTTP] ( http://docs.php-http.org/en/latest/index.html ) library to make HTTP requests.
57
57
A [ Guzzle] ( http://guzzlephp.org/ ) adapter is required by default, when using ` league/omnipay ` .
58
58
59
59
New gateways can be created by cloning the layout of an existing package. When choosing a
@@ -65,7 +65,7 @@ payment library, a good name for your composer package would be `santa/omnipay-g
65
65
66
66
## Installation
67
67
68
- Omnipay is installed via [ Composer] ( https://getcomposer.org/ ) .
68
+ Omnipay is installed via [ Composer] ( https://getcomposer.org/ ) .
69
69
For most uses, you will need to require ` league/omnipay ` and an individual gateway:
70
70
71
71
```
@@ -244,7 +244,7 @@ Gateway | 2.x | 3.x | Composer Package | Maintainer
244
244
[ Wirecard] ( https://github.com/igaponov/omnipay-wirecard ) | ✓ | ✓ | igaponov/omnipay-wirecard | [ Igor Gaponov] ( https://github.com/igaponov )
245
245
[ Wirecard] ( https://github.com/academe/omnipay-wirecard ) | ✓ | - | academe/omnipay-wirecard | [ Jason Judge] ( https://github.com/judgej )
246
246
[ Worldpay XML Direct Corporate Gateway] ( https://github.com/teaandcode/omnipay-worldpay-xml ) | ✓ | - | teaandcode/omnipay-worldpay-xml | [ Dave Nash] ( https://github.com/teaandcode )
247
- [ Worldpay XML Hosted Corporate Gateway] ( https://github.com/comicrelief /omnipay-worldpay-cg-hosted ) | ✓ | - | comicrelief /omnipay-worldpay-cg-hosted | [ Comic Relief ] ( https://github.com/comicrelief )
247
+ [ Worldpay XML Hosted Corporate Gateway] ( https://github.com/catharsisjelly /omnipay-worldpay-cg-hosted ) | ✓ | ✓ | catharsisjelly /omnipay-worldpay-cg-hosted | [ Chris Lock ] ( https://github.com/catharsisjelly )
248
248
[ Worldpay Business Gateway] ( https://github.com/thephpleague/omnipay-worldpay ) | ✓ | ✓ | omnipay/worldpay | [ Omnipay] ( https://github.com/thephpleague/omnipay )
249
249
[ Yandex.Money] ( https://github.com/yandex-money/yandex-money-cms-omnipay ) | ✓ | - | yandexmoney/omnipay | [ Roman Ananyev] ( https://github.com/aTastyCookie/ )
250
250
[ Yandex.Money for P2P payments] ( https://github.com/hiqdev/omnipay-yandexmoney ) | ✓ | - | hiqdev/omnipay-yandexmoney | [ HiQDev] ( https://github.com/hiqdev )
@@ -496,10 +496,10 @@ try {
496
496
Most gateways allow you to set up a sandbox or developer account which uses a different url
497
497
and credentials. Some also allow you to do test transactions against the live site, which does
498
498
not result in a live transaction.
499
-
499
+
500
500
Gateways that implement only the developer account (most of them) call it testMode. Authorize.net,
501
501
however, implements both and refers to this mode as developerMode.
502
-
502
+
503
503
When implementing with multiple gateways you should use a construct along the lines of the following:
504
504
``` php
505
505
if ($is_developer_mode) {
0 commit comments