Commit 4e76c92
committed
Fix charge capture for WC 2.1+
Order status was being changed back to on-hold due to
`woocommerce_process_shop_order_meta` not existing in 2.1+. Also fixed
stock being incorrectly reduced for a charge capture, as the stock is
reduced when the charge is authorized.1 parent dd6d97a commit 4e76c92
File tree
1 file changed
+13
-1
lines changed- woocommerce/payment-gateway
1 file changed
+13
-1
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
701 | 713 | | |
702 | 714 | | |
703 | 715 | | |
| |||
0 commit comments