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: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ require 'vendor/autoload.php';
27
27
```
28
28
*Note: you'll need a composer.json file with the following require section and to run
29
29
`composer update`.*
30
+
30
31
```json
31
32
{
32
33
"require": {
@@ -52,6 +53,15 @@ Alternatively, we provide a custom `SPL` autoloader:
52
53
require 'path/to/anet_php_sdk/autoload.php';
53
54
```
54
55
56
+
**Issue with PHP 7:***You may get below error when run the composer update with PHP 7. To get rid of this error, use `composer update --ignore-platform-reqs`*
57
+
```php
58
+
Problem 1
59
+
- Installation request for authorizenet/authorizenet 1.8.6.2 -> satisfiable
60
+
by authorizenet/authorizenet[1.8.6.2].
61
+
- authorizenet/authorizenet 1.8.6.2 requires php ~5.3 -> your PHP version (7
62
+
.0.3RC1) or value of "config.platform.php" in composer.json does not satisfy that requirement.
63
+
```
64
+
55
65
## Authentication
56
66
To authenticate with the Authorize.Net API you will need to retrieve your API Login ID and Transaction Key from the [`Merchant Interface`](https://account.authorize.net/). You can find these details in the Settings section.
57
67
If you need a sandbox account you can sign up for one really easily [`here`](https://developer.authorize.net/sandbox/).
0 commit comments