Commit d9d2c41
committed
fix: use correct option key for order completion setting in redirect
Changed from $order->get_payment_method() to monei_get_option_key_from_order($order)
to match IPN handler pattern. This ensures the "mark completed" preference is correctly
checked for all payment methods.1 parent 0109306 commit d9d2c41
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
| 261 | + | |
263 | 262 | | |
264 | 263 | | |
265 | 264 | | |
| |||
0 commit comments