2
votes

I'm trying to install the Paypal PHP REST API, by following the instructions on this page.

https://github.com/paypal/PayPal-PHP-SDK/wiki/Installation-Composer

Namely, I'm running this command on composer.

composer require "paypal/rest-api-sdk-php:*"

However, I'm running into this error.

Problem 1 - The requested package paypal/rest-api-sdk-php could not be found in any version, there may be a typo in the package name.

Potential causes:

  • A typo in the package name

  • The package is not available in a stable-enough version according to your minimum-stability setting

see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.

The instructions aren't working. Does this mean the API has been abandoned?

1
try: composer self-update; composer require "paypal/rest-api-sdk-php:*" Also, share you composer.json file please - Patrick
No, didn't work - Jon Abaca
The instructions work fine for me as is. Composer fires up and I get Installing paypal/rest-api-sdk-php (1.10.0) downloaded to my vendor dir. - Jeff Puckett
There is a working solution described in stackoverflow.com/questions/39400764/… by Olga. - olga
Was this solved ? - GRIFFIN KISIA

1 Answers

0
votes

composer require "paypal/rest-api-sdk-php:

composer require paypal/rest-api-sdk-php

Remove the quote first or install another laravel application and try that again