Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create payment refund on Laravel Package #17

Closed
ateixeira opened this issue Oct 23, 2014 · 5 comments
Closed

Create payment refund on Laravel Package #17

ateixeira opened this issue Oct 23, 2014 · 5 comments

Comments

@ateixeira
Copy link
Contributor

Hello Maksim,

I'm having great experience with Payum library. Now I face the need to make Refund operations and want to contribute with the resultant code.

I've found the question http://stackoverflow.com/q/22965278/955183, talking about how to make it on Payum Bundle.. It's an excellent guideline, now I want just to ask if there are any Laravel Package specific tips so I can make it the best way.

Thanks in advance,
Teixeira

@makasim
Copy link
Member

makasim commented Oct 23, 2014

The main job has to be done in payum itself. This change could be reused by any other framework extensions including this one.

In the package it may require some changes in TokenFactory. If the createRefundToken) method is added. Also it may be good to add a refund controller (like capture and authorize) we have right now.

Dont hesitate to ask any questions about Payum here or by mail or skype.

@makasim
Copy link
Member

makasim commented Oct 23, 2014

Btw, I've already done some progress on this topic. For example there is a refund request https://github.com/Payum/Payum/blob/master/src/Payum/Core/Request/Refund.php

and the action in klarna invoice https://github.com/Payum/Payum/blob/master/src/Payum/Klarna/Invoice/Action/RefundAction.php

@jasonherndon
Copy link

Hey - I'm building a Laravel site with Authorize.net integration and refunds are very important to us. Is this already supported with Payum or is the work still ongoing? If it's still ongoing, I'd love to contribute.

@makasim
Copy link
Member

makasim commented Jan 9, 2015

@jasonherndon core and package itself supports refund requests but unfortunately authorize net extension does not yet. paypal pro checkout is the only one payment that supports refund atm. You can use it as an example.

@jasonherndon
Copy link

@makasim Gotcha. I guess for the time being, if we needed to before we finished a package we could just refund it manually through Auth.net's portal. Thanks - I'll take a look at the paypal pro checkout package.

@makasim makasim closed this as completed Jan 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants