Code Monkey home page Code Monkey logo

beelabpaypalbundle's People

Contributors

garak avatar glancu avatar marliotto avatar scullwm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beelabpaypalbundle's Issues

Bug with guzzle

Hello and thanks for this bundle!

In production everythings it's ok, but when i'am in debug mode, i have this error when prepare payment :

[curl] 35: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure [url] https://api-3t.sandbox.paypal.com/nvp? ...

Do you have an idea?

Thanks!

Update docs

Current docs are referring to old way to retrieve services via service locator (e.g. $this->get('serviceName').
We need to adapt it to suggest service injection

Service "beelab_paypal.service" not found

Hello, I try to integrate my bundle to Symfony 4.

I have an error in the in src/Controller/DefaultController.php (line 44) :

$response =$this->get('beelab_paypal.service')->setTransaction($transaction)->start();

Service "beelab_paypal.service" not found: even though it exists in the app's container, the container inside "App\Controller\PaymentController" is a smaller service locator that only knows about the "doctrine", "form.factory", "http_kernel", "parameter_bag", "request_stack", "router", "security.authorization_checker", "security.csrf.token_manager", "security.token_storage", "serializer", "session" and "twig" services. Unless you need extra laziness, try using dependency injection instead. Otherwise, you need to declare it using "PaymentController::getSubscribedServices()".

It's look like Symfony can't find the service.

Thank you for your answer :)

Can't install on Symfony 3.4.12

Hi, I'm trying to install on a Symfony 3.4.12 project and I'm getting this errors:

composer require beelab/paypal-bundle
Using version ^1.3 for beelab/paypal-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: don't install beelab/paypal-bundle v1.3.1
- Conclusion: remove doctrine/doctrine-bundle 1.8.1
- Conclusion: don't install doctrine/doctrine-bundle 1.8.1
- symfony/http-foundation v2.1.0 conflicts with doctrine/doctrine-bundle[1.8.1].
...

and a lot more like this las line.

What I'm doing bad?

Thank's for all.

Goal of this bundle ?!?

Sorry by advance if my question is trivial or stupid.

I'm looking for symfony 4 payment solution before to start coding my own.
I tried your bundle but there is only a service that stores transaction to paypal.
I don't see where you handle bank card or such things.

Am I true ? Did I miss the purpose of this bundle ?
If I am true, could you please update your readmd to say exactly the purpose of this bundle ?

Problem update symfony 5

Hi, typing the command:
composer require beelab/paypal-bundle
I get the error:
Your requirements could not be resolved to an installable set of packages.

Problem 1
- beelab/paypal-bundle v1.4.1 requires symfony/config ^3.4|^4.0 -> no matching package found.
- beelab/paypal-bundle v1.4.0 requires symfony/config ^3.4|^4.0 -> no matching package found.
- Installation request for beelab/paypal-bundle ^1.4 -> satisfiable by beelab/paypal-bundle[v1.4.0, v1.4.1].

i wonder if the library supports symfony 5 and if not when it will be updated thanks

service beelab_paypal.service not found

i have to install beelab PayPal bundles symfony 4.2.2 but I have some issue facing,
please help me resolve my issue.

issue :
Cannot autowire argument $service of "App\Controller\DefaultController::payment()": it references class "Beelab\PaypalBundle\Paypal\Service" but no such service exists. You should maybe alias this class to the existing "beelab_paypal.service" service.

getting "503 Service Unavailable" in prod env.

Hi,

I installed beelab bundle on symfony 3.4.
Everything works fine in dev environment with paypal develloper (sandbox),
but i get "503 Service Unavailable" error in prod env.

Dumping Exception shows : 'Security header is not valid'
Seems to come from setTransaction($transaction)

       try {
            $response = $service->setTransaction($transaction)->start();
            $this->getDoctrine()->getManager()->persist($transaction);
            $this->getDoctrine()->getManager()->flush();
            return $this->redirect($response->getRedirectUrl());
        } catch (Exception $e) {
            throw new HttpException(503, 'Erreur de paiement', $e);
        }

I've tried cache:clear of course, look on the web for similar paypal issues, but nothing comes to me.
If (you have any idea?) {thanks!}
;)

Symfony 4.2 deprecation

A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.