Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RWC-60, includes fixes for RWC-40, RWC-75
Resurs gateway script must not trig on click as it gets stuck in internal loops. Correct is to trigger update_checkout on change. The default payment method in checkout also handles customer API calls by itself. This makes the plugin always leave the correct information based on that payment method. apiData contains order information until orders are completed. is_available is also checking min-max amounts before activating it. Logging full procedure, detailed - for merchants - or not at all (standard). Orders are always cancelled on unkown errors or signing failures. Orders are internally marked as signed if they are signed. They are not marked if signing wasn't required. Fully supporting simplified flow from bookPayment to last bookSignedPayment. Urls created for Resurs Bank are written for less data loss. Order rows are entirely written with WooCommerce in mind. Coupons are added per coupon instead of the total. This may make it easier to annul separate coupons if they are present (future feature?). PHP inspections updated. Redundant trys located in Api::getPayment. Old filters for v2.x is not consequent with prefixing. That caused problems with RWC-40. Updated RWC-75: Rounding panic is safe.
- Loading branch information