moneris-eselectplus-api icon indicating copy to clipboard operation
moneris-eselectplus-api copied to clipboard

Error message when attempting to capture a zero dollar authorization (to void it)

Open reganjohnson opened this issue 10 years ago • 1 comments

I am receiving an "Amount not provided" error when attempting to process a $0 completion of a preauth. As per the Moneris eSelect Plus docs, this is the proper way to cancel/void a preauth (by capturing it with 0 dollars).

Invoked using the following method: $moneris->capture($preauthResult->transaction()->number(), $transactionParams['order_id'], 0.00);

reganjohnson avatar Aug 14 '15 19:08 reganjohnson

Hey, I super-quickly took a look, and pushed a quick fix: https://github.com/ironkeith/moneris-eselectplus-api/commit/68617874f315b798ea30dd9a08ab4722c4eb3472

Want to pull that and let me know if it works for you? (I'll have to set up a test for it later, but thought it'd be nice to at least give you something to work with).

kslgrd avatar Aug 15 '15 23:08 kslgrd