by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Max Kotliar
    @makasim
    Hi
    Some of the Payum's gateways support recurring payments such as Paypal ExpressCheckout and Stripe, Payex, Be2Bill, Klarna.
    yassine-f
    @yassine-f
    Hi there,
    can I find anyone free to integrate payum into our server as an API
    to accept payment requests from our internal servers & websites!
    happy to discuss more details!
    or can anyone point me where I can find some payum experts or anyone having previous experience with payum.
    Eugen Kochuev
    @kochuev
    Hi @yassine-f ,
    Here you can find core developers of Payum.
    yassine-f
    @yassine-f
    Yep
    but @kochuev how can I find someone to hire to implement a central api server for me! to process payments for my different websites?
    @kochuev and how can I reach them?
    Eugen Kochuev
    @kochuev
    Well, you can talk to me, I'm a CTO of Forma-Pro company, which owns Payum.
    yassine-f
    @yassine-f
    Ok @kochuev
    @kochuev pm'd u
    Cydrick Nonog
    @cydrickn

    Hi,

    Im just new in payum

    I just want to know on how i can use the payum server
    since we our doing microservice
    And how i can add custom gateway to it
    yassine-f
    @yassine-f
    Why it's so hard to find anyone to hire to do even little Payum tasks :/
    you guys should work on your documentation quite a lot.... the framework is not so bad when it comes to what it does but documentation and the process is super awful.
    I've been trying for 5 days to hire someone but couldn't find anyone
    Max Kotliar
    @makasim
    @yassine-f Please contact me on skype: maksim_ka2

    @cydrickn

    I just want to know on how i can use the payum server

    PayumServer itself and its UI are distributed as Docker containers. It is the easiest way to setup the server. Just incorporate those containers into your docker-compose.yml file.

    It could be run from source codes too, just do git clone, composer install and configure your web server to use those files.

    And how i can add custom gateway to it

    First you have to implement a Payum extension, here's a skeleton to get you started https://github.com/Payum/Skeleton

    Cydrick Nonog
    @cydrickn
    @makasim , just want to know, how i can notify my other service for every capture and notify
    yassine-f
    @yassine-f
    @cydrickn good question, I would love to know that too @makasim does Payum has any unified notification interface similar to the IPN provided by Paypal?! since each gateway provides a way to send back notifications so how can we add triggers to those notifications?!
    Max Kotliar
    @makasim
    payum handles notifications
    In case of Paypal, Payum sends it a notify url with a token
    and waits for notifications, when it comes it syncs payment data with one on Paypal side
    you can add an extension (like shown in the doc) to do some extra stuff
    Stefan Hagspiel
    @solverat

    Hey @makasim, i'm currently developing an extension for payum the last days and i need some philosophical support. :) In a nutshell, i'm having a offsite payment workflow:

    • capture payment
        • define a notify token (notify token will be also transmitted to PP to define return/notify url dynamically)
    • leave page to PP
    • fill out form - submit ( for debugging purposes i set the state in PP backend to something like "authorize payment manually")

      Now!

    • User closes window before sent back.

    • PP sends update to notification url
    • notify token gets removed (right?)
    • capture token gets removed (right?)

    So far - so good. The payment has been updated. But now the client changes the payment to something like "payment accepted" in PP backend. The PP again sends the update to the notification url - which isn't there eg. valid anymore. So what's the best practice to handle updates like this? (which could be more than 2).

    Cydrick Nonog
    @cydrickn
    Hi, Im done creating new gateway using payum skeleton
    How i can add now to payum server
    Cydrick Nonog
    @cydrickn

    Hi.

    I have problem in my custom gateway, I already add it in composer json of payum server, but no success it does not appear in the selection of payum server ui

    may i know how i can add it to payum server
    pls. reply. I need it
    Stefan Hagspiel
    @solverat
    Nevermind, i figured it out myself. The only irritating thing i'm struggling with are those abandoned tokens. But i saw there is a ticket (#257) which hopefully will bring some clarity into this. :)
    Hadi Zakzouk
    @Almusamim
    Happy new year
    Cydrick Nonog
    @cydrickn
    hi
    still how to add custom payment gatewya in payum server
    Max Kotliar
    @makasim

    @cydrickn Hi

    You have to adjust the PayumServer source code. Add this code here

    <?php
    $app['payum.builder'] = $app->share($app->extend('payum.builder', function (PayumBuilder $builder) {
        $builder->addGatewayFactory('my_factory', function(array $defaultConfig, CoreGatewayFactory $coreGatewayFactory) {
             return new MyGatewayFactory($defaultConfig, $coreGatewayFactory);
         });
    
         return $builder;
    });
    Max Kotliar
    @makasim

    @solverat Hi

    I am glad to see you solved the issue. Few comments

    • The capture and notify tokens should be two different ones. User should use capture and never notify. Notify token is used by a payment provider to send notification to your app.
    • A capture token is expected to be removed shortly after a payment is done (captured or failed) where notify one can stay there for a long time.
    • You can add some logic by extending the token model and token factory. The logic allows you to remove abandoned tokens after some time.
    Hadi Zakzouk
    @Almusamim
    Hello I'm trying to implement klarna checkout with Sylius but I'm getting this error on the payment page
    INFO 20:50:47     request     Matched route "payum_capture_do"
    
    INFO 20:50:47     security     Populated the TokenStorage with an anonymous Token.
    
    CRITICAL 20:50:49     request     Uncaught PHP Exception Payum\Core\Exception\RequestNotSupportedException: "Request Capture{model: ArrayObject} is not supported. Make sure the gateway supports the requests and there is an action which supports this request (The method returns true). There may be a bug, so look for a related issue on the issue tracker." at C:\Users\Hadi\www-dev\sylius\vendor\payum\payum\src\Payum\Core\Exception\RequestNotSupportedException.php line 57
     http://sylius.test/payment/capture/CfIgjTGQyzAGp16whSvP2mEfFJ1pZ8rEAYNUImzDkPE
    
    302 Redirect from  @sylius_shop_order_pay (bc0fd8) 
    
    Gateway execution graph
    
    Capture[ArrayObject]
    └ CapturePaymentAction::execute(Capture[ArrayObject])
     └ ExecuteSameRequestWithPaymentDetailsAction::execute(GetStatus[ArrayObject])
      └ StatusAction::execute(GetStatus[ArrayObject])
     └ ConvertPaymentAction::execute(Convert[])
    Capture[ArrayObject]
    └ CapturePaymentAction::execute(Capture[ArrayObject])
     └ ExecuteSameRequestWithPaymentDetailsAction::execute(GetStatus[ArrayObject])
      └ StatusAction::execute(GetStatus[ArrayObject])
     └ ConvertPaymentAction::execute(Convert[])
       ⬅ exception RequestNotSupportedException
    Any idea what I missed with the implementation?
    Max Kotliar
    @makasim
    Klarna Checkout does not support (or it is not simply implemented) capture.
    Cydrick Nonog
    @cydrickn
    hi,
    i created my custom gateway
    but how i can check if it was configure as sandbox in captureaction