-
Notifications
You must be signed in to change notification settings - Fork 50
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
programmatically capturing/voiding authorized payments (506) #590
Comments
I believe this is the issue that is currently blocking one of my clients from adopting this plugin - just want to confirm that I'm right and I don't have to submit a new issue. We have some customizations that require being able to void authorizations based on a status change (through the If I'm understanding this issue correctly - you'd provide some way of doing this (e.g. Let me know if I'm misunderstanding and I'll submit a new issue, otherwise thank you in advanced for your support! P.S. I did see that the work around is to register a new module and have it do whatever we need it to so we may go that route, but obviously an official solution is preferable. |
Correct, the long-term goal is to provide an easy-to-use method for programmatically capturing/voiding/refunding payments since these actions currently only can be performed through the WooCommerce or PayPal GUI. As mentioned above, the filter to create a custom module essentially allows you to modify the entire plugin behavior already. But depending on what you want to achieve, we understand that a "classic solution" would be desired for routine tasks such as handling payments. So a regular hook/filter will eventually cover these tasks. One way is to do the same thing as the action is by retrieving |
Perfect, thanks for the confirmation and the feedback! My use case is more surrounding voiding the authorization rather than capturing it so, depending on what my client decides / how urgent the switch is, it looks like for voids the service I will be hooking up to is: The only thing that stops me from just triggering it with |
My client had me move forward with this; as I started going through and getting my work arounds in-place, I found a simpler solution that would allow any voids to be done using As I mentioned above, the only issue I had was that the order status was being set to "refunded". If it could be filtered, then it provides everything I need. I've submitted PR #681 with the above change made. I'm going to hotfix this on my client site, but if you could review it for the mainline, I'd greatly appreciate it. |
Multiple users and third-party developers are asking us how they can capture authorized orders.
Right now, it’s only possible through order actions, which is not ideal.
(linked to thread: #234 (comment))
The text was updated successfully, but these errors were encountered: