Changeset 2948491
- Timestamp:
- 08/07/2023 10:32:40 AM (3 years ago)
- Location:
- chaiport-payment/trunk
- Files:
-
- 2 edited
-
chaiportGateway.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
chaiport-payment/trunk/chaiportGateway.php
r2896909 r2948491 4 4 * Plugin URI: https://www.docs.portone.cloud/plugins_and_sdks/woocommerce-plugin.html 5 5 * Description: Single Payment 6 * Version: 2.0. 76 * Version: 2.0.8 7 7 * Requires at least: 5.6 8 8 * Author: PortOne … … 427 427 $order->add_order_note($note); 428 428 } else if ($status == "Failed") { 429 $statusCode = $data["status_code"]; 430 $statusReason = $data["status_reason"]; 431 $statusChannelReason = $data["status_channel_reason"]; 432 433 $status = $order->update_status('wc-failed'); 434 435 $note .= "Transaction Status: " . $status . "\n"; 436 $note .= "Failure Code: " . $statusCode . "\n"; 437 $note .= "Failure Reason: " . $statusReason . "\n"; 438 $note .= "Failure Channel Reason: " . $statusChannelReason; 439 440 $order->add_order_note($note); 441 } else if ($status == "Expired") { 429 442 $statusCode = $data["status_code"]; 430 443 $statusReason = $data["status_reason"]; -
chaiport-payment/trunk/readme.txt
r2896909 r2948491 4 4 Requires at least: 3.9.2 5 5 Tested up to: 6.1.1 6 Stable tag: 2.0. 76 Stable tag: 2.0.8 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.