Changeset 2261594
- Timestamp:
- 03/16/2020 08:09:51 AM (6 years ago)
- Location:
- platon-pay-woocommerce/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wc-platononline.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platon-pay-woocommerce/trunk/readme.txt
r2159346 r2261594 70 70 * This version fixes a security related bug. 71 71 * Added ability to pay via Privat24. 72 72 = 1.6.1 = 73 * This version fixes a Privat24 bug. 73 74 74 75 == Upgrade Notice == … … 76 77 = 1.6 = 77 78 * In this version has been fixed a bug with security and added ability to pay via Privat24. 79 = 1.6.1 = 80 * In this version has been fixed a bug to pay via Privat24. -
platon-pay-woocommerce/trunk/wc-platononline.php
r2224290 r2261594 4 4 * Description: «Platon Pay WooCommerce» is perfect for both online stores operating on the WooCommerce platform. 5 5 * Author: udjin 6 * Version: 1.6 6 * Version: 1.6.1 7 7 * Requires at least: 4.7 8 8 * Requires PHP: 5.2 … … 246 246 $email = sanitize_email(isset($_REQUEST['email']) ? $_REQUEST['email'] : ''); 247 247 $self_md5 = md5(strtoupper(strrev($email).$this->password.$order_id.strrev(substr($card,0,6).substr($card,-4)))); 248 if ($status == 'SALE' && $self_md5 == $sign) { 248 $self_md5_P24 = md5(strtoupper($this->password . $order_id )); 249 if ($status == 'SALE' && $self_md5 == $sign || $status == 'SALE' && $self_md5_P24 == $sign) { 249 250 $order->update_status('completed', __('Платеж успешно оплачен', 'woocommerce')); 250 251 }
Note: See TracChangeset
for help on using the changeset viewer.