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
@@ -58,7 +58,7 @@ as possible the differences between the various payments gateways.
58
58
## Package Layout
59
59
60
60
Omnipay is a collection of packages which all depend on the
61
-
[omnipay/common](https://github.com/omnipay/common) package to provide
61
+
[omnipay/common](https://github.com/thephpleague/omnipay-common) package to provide
62
62
a consistent interface. There are no dependencies on official payment gateway PHP packages -
63
63
we prefer to work with the HTTP API directly. Under the hood, we use the popular and powerful
64
64
[Guzzle](http://guzzlephp.org/) library to make HTTP requests.
@@ -72,7 +72,7 @@ payment library, a good name for your composer package would be `santa/omnipay-g
72
72
73
73
If you want to transfer your gateway to the `omnipay` GitHub organization and add it
74
74
to the list of officially supported gateways, please open a pull request on the
75
-
[omnipay/common](https://github.com/omnipay/common) package. Before new gateways will
75
+
[omnipay/common](https://github.com/thephpleague/omnipay-common) package. Before new gateways will
76
76
be accepted, they must have 100% unit test code coverage, and follow the conventions
77
77
and code style used in other Omnipay gateways.
78
78
@@ -106,47 +106,47 @@ Next, run composer to update your dependencies:
106
106
107
107
## Payment Gateways
108
108
109
-
All payment gateways must implement [GatewayInterface](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/GatewayInterface.php), and will usually
110
-
extend [AbstractGateway](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/AbstractGateway.php) for basic functionality.
109
+
All payment gateways must implement [GatewayInterface](https://github.com/thephpleague/omnipay-common/blob/master/src/Omnipay/Common/GatewayInterface.php), and will usually
110
+
extend [AbstractGateway](https://github.com/thephpleague/omnipay-common/blob/master/src/Omnipay/Common/AbstractGateway.php) for basic functionality.
If you submit credit card details which are obviously invalid (missing required fields, or a number
243
-
which fails the Luhn check), [InvalidCreditCardException](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/Exception/InvalidCreditCardException.php)
243
+
which fails the Luhn check), [InvalidCreditCardException](https://github.com/thephpleague/omnipay-common/blob/master/src/Omnipay/Common/Exception/InvalidCreditCardException.php)
244
244
will be thrown. You should validate the card details using your framework's validation library
245
245
before submitting the details to your gateway, to avoid unnecessary API calls.
246
246
@@ -307,7 +307,7 @@ To summarize the various parameters you have available to you:
307
307
308
308
## The Payment Response
309
309
310
-
The payment response must implement [ResponseInterface](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/Message/ResponseInterface.php). There are two main types of response:
310
+
The payment response must implement [ResponseInterface](https://github.com/thephpleague/omnipay-common/blob/master/src/Omnipay/Common/Message/ResponseInterface.php). There are two main types of response:
311
311
312
312
* Payment was successful (standard response)
313
313
* Website requires redirect to off-site payment form (redirect response)
@@ -408,13 +408,13 @@ you really think this should be a core feature and worth the effort.
408
408
409
409
## Example Application
410
410
411
-
An example application is provided in the [omnipay/example](https://github.com/omnipay/example) repo.
411
+
An example application is provided in the [omnipay/example](https://github.com/thephpleague/omnipay-example) repo.
412
412
You can run it using PHP's built in web server (PHP 5.4+):
413
413
414
414
$ php composer.phar update --dev
415
415
$ php -S localhost:8000
416
416
417
-
For more information, see the [Omnipay example application](https://github.com/omnipay/example).
417
+
For more information, see the [Omnipay example application](https://github.com/thephpleague/omnipay-example).
0 commit comments