You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Sumfony 3.2 and I want to add the payment.
So I implemented the bundles JMS Core Bundle and JMS Paypal Bundle.
From the site, I click paypal, I am redirected to paypal, I made the payment.
Once the payment is done, I am redirected to the site.
Process OK
Problem: the payment is not made or debited on one side or credited to the other.
The bank account is confirmed
According to paypal:
By cons, the next 2 steps are missing (especially the DoEC, GetEC being optional) so the payment is not done, there is just basically the initialization of the payment page is done correctly but no validation thereafter .
How to send validation with the bundle
`<?php
namespace appBundle\Controller;
use appBundle\Entity\Order;
use appBundle\Entity\User;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use JMS\Payment\CoreBundle\PluginController\Result;
use JMS\Payment\CoreBundle\Form\ChoosePaymentMethodType;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use JMS\Payment\CoreBundle\Plugin\Exception\Action\VisitUrl;
use JMS\Payment\CoreBundle\Plugin\Exception\ActionRequiredException;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\RedirectResponse;
class OrdersController extends Controller
{
public function newAction($strToken, $language)
{
$em = $this->getDoctrine()->getManager();
Hello,
I use Sumfony 3.2 and I want to add the payment.
So I implemented the bundles JMS Core Bundle and JMS Paypal Bundle.
From the site, I click paypal, I am redirected to paypal, I made the payment.
Once the payment is done, I am redirected to the site.
Process OK
Problem: the payment is not made or debited on one side or credited to the other.
The bank account is confirmed
According to paypal:
By cons, the next 2 steps are missing (especially the DoEC, GetEC being optional) so the payment is not done, there is just basically the initialization of the payment page is done correctly but no validation thereafter .
How to send validation with the bundle
`<?php
namespace appBundle\Controller;
use appBundle\Entity\Order;
use appBundle\Entity\User;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use JMS\Payment\CoreBundle\PluginController\Result;
use JMS\Payment\CoreBundle\Form\ChoosePaymentMethodType;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use JMS\Payment\CoreBundle\Plugin\Exception\Action\VisitUrl;
use JMS\Payment\CoreBundle\Plugin\Exception\ActionRequiredException;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\RedirectResponse;
class OrdersController extends Controller
{
public function newAction($strToken, $language)
{
$em = $this->getDoctrine()->getManager();
}`
The text was updated successfully, but these errors were encountered: