File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,30 @@ $app->configure('laravel-omnipay');
79
79
80
80
Once you have published the configuration files, you can add your gateway options to the config file in ` config/laravel-omnipay.php ` .
81
81
82
+ #### PayPal Express Example
83
+ Here is an example of how to configure password, username and, signature with paypal express checkout driver
84
+
85
+ ``` php
86
+ ...
87
+ 'gateways' => [
88
+ 'paypal' => [
89
+ 'driver' => 'PayPal_Express',
90
+ 'options' => [
91
+ 'username' => env( 'OMNIPAY_PAYPAL_EXPRESS_USERNAME', '' ),
92
+ 'password' => env( 'OMNIPAY_PAYPAL_EXPRESS_PASSWORD', '' ),
93
+ 'signature' => env( 'OMNIPAY_PAYPAL_EXPRESS_SIGNATURE', '' ),
94
+ 'solutionType' => env( 'OMNIPAY_PAYPAL_EXPRESS_SOLUTION_TYPE', '' ),
95
+ 'landingPage' => env( 'OMNIPAY_PAYPAL_EXPRESS_LANDING_PAGE', '' ),
96
+ 'headerImageUrl' => env( 'OMNIPAY_PAYPAL_EXPRESS_HEADER_IMAGE_URL', '' ),
97
+ 'brandName' => 'Your app name',
98
+ 'testMode' => env( 'OMNIPAY_PAYPAL_TEST_MODE', true )
99
+ ]
100
+ ],
101
+ ]
102
+ ...
103
+ ```
104
+
105
+
82
106
### Usage
83
107
84
108
``` php
You can’t perform that action at this time.
0 commit comments