Skip to content

Commit 236eacb

Browse files
committed
Update links
1 parent 71b7f42 commit 236eacb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Next, run composer to update your dependencies:
106106

107107
## Payment Gateways
108108

109-
All payment gateways must implement [GatewayInterface](https://github.com/omnipay/omnipay/blob/master/src/Omnipay/Common/GatewayInterface.php), and will usually
110-
extend [AbstractGateway](https://github.com/omnipay/omnipay/blob/master/src/Omnipay/Common/AbstractGateway.php) for basic functionality.
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.
111111

112112
The following gateways are available and officially supported:
113113

@@ -170,7 +170,7 @@ gateway (other than by the methods they support).
170170

171171
## Credit Card / Payment Form Input
172172

173-
User form input is directed to an [CreditCard](https://github.com/omnipay/omnipay/blob/master/src/Omnipay/Common/CreditCard.php)
173+
User form input is directed to an [CreditCard](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/CreditCard.php)
174174
object. This provides a safe way to accept user input.
175175

176176
The `CreditCard` object has the following fields:
@@ -228,7 +228,7 @@ $card->setFirstName('Adrian');
228228
```
229229

230230
If you submit credit card details which are obviously invalid (missing required fields, or a number
231-
which fails the Luhn check), [InvalidCreditCardException](https://github.com/omnipay/omnipay/blob/master/src/Omnipay/Common/Exception/InvalidCreditCardException.php)
231+
which fails the Luhn check), [InvalidCreditCardException](https://github.com/omnipay/common/blob/master/src/Omnipay/Common/Exception/InvalidCreditCardException.php)
232232
will be thrown. You should validate the card details using your framework's validation library
233233
before submitting the details to your gateway, to avoid unnecessary API calls.
234234

@@ -295,7 +295,7 @@ To summarize the various parameters you have available to you:
295295

296296
## The Payment Response
297297

298-
The payment response must implement [ResponseInterface](https://github.com/omnipay/omnipay/blob/master/src/Omnipay/Common/ResponseInterface.php). There are two main types of response:
298+
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:
299299

300300
* Payment was successful (standard response)
301301
* Website requires redirect to off-site payment form (redirect response)
@@ -396,13 +396,13 @@ you really think this should be a core feature and worth the effort.
396396

397397
## Example Application
398398

399-
An example application is provided in the `example` directory. You can run it using PHP's built in
400-
web server (PHP 5.4+):
399+
An example application is provided in the [omnipay/example](https://github.com/omnipay/example) repo.
400+
You can run it using PHP's built in web server (PHP 5.4+):
401401

402402
$ php composer.phar update --dev
403-
$ php -S localhost:8000 -t example/
403+
$ php -S localhost:8000
404404

405-
For more information, see the [example application directory](https://github.com/omnipay/omnipay/tree/master/example).
405+
For more information, see the [Omnipay example application](https://github.com/omnipay/example).
406406

407407
## Support
408408

0 commit comments

Comments
 (0)