bee-lab / beelabpaypalbundle Goto Github PK
View Code? Open in Web Editor NEW:moneybag: Simple bundle for Paypal integration
:moneybag: Simple bundle for Paypal integration
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!
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
We should propose a recipe in https://github.com/symfony/recipes-contrib
Then, if recipe is approved, we'll adapt docs.
Is is possible to create suscriptions with this bundle?
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 :)
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.
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 ?
Symfony 5 support is not yet on a stable branch, I had to take dev-master, is it possible to have version 1.4.2 released?
For exemple, call directly the return URL marks the transaction as complete without validation.
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
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.
bad issue. sorry
Hi! It is possible to change currency? How?
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!}
;)
A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.