正如标题所示,我试图在PayPal上安装Merchant SDK for Express Checkout API。在Paypal上安装Merchant SDK for Express Checkout API
composer.json
{
"name": "paypal/merchant-sdk-php",
"description": "PayPal Merchant SDK for PHP",
"keywords": ["paypal", "php", "sdk"],
"homepage": "https://developer.paypal.com",
"license": "proprietary",
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/merchant-sdk-php/contributors"
}
],
"require": {
"php": ">=5.3",
"ext-curl": "*",
"paypal/merchant-sdk-php":"v3.6.106"
},
"autoload": {
"psr-0": {
"PayPal\\Service": "lib/",
"PayPal\\CoreComponentTypes": "lib/",
"PayPal\\EBLBaseComponents": "lib/",
"PayPal\\EnhancedDataTypes": "lib/",
"PayPal\\PayPalAPI": "lib/"
}
}
}
当我运行composer update
,这里是我的错误:我尝试安装的软件包,Button Manager的SDK
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package paypal/merchant-sdk-php 1.0.0 could not be found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min
imum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common
problems.
。这就要求我将"require"
中的最后一行更改为"paypal/buttonmanager-sdk-php":"v3.6.106"
而且工作正常。
我不知道为什么在商家SDK的情况下搜索1.0.0版本,并报告找不到它的错误。
我从官方网页here
考虑我的指示,请提供一个洞察我的问题,如果需要也要求任何额外的信息。