Sylius / Payum / Stripe config error "boolean sandbox must be set"

I have successfully installed the Stripe gateway, however, when I try to send a payment as a user, I get an error: "The boolean sandbox option must be set." I am not getting this error with PayPal, only with Stripe.

Here are my corresponding config.yml entries:

payum:
    gateways:
        paypal_express_checkout:
            factory: "paypal_express_checkout"
            payum.http_client: "@sylius.payum.http_client"
            username: "%paypal.express_checkout.username%"
            password: "%paypal.express_checkout.password%"
            signature: "%paypal.express_checkout.signature%"
            sandbox: true
        stripe:
            factory: stripe_checkout
            publishable_key: pk_test_1UyHCW3tydYjdxYLvaGPRMKh
            secret_key: sk_test_81j9puWh2fTnROgOtIK0hjLb
            sandbox: true

sylius_payment:
     driver: doctrine/orm
     gateways:
        stripe: Stripe

      

What am I doing wrong?

(Also, these are not real keys)

+3


source to share


1 answer


There was a typo in the PayPal section of the parameters.yml file. My guess is that it broke the configuration before it could get to the sandbox: true line.



+3


source







All Articles