Feature request: integrate better 'authorize' & 'capture' and 'partial refund' support into the PayPal Express support
Reported by dleffler | May 19th, 2015 @ 02:38 AM
Though we allow for the 'Authorization' and 'Order' payment actions (process modes), we do NOT support the additional actions within the Exponent interface which would be required to actually perform them without having to be on the PayPal site. The 'Sale' action/mode is a single step process which immediately authorizes and captures the funds. We also provide a (full) refund support.
Primarily, this would allow filling partial orders (split into two shipments) or adjusting the final total cost based on actual shipping/pickup costs vs. the shipping cost estimated by the calculator at checkout.
To support 'Authorization' (which authorizes and holds funds for 3 days) we'd need to add methods (code) to do:
- 'DoCapture' to capture the full or partial amount of funds when the item(s) is/are shipped calc->delayed_capture() method
- 'DoReauthorization' to extend the authorization time frame (one time) to 29 days or increase the amount up to 115% of purchase amount...need new calc->reauthorize() method along with orderController interface/method
- 'DoVoid' to cancel the (un-captured part of the) authorization (not the same as a capture then refund) calc->void_transaction() method
To support 'Order' (which holds funds for 3 days) we'd need to add methods (code) to do:
- 'DoAuthorization' to authorize a (single) capture within the 29 day time frame for the amount up to 115% of purchase amount...need new calc->authorize() method along with orderController interface/method
- 'DoCapture' to capture the full or partial amount of funds when the item(s) is/are shipped (up to 10 times) calc->delayed_capture() method
- 'DoVoid' to cancel the (un-captured part of the) order (not the same as a capture then refund) calc->void_transaction() method
And we'd have to not hard-set a 'FullRefund' to enable partial refunds. Though we imply we can set the amount of the refund in Exponent, according to the PayPal API, a 'FullRefund' doesn't adhere to the amount.
https://developer.paypal.com/docs/classic/express-checkout/integrat...
https://developer.paypal.com/docs/classic/paypal-payments-standard/...
Comments and changes to this ticket
-
expNinja May 21st, 2015 @ 02:31 PM
(from [08fe7a915ad3d05c419efc9881d1a473c894359d]) Updates paypal express billing calculator; adds 'capture' & 'void' support for 'authorization' mode (somewhat limited like all the others, we don't keep track of authorization validity dates, total captured, refunded, etc...); still needs 'authorize' and 'reauthorize' methods to support 'order' mode which is totally unusable since it MUST have an api call to authorize a payment; updates to use api v122 which updates the paypal interface views to a more modern look [#1293] https://github.com/exponentcms/exponent-cms/commit/08fe7a915ad3d05c...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS