Giter Site home page Giter Site logo

support for Payum 0.12 about payum-redsys HOT 8 CLOSED

crevillo avatar crevillo commented on July 17, 2024
support for Payum 0.12

from payum-redsys.

Comments (8)

crevillo avatar crevillo commented on July 17, 2024

Hola, Tengo en mente integrarlo con sylius, pero no he tenido tiempo ahora. en todo caso yo con payum estoy trabajando con la 0.13...

from payum-redsys.

makasim avatar makasim commented on July 17, 2024

I am going to release Payum 0.14 soon and make this merged Sylius/Sylius#2384

from payum-redsys.

crevillo avatar crevillo commented on July 17, 2024

great @makasim. ping to tag redsys :).

from payum-redsys.

informatico-madrid avatar informatico-madrid commented on July 17, 2024

Genial!!. Voy a probar lo y ver si saco yo tiempo para integrar con sylius. Gracias de nuevo.

Great !!. I'll try it and see if I have time to integrate it in Sylius. Thanks again.

from payum-redsys.

informatico-madrid avatar informatico-madrid commented on July 17, 2024

Sorry for the newbie question. How I can use your Fork in Composer? I tried to replace your Fork in sylius composer, but Composer can not find it. I tried to add in your fork composer as a repository, but composer deletes all dependencies required to sylius.

Perdona por la pregunta de novato. Como puedo usar tu Fork en Composer? He intentado remplazar sylius con tu FOrk en composer, pero Composer no lo encuentra. He intentado añadir en composer tu fork como un repositorio, pero composer borra todas las dependencias requeridas de sylius.

from payum-redsys.

makasim avatar makasim commented on July 17, 2024

In the repositories section of your composer.json file you have put your repo and change the version of the lib like this dev-{branch-name}

{
  "require": {
    "crevillo/payum-redsys": "dev-compatible-with-012 as 0.12.0"
  },
  "repositories": [
       {
          "type": "vcs"
          ,"url": "[email protected]:informatico-madrid/payum-redsys.git"
        }
   ]
}

after that you can do php composer update crevillo/payum-redsys

from payum-redsys.

informatico-madrid avatar informatico-madrid commented on July 17, 2024

Gracias. pero por ahora primero quiero usar Sylius/Sylius#2384 como fork de Sylius(He creado mi propio fork para esto) y después incorporar Crevillo/payum-Redsys. Según indicas tengo esto en Composer:

Thank You. but for now I want to use first Sylius/Sylius#2384 as Sylius fork(I create a fork of your fork for this) and then enter Crevillo / payum-Redsys. According you note I have this in Composer:
"repositories": [ { "type": "vcs", "url": "[email protected]:informatico-madrid/Sylius.git" } ], "require": { "informatico-madrid/Sylius": "dev-configure-payments-in-backend-v2", },
También he intentado con éste Require:

I've also tried it Require:
"require": { "informatico-madrid/Sylius": "dev-configure-payments-in-backend-v2@dev", }
pero todavía tengo un error en Composer, pero esta vez diferente:
but still I have an error in Composer, but this time different:

Problem 1

  • The requested package informatico-madrid/sylius could not be found in any version, there may >be a typo in the package name.
    Potential causes:

Como puedo hacer para que Composer encuentre el nombre de la rama?
How I can do to make Composer find the name of the branch?

from payum-redsys.

informatico-madrid avatar informatico-madrid commented on July 17, 2024

Thankx makasim for dev-configure-payments-in-backend-v2 marge in sylius.
I implement Crevillo/payum-redsys in sylius with this.
First: I have extend SyliusWebBundle With my own bundle: AcmeWebBundle

<?php

namespace Goprofit\Wainari\WebBundle;

use Payum\Bundle\PayumBundle\DependencyInjection\Compiler\BuildPaymentFactoryPass;
use Payum\Bundle\PayumBundle\DependencyInjection\Compiler\BuildRegistryPass;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;

use Crevillo\Payum\Redsys\Bridge\Symfony\RedsysPaymentFactory;

class GoprofitWainariWebBundle extends Bundle
{

    public function build(ContainerBuilder $container)
    {
        parent::build($container);

        /** @var $extension DependencyInjection\PayumExtension */
        $extension = $container->getExtension('payum');


        $extension->addPaymentFactory(new RedsysPaymentFactory);

    }
}

And i add a config for payum in my app/config.yml

payum:
    payments:
        redsys:
            redsys:
                merchant_code: 00000000 
                terminal: 1
                secret_key: xxxxxxxxxx0000000000
                sandbox: true          

But i cant get yet work a notify url to update shop inventary.

from payum-redsys.

Related Issues (13)

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.