Changeset 3458662
- Timestamp:
- 02/11/2026 06:38:18 AM (9 days ago)
- Location:
- fasspay-for-woocommerce/trunk
- Files:
-
- 3 edited
-
fasspay-for-woocommerce.php (modified) (1 diff)
-
includes/class-fasspay-gateway.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fasspay-for-woocommerce/trunk/fasspay-for-woocommerce.php
r3458654 r3458662 3 3 * Plugin Name: Fasspay for WooCommerce 4 4 * Description: Accept payments via Fasspay gateway supporting JCB, Mydebit, FPX, Visa/Mastercard, DuitNow QR, and E-Wallet 5 * Version: 1.0. 55 * Version: 1.0.6 6 6 * Author: Fasspay 7 7 * Author URI: https://fasspay.com -
fasspay-for-woocommerce/trunk/includes/class-fasspay-gateway.php
r3458654 r3458662 112 112 // Diagnostic: log when checkout form is submitted and Fasspay is selected (helps debug plugin conflicts) 113 113 add_action('woocommerce_before_checkout_process', array($this, 'log_checkout_submitted_if_fasspay'), 5); 114 // Diagnostic: log payment method on every order created at checkout (see if order has fasspay or something else) 115 add_action('woocommerce_checkout_order_created', array($this, 'log_order_created_payment_method'), 10, 2); 114 116 115 117 // Enqueue admin assets for this gateway settings (logo uploader + color picker) … … 894 896 } 895 897 898 /** 899 * Diagnostic: log payment method when an order is created at checkout. 900 */ 901 public function log_order_created_payment_method($order, $data) { 902 if (!$order || !is_callable(array($order, 'get_id'))) { 903 return; 904 } 905 $order_id = $order->get_id(); 906 $payment_method = is_callable(array($order, 'get_payment_method')) ? $order->get_payment_method() : 'unknown'; 907 $this->log_to_debug('Order created at checkout: order_id=' . $order_id . ', payment_method=' . $payment_method, 'info'); 908 } 909 896 910 // (Removed custom terms checkbox logic; relying on WooCommerce defaults) 897 911 -
fasspay-for-woocommerce/trunk/readme.txt
r3458654 r3458662 4 4 Requires at least: 6.6 5 5 Tested up to: 6.9 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 Requires PHP: 7.4 8 8 WC requires at least: 5.0
Note: See TracChangeset
for help on using the changeset viewer.