Changeset 3338406
- Timestamp:
- 08/03/2025 09:32:45 AM (8 months ago)
- Location:
- allinpayintl/trunk
- Files:
-
- 2 edited
-
Allinpay_INTL.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
allinpayintl/trunk/Allinpay_INTL.php
r3336277 r3338406 5 5 * Author: aipsg 6 6 * Author URI: http://rudrastyh.com 7 * Version: 1.1. 37 * Version: 1.1.4 8 8 */ 9 9 … … 473 473 $this->allinpay_log('异步通知订单验签失败,订单号:'.$order_id); 474 474 $this->allinpay_log('验签的字符串为:'.$signStr); 475 $this->allinpay_log('收到异步通知的报文为'.print_r($ notifyArray,1));475 $this->allinpay_log('收到异步通知的报文为'.print_r($params,1)); 476 476 echo 'SUCCESS'; 477 477 wp_die(); 478 478 } 479 $this->allinpay_log('收到异步通知的报文为'.print_r($ notifyArray,1));479 $this->allinpay_log('收到异步通知的报文为'.print_r($params,1)); 480 480 // 根据回调参数进行相应的处理逻辑 481 481 if ($notifyArray['resultCode'] === '0000') { … … 484 484 $order->payment_complete($transaction_id); 485 485 $custom_data = array( 486 'localCurrency' => $ notifyArray['localCurrency'],487 'localAmount' => $ notifyArray['localAmount']486 'localCurrency' => $params['localCurrency'], 487 'localAmount' => $params['localAmount'] 488 488 ); 489 489 … … 497 497 } else { 498 498 $custom_data = array( 499 'resultCode' => $ notifyArray['resultCode'],500 'resultDesc' => $ notifyArray['resultDesc']499 'resultCode' => $params['resultCode'], 500 'resultDesc' => $params['resultDesc'] 501 501 ); 502 502 … … 504 504 $order->update_meta_data($key, $value); 505 505 } 506 $order->update_status( 'failed', $ notifyArray['resultDesc'] );506 $order->update_status( 'failed', $params['resultDesc'] ); 507 507 $order->save(); 508 508 echo 'SUCCESS'; -
allinpayintl/trunk/readme.txt
r3336276 r3338406 43 43 = 1.1.3 = 44 44 Compatible with the latest version of the API. 45 = 1.1.4 = 46 fix some bugs. 45 47 FAQ: 46 48 … … 68 70 = 1.1.0= 69 71 Our WooCommerce plugin now supports even more payment options to enhance your customers' checkout experience. You can now accept payments through Apple Pay, Google Pay, PayNow, and popular wallets including WeChat Pay and Alipay. ApplePay and GooglePay saves your customers time to key in their payment details and enhances customer experience and retention. Upgrade today to offer your customers a seamless and comprehensive payment experience. 72 = 1.1.4= 73 Made some optimizations 70 74 = 1.0.3= 71 75 Made some optimizations
Note: See TracChangeset
for help on using the changeset viewer.