Repository navigation
1.1.2
Maintenance pass over the payment callback controller.
- Confirm the order was placed through this extension. The field holding the method differs between OpenCart releases (
payment_method['code']vspayment_code), so both are read and only a positive mismatch is treated as an error. - Check the settlement currency and amount reported for the order against the order total, converted the same way the order request builds
receiveAmount(round(total * currency value, 2)); only an underpayment is rejected, with a rounding tolerance. - A payload that carries no settlement amount is logged and passes through unchanged.
install.json version left at 2.0 - it does not track the release tag.
Needs a store smoke test on both callback formats before release, particularly the payment-method field on the OpenCart version we target. Merging this fires the release workflow.