Closed alexandernst closed 10 years ago
could you post your composer.json file, I believe you dont added the extension there
Sorry for not posting this before, was AFK.
{
"name": "payum/payum-yii-extension",
"type": "yii-extension",
"description": "Rich payment solutions for Yii framework. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more",
"keywords": [
"payment",
"paypal",
"be2bill",
"authorize.net",
"omnipay",
"paypal express checkout",
"paypal pro checkout",
"recurring payment",
"payex",
"offline",
"instant notification"
],
"homepage": "http://payum.forma-dev.com",
"license": "MIT",
"authors": [
{
"name": "Lagoda Pavel",
"email": "plagoda@webdevs.com"
},
{
"name": "Kotlyar Maksim",
"email": "kotlyar.maksim@gmail.com"
},
{
"name": "Payum project",
"homepage": "http://payum.forma-dev.com/"
},
{
"name": "Community contributions",
"homepage": "https://github.com/Payum/Payum/contributors"
}
],
"require": {
"php": ">=5.3.2",
"payum/core": "~0.9.0",
"payum/payum-yii-extension": "0.9.*@dev",
"payum/paypal-express-checkout-nvp": "@stable",
"payum/paypal-ipn": "@stable"
},
"suggest": {
"yiisoft/yii": "If you plan to use this extension outside of a Yii project",
"payum/paypal-express-checkout-nvp": "If you want to use paypal express checkout nvp gateway",
"payum/paypal-pro-checkout-nvp": "If you want to use paypal pro checkout nvp gateway",
"payum/authorize-net-aim": "If you want to use authorize.net gateway",
"payum/be2bill": "If you want to use be2bill gateway",
"payum/payex": "If you want to use payex gateway",
"payum/omnipay-bridge": "If you want to use omnipay provided gateways"
},
"autoload": {
"psr-0": { "Payum\\YiiExtension": "" }
},
"extra": {
"branch-alias": {
"dev-master": "0.9-dev"
}
},
"config": {
"bin-dir": "bin"
}
}
@alexandernst As far as I can see you posted the composer.json of the extension but I am talking about the one from your project root folder.
@makasim Oh... Now I see where was my error. I was trying to make the Yii extension itself install the PayPal extensions as it's own require
libs, but I should have created a new composer.json file. Sorry, missread the instructions. Now it's working :+1:
I just realised that following this guide: http://payum.org/doc/0.10/PayumYiiExtension/installation I should end up with this content in the
vendor
folder:Anyways, that last folder (
payum-yii-extension
) doesn't get downloaded. I tried changing the version of yii-extension in the composer.json file to0.9.*@dev
, but the result is the same.This is the output:
Any ideas?