Changeset 3460483
- Timestamp:
- 02/13/2026 04:24:35 AM (7 weeks ago)
- Location:
- bayarcash-wc/trunk
- Files:
-
- 3 edited
-
bayarcash-wc.php (modified) (1 diff)
-
includes/src/Gateway.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bayarcash-wc/trunk/bayarcash-wc.php
r3460478 r3460483 13 13 * Plugin Name: Bayarcash WC 14 14 * Plugin URI: https://bayarcash.com/ 15 * Version: 4.3.1 315 * Version: 4.3.14 16 16 * Description: Accept payment from Malaysia. Bayarcash support FPX, Direct Debit, DuitNow OBW & DuitNow QR payment channels. 17 17 * Author: Web Impian -
bayarcash-wc/trunk/includes/src/Gateway.php
r3460478 r3460483 445 445 } 446 446 447 $payment_method = $order->get_payment_method(); 448 $payment_data = $this->get_payment_settings($payment_method); 449 $settings = $payment_data['settings']; 450 451 if (empty($settings)) { 452 $this->log('Invalid payment method for pre-transaction verification.', $order); 453 return; 454 } 455 456 $this->initialize_bayarcash_sdk($settings); 457 458 if (!$this->verify_transaction_callback($response_data, $settings, $order)) { 459 $this->log('Pre-transaction checksum verification failed.', $order); 460 return; 461 } 462 447 463 $transaction_exchange_no = $response_data['transaction_id']; 448 464 $exchange_reference_number = $response_data['exchange_reference_number']; … … 455 471 } 456 472 457 $order->update_status('pending');458 473 $this->store_post_meta_transaction_exchange_no($order_no, $transaction_exchange_no); 459 $this->log(" Order status set to 'pending' andTransaction Exchange No. stored in wp_post meta.", $order);474 $this->log("Transaction Exchange No. stored in wp_post meta.", $order); 460 475 } 461 476 -
bayarcash-wc/trunk/readme.txt
r3460478 r3460483 93 93 == Changelog == 94 94 95 = 4.3.14 = 96 * Security: Removed unauthorized order status change in pre-transaction callback 97 95 98 = 4.3.13 = 96 99 * Security: Added nonce verification to admin AJAX settings handler
Note: See TracChangeset
for help on using the changeset viewer.