imagina / icommercepaypal-module
1.0.3
2019-08-28 23:39 UTC
Requires
- php: >=7.0.0
- anouar/paypalpayment: ^2.1
- composer/installers: ~1.0
- idavoll/core-module: ~3.0
- imagina/icommerce-module: >=1.0
Requires (Dev)
- orchestra/testbench: 3.5.*
- phpunit/phpunit: ~6.0
README
播种器
run php artisan module:seed Icommercepaypal
供应商
add composer.json
"anouar/paypalpayment":"^2.1"
add the service provider to config/app.php
'providers' => array(
// ...
Anouar\Paypalpayment\PaypalpaymentServiceProvider::class,
)
Then add an alias under aliases array.
'aliases' => array(
// ...
'Paypalpayment' => Anouar\Paypalpayment\Facades\PaypalPayment::class,
)
Finally Pulish the package configuration by running this CMD
php artisan vendor:publish --provider="Anouar\Paypalpayment\PaypalpaymentServiceProvider"
配置
- Client ID
- Client Secret
- Mode (Sandbox or Live)
API
初始化(参数 = 订单ID)
https://mydomain/api/icommercepaypal