by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Michael Stepanov
    @stepanov
    Hi, I'm trying to integrate Payum to our system and have probably silly question. How to generate correct redirect URL? In my case the action/script with payum token always added after initial script name - targetUrl: http://localhost:8001/prepare.php/capture.php?payum_token=64-TNVVqqSytZ1MVGbilb8ZOW8Rx27LJcmdwqr5n9oc. How to make it http://localhost:8001/capture.php?payum_token=64-TNVVqqSytZ1MVGbilb8ZOW8Rx27LJcmdwqr5n9oc ?
    Max Kotliar
    @makasim

    @stepanov Hi

    Is it a custom application, I mean not a Symfony or other framework based ?

    Michael Stepanov
    @stepanov
    @makasim thank you for your answer. It's based on CakePHP which is not supported by Payum. Will try your suggestion to pass baseUrl into TokenFactory.
    Michael Stepanov
    @stepanov
    @makasim can you please give an example of processing the payment page answer, i.e. PayPal Express Checkout success/cancel redirect processing?
    mkauferstein
    @mkauferstein
    hi there, can someone tell me how i persist details in an action?
    napestershine
    @napestershine
    Hello anyone here
    Khairi Husseini
    @khusseini

    Hello everyone. I'm tinkering with the payum integration in symfony and added a new factory and a capture action. When I trigger the payment, I get the Exception

    Type error: Argument 1 passed to Payum\Core\Gateway::addAction() must implement interface Payum\Core\Action\ActionInterface, string given, called in /var/www/app/vendor/payum/core/Payum/Core/CoreGatewayFactory.php on line 219

    The stack trace shows the following call Gateway->addAction('@app.payum_action.payone.capture_order', false)

    This is how I registered the factory and the action. What am I doing wrong?

        app.payum.payone.factory:
          class: Payum\Core\Bridge\Symfony\Builder\GatewayFactoryBuilder
          arguments: [Valiton\Payum\Payone\PayoneGatewayFactory]
          tags:
          - name: payum.gateway_factory_builder
            factory: payone
    
        # Overrides \Valiton\Payum\Payone\Action\CaptureAction
        app.payum_action.payone.capture_order:
          class: AppBundle\Action\Payone\CaptureOrderAction
          arguments:
          - '@coreshop.repository.order'
          - '@coreshop.state_machine_applier'
          tags:
          - name: payum.action
            factory: payone
    Khairi Husseini
    @khusseini
    Ah oki, the symfony service entry needs to be public because the ContainerAwareCoreGatewayFactory uses the symfony container directly to add the action
    Antonio Spinelli
    @tonicospinelli

    hello guys, I'm studying Payum library to implement Adyen as a new gateway and we thinking to use the Payum solution to perform payments. I read the documentation and I feel that documentation are not deep/detailed enough to implement some behviours like create creditcard token or customer token in favor of recurring payments or subscription payment.

    I saw the Stripe implementation and it has similar actions about it, but is not clear how it will work.

    Do you have some sample about it?

    Khairi Husseini
    @khusseini

    @tonicospinelli there are two things that helped me in unserstanding payum (and similar libraries). The first one is an understanding of the command bus pattern. Here is a nice article explaining the mechanics https://www.sitepoint.com/command-buses-demystified-a-look-at-the-tactician-package/

    The 2nd was to see some implementations in action such as https://github.com/coreshop/payum-heidelpay and https://github.com/valiton/payum-payone
    Afaik neither has recurring payments and subscription implemented, however the heidelpay implementation shows an example how to implement an iframed solution for credit cards.
    Once you grasp the command bus concept it will all be clear to you and you can concentrate on implementing the workflows of you payment methods

    Antonio Spinelli
    @tonicospinelli
    @khusseini thanks for reply me! Last months I'm studying about command bus and I did identify this concept on payum-library.
    so, after studying the library and other gateways I'm close to finish implementation Adyen gateway with recurring payment.
    Khairi Husseini
    @khusseini
    @tonicospinelli great
    Khairi Husseini
    @khusseini
    Hello everyone. A while ago I wrote a piece of code, with which I could populate actions on the fly similar to the ContainerAwareInterface trick. I don't remember, however how to do that anymore. I created a FormbuilderAwareInterface and added a FormbuilderAwareTrait. I got paayum to call the action's setFormbuilder method in some service tag (symfony container). Does anyone know what I am talking about?
    Khairi Husseini
    @khusseini
    helo everyone. how do I override the payum.layout_template setting for symfony?
    Stefan Hagspiel
    @solverat
    @makasim hey, is there any way to get the storageInterface within a action? captureAction.php for example? i need to update the model in a very early state since my paymentgateway triggers return and notify nearly at the same time...
    ahmed-bokdoc
    @ahmed-bokdoc
    I there is any example with payum and restful Api
    Did Youn
    @DnD-Crow
    Hello
    I've a question about the implementation of a gateway with PayumBundle
    I'm trying to configure the extension "paypal_rest" but after I've generate the capture token, the target URL is something like "http://127.0.0.1:8001/payment/capture/ptUg9dDr6gr8njJwmC1ATh2cal1d12ci_pZJ7uTOV9I"
    The URL should not be a direct link to paypal ?
    Richard Wins
    @RichTech

    Hello everyone

    is there any documentation for paypal subscription integration with payum bundle? Unfortunately I can't find it and am not able to integrate it on my own.

    Thanks very much and have a great day :)

    Khairi Husseini
    @khusseini

    hey everyone. when using payum in symfony, I am trying to override an action of my gateway like so (app/config.yml):

    payum:
      gateways:
        payone:
          factory: payone
          key: 'payone_key'
          merchant_id: 'payone_merchant_id'
          portal_id: 'payone_portal_id'
          sub_account_id: 'payone_sub_account_id'
          sandbox: true
          payum.action.convert_payment: '@payment.action.convert_payment'
          payum.template.get_pseudo_card_pan: '@Payment/Action/get_pseudo_card_pan.html.twig'
          payum.api: false

    But when my gateaway is loaded, the configuration is overwritten by its defaults
    how can I override the payum.action.convert_payment or if that is not possible, how can I inject the Symfony DIC into a GatewayFactoryInterface?

    the factory is created like so:
      payment.payum.payone.factory:
        class: Payum\Core\Bridge\Symfony\Builder\GatewayFactoryBuilder
        arguments: [PaymentBundle\PayoneGatewayFactory]
        tags:
        - name: payum.gateway_factory_builder
          factory: payone
    Freddy Rommel
    @rommelfreddy
    have anyone tried to use payum in magento 2.
    i do not want to integrate it, but i want to know if it would be possible...
    Are there any further extensions ?
    Max Kotliar
    @makasim
    It should be possible
    Steven Parker
    @ConnectSteven_twitter
    Quick PayU Integration using Golang, Must Check the Code Here - https://github.com/Mindinventory/Golang-PayU. Is there any Improvement?
    Michael Stepanov
    @stepanov
    @Fredwak IMHO Payum is the best option to build standalone payment gateway worked like a microservice. If you need integration solution even for magneto I guess it'd be better to use Omnipay.