pmclain / module-stripe

Stripe Payments for Magento 2
Open Software License 3.0
47 stars 21 forks source link

composer wont find anything to install #29

Closed Monahister closed 6 years ago

Monahister commented 6 years ago

hello,

i ve tried to install it with the composer command you gave but the below message is what i get with no installation. I have magento 2.1.9, can you please advise?

thank you!

Using version ^1.1 for pmclain/module-stripe
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead.
Package sjparkinson/static-review is abandoned, you should avoid using it. Use phpro/grumphp instead.
Generating autoload files

also when i run composer require stripe/stripe-php i get:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - pmclain/module-stripe 1.1.0 requires stripe/stripe-php ~5.8.0 -> satisfiable by stripe/stripe-php[v5.8.0] but these conflict with your requirements or minimum-stability.
    - pmclain/module-stripe 1.1.0 requires stripe/stripe-php ~5.8.0 -> satisfiable by stripe/stripe-php[v5.8.0] but these conflict with your requirements or minimum-stability.
    - pmclain/module-stripe 1.1.0 requires stripe/stripe-php ~5.8.0 -> satisfiable by stripe/stripe-php[v5.8.0] but these conflict with your requirements or minimum-stability.
    - Installation request for pmclain/module-stripe ^1.1 -> satisfiable by pmclain/module-stripe[1.1.0].

Installation failed, reverting ./composer.json to its original content.
pmclain commented 6 years ago

can you share your composer.json file?

Monahister commented 6 years ago

sure, I will when I go back home tonight. in the midtime, i tried the same on my local Magento (MAMP) and it was successful! very odd...

Monahister commented 6 years ago

still the same problem on my live one. here you go:

{
    "name": "magento/project-community-edition",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "type": "project",
    "version": "2.1.8",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "require": {
        "magento/product-community-edition": "2.1.9",
        "composer/composer": "@alpha",
        "mageplaza/module-core": "^1.3",
        "adyen/module-payment": "^2.1",
        "worldpay/magento2-module-payments": "^2.0",
        "pmclain/module-stripe": "^1.1"
    },
    "require-dev": {
        "phpunit/phpunit": "4.1.0",
        "squizlabs/php_codesniffer": "1.5.3",
        "phpmd/phpmd": "@stable",
        "pdepend/pdepend": "2.4.0",
        "fabpot/php-cs-fixer": "~1.2",
        "lusitanian/oauth": "~0.3 <=0.7.0",
        "sebastian/phpcpd": "2.0.0"
    },
    "config": {
        "use-include-path": true
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/"
        },
        "psr-0": {
            "": "app/code/"
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ]
    },
    "autoload-dev": {
    "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
        }
    },
    "minimum-stability": "alpha",
    "prefer-stable": true,
    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    ],
    "extra": {
        "magento-force": "override"
    }
}
pmclain commented 6 years ago

Are you sure it isn't already installed? Do either of the directories ./vendor/pmclain or ./vendor/stripe? Any output if you run grep stripe ./composer.lock?

Monahister commented 6 years ago

hello, thank you for all the help! you are right it was there, i was expecting it in the app/code folder like the rest extensions, i am still new to this platform, my apologies!

can i ask another question please? it looks like it doesn't work through Firefox. I am put an order and i am paying with stripe debit card for test, and it never goes through the next step, no errors no nothing just spinning the wheel for ever. Chrome is fine, the payment goes through straight away as expected. have you seen this before?

pmclain commented 6 years ago

Haven't seen this before. I ran a few test transactions on Firefox without issue today. Are you getting any errors in dev tools when this happens?

pmclain commented 6 years ago

Closing as the original issue has been resolved. Please open a new issues if the Firefox problem persists.