Changeset 2356760
- Timestamp:
- 08/11/2020 03:25:48 AM (6 years ago)
- Location:
- bold-pay
- Files:
-
- 5 added
- 2 edited
-
tags/1.5.0 (added)
-
tags/1.5.0/index.php (added)
-
tags/1.5.0/readme.txt (added)
-
tags/1.5.0/src (added)
-
tags/1.5.0/src/boldpay.php (added)
-
trunk/index.php (modified) (1 diff)
-
trunk/src/boldpay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bold-pay/trunk/index.php
r2317141 r2356760 4 4 * Plugin URI: https://boldpay.cc/login 5 5 * Description: BOLD.Pay is a cloud-based multi-channel payment access plugin for WooCommerce. 6 * Version: 1. 3.06 * Version: 1.5.0 7 7 * Author: MACROKIOSK 8 8 * Author URI: https://www.macrokiosk.com/ -
bold-pay/trunk/src/boldpay.php
r2340129 r2356760 58 58 'default' => __( 'Pay securely with Credit Card, Online Banking & e-wallet through BOLD.Pay (Malaysia Ringgit Only).', 'boldpay' ), 59 59 'css' => 'max-width:350px;', 60 'custom_attributes' => array('re adonly' => 'readonly'),60 'custom_attributes' => array('required' => 'required'), 61 61 ), 62 62 'user_name' => array( … … 350 350 351 351 $is_callback = isset( $_POST['OrderNumber'] ) ? true : false; 352 352 353 353 $order = wc_get_order(sanitize_text_field( $_REQUEST['OrderNumber'] )); 354 355 $order->add_order_note( 'Unable connect to BOLD.Pay API. Error code: ' . sanitize_text_field( $_REQUEST['Status'] )); 354 355 # if receive (417 - Exceeded transaction limit) remain order status as pending payment 356 if ( sanitize_text_field( $_REQUEST['Status'] ) == '417' ) { 357 $order->add_order_note( 'Payment request rejected. Exceeded transaction limit allowed. Error Code: 417' ); 358 } else { 359 $order->add_order_note( 'Unable connect to BOLD.Pay API. Error code: ' . sanitize_text_field( $_REQUEST['Status'] )); 360 } 361 356 362 add_filter( 'the_content', 'boldpay_payment_fail_connection_msg' ); 357 363
Note: See TracChangeset
for help on using the changeset viewer.