Changeset 2945994
- Timestamp:
- 08/01/2023 11:13:53 AM (3 years ago)
- Location:
- cryptapi-payment-gateway-for-woocommerce
- Files:
-
- 5 edited
- 8 copied
-
tags/4.7.8 (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk)
-
tags/4.7.8/CryptAPI.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/CryptAPI.php) (1 diff)
-
tags/4.7.8/README.md (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/README.md) (1 diff)
-
tags/4.7.8/controllers/CryptAPI.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/controllers/CryptAPI.php) (3 diffs)
-
tags/4.7.8/define.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/define.php) (1 diff)
-
tags/4.7.8/readme.txt (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/readme.txt) (2 diffs)
-
tags/4.7.8/static/payment.js (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/static/payment.js)
-
tags/4.7.8/utils/helper.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/utils/helper.php)
-
trunk/CryptAPI.php (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/controllers/CryptAPI.php (modified) (3 diffs)
-
trunk/define.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cryptapi-payment-gateway-for-woocommerce/tags/4.7.8/CryptAPI.php
r2905747 r2945994 4 4 Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi 5 5 Description: Accept cryptocurrency payments on your WooCommerce website 6 Version: 4.7. 76 Version: 4.7.8 7 7 Requires at least: 5 8 Tested up to: 6. 28 Tested up to: 6.3 9 9 WC requires at least: 5.8 10 WC tested up to: 7. 6.110 WC tested up to: 7.9.0 11 11 Requires PHP: 7.2 12 12 Author: cryptapi -
cryptapi-payment-gateway-for-woocommerce/tags/4.7.8/README.md
r2905747 r2945994 347 347 * Minor fixes 348 348 349 #### 4.7.8 350 * Minor fixes 351 349 352 ### Upgrade Notice 350 353 #### 4.3 -
cryptapi-payment-gateway-for-woocommerce/tags/4.7.8/controllers/CryptAPI.php
r2905747 r2945994 720 720 function process_callback_data($data, $order, $validation = false) 721 721 { 722 $coin = $data['coin']; 723 724 $saved_coin = $order->get_meta('cryptapi_currency'); 725 722 726 $paid = (float)$data['value_coin']; 723 727 … … 727 731 728 732 $history = json_decode($order->get_meta('cryptapi_history'), true); 733 734 if ($coin !== $saved_coin) { 735 $order->add_order_note( 736 '[MISSMATCHED PAYMENT] Registered a ' . $paid . ' ' . strtoupper($coin) . '. Order not confirmed because requested currency is ' . $crypto_coin . '. If you wish, you may confirm it manually. (Funds were already forwarded to you).' 737 ); 738 739 die("*ok*"); 740 } 729 741 730 742 if (!$data['uuid']) { … … 1479 1491 1480 1492 $ajax_url = add_query_arg(array( 1481 'action' => ' blockbee_validate_logs',1493 'action' => 'cryptapi_validate_logs', 1482 1494 'order_id' => $order->get_ID(), 1483 1495 ), home_url('/wp-admin/admin-ajax.php')); -
cryptapi-payment-gateway-for-woocommerce/tags/4.7.8/define.php
r2905747 r2945994 1 1 <?php 2 2 3 define('CRYPTAPI_PLUGIN_VERSION', '4.7. 7');3 define('CRYPTAPI_PLUGIN_VERSION', '4.7.8'); 4 4 define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__)); 5 5 define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__)); -
cryptapi-payment-gateway-for-woocommerce/tags/4.7.8/readme.txt
r2905748 r2945994 3 3 Tags: crypto payments, woocommerce, payment gateway, crypto, payment, pay with crypto, payment request, bitcoin, bnb, usdt, ethereum, monero, litecoin, bitcoin cash, shib, doge 4 4 Requires at least: 5 5 Tested up to: 6. 26 Stable tag: 4.7. 75 Tested up to: 6.3 6 Stable tag: 4.7.8 7 7 Requires PHP: 7.2 8 8 WC requires at least: 5.8 9 WC tested up to: 7. 6.19 WC tested up to: 7.9.0 10 10 License: MIT 11 11 … … 347 347 * Minor fixes 348 348 349 = 4.7.8 = 350 * Minor fixes 351 349 352 == Upgrade Notice == 350 353 -
cryptapi-payment-gateway-for-woocommerce/trunk/CryptAPI.php
r2905747 r2945994 4 4 Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi 5 5 Description: Accept cryptocurrency payments on your WooCommerce website 6 Version: 4.7. 76 Version: 4.7.8 7 7 Requires at least: 5 8 Tested up to: 6. 28 Tested up to: 6.3 9 9 WC requires at least: 5.8 10 WC tested up to: 7. 6.110 WC tested up to: 7.9.0 11 11 Requires PHP: 7.2 12 12 Author: cryptapi -
cryptapi-payment-gateway-for-woocommerce/trunk/README.md
r2905747 r2945994 347 347 * Minor fixes 348 348 349 #### 4.7.8 350 * Minor fixes 351 349 352 ### Upgrade Notice 350 353 #### 4.3 -
cryptapi-payment-gateway-for-woocommerce/trunk/controllers/CryptAPI.php
r2905747 r2945994 720 720 function process_callback_data($data, $order, $validation = false) 721 721 { 722 $coin = $data['coin']; 723 724 $saved_coin = $order->get_meta('cryptapi_currency'); 725 722 726 $paid = (float)$data['value_coin']; 723 727 … … 727 731 728 732 $history = json_decode($order->get_meta('cryptapi_history'), true); 733 734 if ($coin !== $saved_coin) { 735 $order->add_order_note( 736 '[MISSMATCHED PAYMENT] Registered a ' . $paid . ' ' . strtoupper($coin) . '. Order not confirmed because requested currency is ' . $crypto_coin . '. If you wish, you may confirm it manually. (Funds were already forwarded to you).' 737 ); 738 739 die("*ok*"); 740 } 729 741 730 742 if (!$data['uuid']) { … … 1479 1491 1480 1492 $ajax_url = add_query_arg(array( 1481 'action' => ' blockbee_validate_logs',1493 'action' => 'cryptapi_validate_logs', 1482 1494 'order_id' => $order->get_ID(), 1483 1495 ), home_url('/wp-admin/admin-ajax.php')); -
cryptapi-payment-gateway-for-woocommerce/trunk/define.php
r2905747 r2945994 1 1 <?php 2 2 3 define('CRYPTAPI_PLUGIN_VERSION', '4.7. 7');3 define('CRYPTAPI_PLUGIN_VERSION', '4.7.8'); 4 4 define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__)); 5 5 define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__)); -
cryptapi-payment-gateway-for-woocommerce/trunk/readme.txt
r2905748 r2945994 3 3 Tags: crypto payments, woocommerce, payment gateway, crypto, payment, pay with crypto, payment request, bitcoin, bnb, usdt, ethereum, monero, litecoin, bitcoin cash, shib, doge 4 4 Requires at least: 5 5 Tested up to: 6. 26 Stable tag: 4.7. 75 Tested up to: 6.3 6 Stable tag: 4.7.8 7 7 Requires PHP: 7.2 8 8 WC requires at least: 5.8 9 WC tested up to: 7. 6.19 WC tested up to: 7.9.0 10 10 License: MIT 11 11 … … 347 347 * Minor fixes 348 348 349 = 4.7.8 = 350 * Minor fixes 351 349 352 == Upgrade Notice == 350 353
Note: See TracChangeset
for help on using the changeset viewer.