Giter VIP home page Giter VIP logo

Comments (4)

makasim avatar makasim commented on July 17, 2024

recurring payment in other words subscriptions, you can tell paypal to charge a payer sever times for given period. It could be used without IPN, but I'd advice you to setup IPN notification too. This part is not well supported by Payum, I am working on it.

Or it's based on something else? Does it trigger a callback on my page?

recurring payment does not, IPN - does

from payumyiiextension.

alexandernst avatar alexandernst commented on July 17, 2024

I need this too, so I'll be starting to work on it in the next days.
First I need to implement active record support so we can save paypal's requests. Also, a cron, so failed attempts can get re-executed.

Can you point me to the missing bits in PayumIPN so I can check how much work it's to be done?

from payumyiiextension.

makasim avatar makasim commented on July 17, 2024

First you have to implement an action https://github.com/Payum/PayumYiiExtension/blob/master/src/Payum/YiiExtension/PaymentController.php#L33 like one in symfony https://github.com/Payum/PayumBundle/blob/master/Controller/NotifyController.php#L23

and than implement an action that can handle the notification, like this https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/PayumBundle/Payum/Paypal/Action/NotifyOrderAction.php

add:

<php

$details['PAYMENTREQUEST_0_NOTIFYURL'] = $tokenFactory->createNotifyToken(
       $paymentName,
       $details
)->getTargetUrl();

from payumyiiextension.

makasim avatar makasim commented on July 17, 2024

If you go the way Sylius does (use of SyncRequest) you can get problems, there is a bug Payum/Payum#129.

But you can implement the logic which takes the data from the notify request itself and does not use sync request.

from payumyiiextension.

Related Issues (11)

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.