makasim / PayumBundleSandbox

Symfony2 application to play with PayumBundle.
MIT License
35 stars 29 forks source link

Unrecognized options when installing your bundle #60

Closed nicosomb closed 8 years ago

nicosomb commented 8 years ago

Hello,

I want to use PayumBundle, I tried to configured it as the documentation said but I had some problems. So I decided to try the sandbox, but I've the same errors:

Unrecognized options "factory, username, password, signature, sandbox" under "payum.gateways.paypal_express_checkout_and_doctrine_orm"

Any idea?

makasim commented 8 years ago

What version of the sandbox you installed?

FYI the sandbox is meant as demo, you should not use it as a base of your project.

nicosomb commented 8 years ago

I use master branch.

About sandbox/demo, I know that, I just want to see how the bundle works.

makasim commented 8 years ago

Could you please post your configurations?

FYI: The sandbox works or me both master and 1.x branch.

nicosomb commented 8 years ago

I just git cloned the project and tried to install it. No changes.

makasim commented 8 years ago

branch?

nicosomb commented 8 years ago

I use master branch.

;-)

makasim commented 8 years ago

You may need to upgrade deps, and add @dev to payum-bundle and\or payum

makasim commented 8 years ago

Since sandbox master branch require payum-bundle 2.x version but it has not been released yet.

alborq commented 8 years ago

Same bug. try today with : php composer.phar create-project payum/payum-bundle-sandbox payum --stability=dev --ignore-platform-reqs

    "payum/payum-bundle": "^1.2@dev",
    "payum/payum": "^1.2@dev",

Dev tagged

Error : [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Unrecognized options "factory, username, password, signature, sandbox" under "payum.gateways.paypal_express_checkout_and_doctrine_orm"

I try sandbox but go same with get started from payumbundle doc...

alborq commented 8 years ago
          paypal_express_checkout_nvp:
#                factory: paypal_express_checkout
                username:  %paypal_username%
                password:  %paypal_password%
                signature: %paypal_signature%
                sandbox: true

fix it for me... find from other issue....

please before change doc, change code too....

makasim commented 8 years ago

@alborq what is wrong with the code?

makasim commented 8 years ago

sandbox is not something to be used extensively by others. The main intention to have it is to test everything before releasing stable release. Of course you may use it for some inspirations but it may be unstable, I dont care about it much.

alborq commented 8 years ago

makasim A problem is here. i have follow this : https://github.com/Payum/PayumBundle/blob/master/Resources/doc/get_it_started.md

in it, you require the lastest soo v1.2.X

With it: they say use this conf :

 gateways:
        offline:
            factory: offline

it's a doc. this fail with error paste on top.

i have discover the good way. before, my second message. i dont know if the doc or code is not up to date but, this getting started fail install

makasim commented 8 years ago

fixed in https://github.com/makasim/PayumBundleSandbox/commit/21b660deecedb44bec5d7e13bd7a9b675e0237cd