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

Authorization / Order, Capture, Reauthorization, Void #36

Closed
angelleye opened this issue Apr 2, 2014 · 6 comments
Closed

Authorization / Order, Capture, Reauthorization, Void #36

angelleye opened this issue Apr 2, 2014 · 6 comments
Assignees
Milestone

Comments

@angelleye
Copy link
Collaborator

Right now both Express Checkout and Payments Pro are hard-coded to run everything as a Sale. We need to tie in options for doing Auth/Order and Capture.

Express Checkout settings page should have option to process orders as Sale, Authorization, or Order.

Payments Pro would have the option to set Authorization or Sale (no Order option for Pro).

Orders or Authorization orders in the WooCommerce Orders screen would then need buttons for Capture, Void, Reauthorize, and these would be hooked up to PayPal's DoCapture, DoVoid, and DoReauthorization API's respectively.

When running these API calls we'll pass in the transaction ID that we got back from PayPal on the original order/authorization. The notes in WooCommerce will need to follow this entire flow, of course, and keep authorization transaction ID's and capture ID's separate from each other in the history.

@angelleye angelleye added this to the Version 1.2 milestone Apr 2, 2014
@angelleye angelleye changed the title Authorization / Order & Capture Authorization / Order, Capture, Reauthorization, Void Apr 3, 2014
@angelleye angelleye modified the milestone: 1.2 Jul 1, 2015
@angelleye
Copy link
Collaborator Author

#210 added the option to set the payment action, but I forgot to add the Order option, so we still need to add that and then follow through with the rest of this issue.

@angelleye
Copy link
Collaborator Author

Were you able to fully test an "order" after setting this up? I may have been incorrect in the procedure I mentioned for that. It could be that we actually have to run an Authorization against an order, and then capture that authorization.

I'm actually not 100% clear on that myself, so I'll have to review the documentation again on that...unless you were able to fully test an order, and then auth/capture it through WooCommerce already..??

kcppdevelopers pushed a commit that referenced this issue Feb 26, 2016
@kcppdevelopers
Copy link
Contributor

Yes, I have tested above functionality and it's working fine.

@angelleye
Copy link
Collaborator Author

Ok, I'm a little confused. It looks like you did have to make some adjustments based on my last comment..?? So then you tested after that adjustment..??

@kcppdevelopers
Copy link
Contributor

Actually I forget to add Authorization for order payment action, I have just add new function for that.

@angelleye
Copy link
Collaborator Author

This guy is trying to use this and getting errors on the DoAuthorization and DoCapture API calls: https://www.angelleye.com/support/scp/tickets.php?id=416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant