File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
- /vendor
1
+ /vendor
2
+ composer.lock
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ This package comes with:
19
19
## Contents
20
20
21
21
- [ Installation] ( #installation )
22
+ - [ Adding a service] ( #adding-a-service )
22
23
- [ Gateway Usage] ( #gateway-usage )
23
24
- [ Accessing Omnipay] ( #accessing-omnipay )
24
25
- [ Adding Options] ( #adding-options )
@@ -45,6 +46,20 @@ Then in your `config/shop.php` add
45
46
46
47
in the ` gateways ` array.
47
48
49
+ ## Adding a service
50
+
51
+ Once installed, the next step will be to add the service of your choice in ` composer.json ` file.
52
+
53
+ The services available are listed here:
54
+
55
+ [ https://github.com/thephpleague/omnipay#payment-gateways ] ( https://github.com/thephpleague/omnipay#payment-gateways )
56
+
57
+ For example, the following dependency must be added to use ** Stripe** :
58
+
59
+ ``` json
60
+ "omnipay/stripe" : " ~2.0"
61
+ ```
62
+
48
63
## Gateway Usage
49
64
50
65
The following example will give you an idea of how use and access omnipay:
Original file line number Diff line number Diff line change 13
13
"php" : " >=5.4.0" ,
14
14
"illuminate/console" : " ~5.0" ,
15
15
"illuminate/support" : " ~5.0" ,
16
- "omnipay/omnipay " : " 2.0.* "
16
+ "omnipay/common " : " ~2.4 "
17
17
},
18
18
"require-dev" : {
19
19
"sami/sami" : " dev-master"
You can’t perform that action at this time.
0 commit comments