Changeset 3262061
- Timestamp:
- 03/26/2025 09:28:44 AM (12 months ago)
- Location:
- icount
- Files:
-
- 87 added
- 3 edited
-
tags/2.0.4 (added)
-
tags/2.0.4/.git (added)
-
tags/2.0.4/.git/HEAD (added)
-
tags/2.0.4/.git/branches (added)
-
tags/2.0.4/.git/config (added)
-
tags/2.0.4/.git/description (added)
-
tags/2.0.4/.git/hooks (added)
-
tags/2.0.4/.git/hooks/applypatch-msg.sample (added)
-
tags/2.0.4/.git/hooks/commit-msg.sample (added)
-
tags/2.0.4/.git/hooks/fsmonitor-watchman.sample (added)
-
tags/2.0.4/.git/hooks/post-update.sample (added)
-
tags/2.0.4/.git/hooks/pre-applypatch.sample (added)
-
tags/2.0.4/.git/hooks/pre-commit.sample (added)
-
tags/2.0.4/.git/hooks/pre-merge-commit.sample (added)
-
tags/2.0.4/.git/hooks/pre-push.sample (added)
-
tags/2.0.4/.git/hooks/pre-rebase.sample (added)
-
tags/2.0.4/.git/hooks/pre-receive.sample (added)
-
tags/2.0.4/.git/hooks/prepare-commit-msg.sample (added)
-
tags/2.0.4/.git/hooks/push-to-checkout.sample (added)
-
tags/2.0.4/.git/hooks/update.sample (added)
-
tags/2.0.4/.git/index (added)
-
tags/2.0.4/.git/info (added)
-
tags/2.0.4/.git/info/exclude (added)
-
tags/2.0.4/.git/logs (added)
-
tags/2.0.4/.git/logs/HEAD (added)
-
tags/2.0.4/.git/logs/refs (added)
-
tags/2.0.4/.git/logs/refs/heads (added)
-
tags/2.0.4/.git/logs/refs/heads/main (added)
-
tags/2.0.4/.git/logs/refs/remotes (added)
-
tags/2.0.4/.git/logs/refs/remotes/origin (added)
-
tags/2.0.4/.git/logs/refs/remotes/origin/HEAD (added)
-
tags/2.0.4/.git/objects (added)
-
tags/2.0.4/.git/objects/info (added)
-
tags/2.0.4/.git/objects/pack (added)
-
tags/2.0.4/.git/objects/pack/pack-ad115093e6cfe6cc5266eefa54d810af4b0f104f.idx (added)
-
tags/2.0.4/.git/objects/pack/pack-ad115093e6cfe6cc5266eefa54d810af4b0f104f.pack (added)
-
tags/2.0.4/.git/packed-refs (added)
-
tags/2.0.4/.git/refs (added)
-
tags/2.0.4/.git/refs/heads (added)
-
tags/2.0.4/.git/refs/heads/main (added)
-
tags/2.0.4/.git/refs/remotes (added)
-
tags/2.0.4/.git/refs/remotes/origin (added)
-
tags/2.0.4/.git/refs/remotes/origin/HEAD (added)
-
tags/2.0.4/.git/refs/tags (added)
-
tags/2.0.4/assets (added)
-
tags/2.0.4/assets/css (added)
-
tags/2.0.4/assets/css/admin_settings.css (added)
-
tags/2.0.4/assets/images (added)
-
tags/2.0.4/assets/images/icount.png (added)
-
tags/2.0.4/assets/js (added)
-
tags/2.0.4/assets/js/admin_settings.js (added)
-
tags/2.0.4/assets/js/block_element.js (added)
-
tags/2.0.4/assets/js/checkout.js (added)
-
tags/2.0.4/icount-payment-gateway.php (added)
-
tags/2.0.4/includes (added)
-
tags/2.0.4/includes/WC_ICount_ENUM.php (added)
-
tags/2.0.4/includes/WC_ICount_Gateway.php (added)
-
tags/2.0.4/includes/WC_ICount_Locker.php (added)
-
tags/2.0.4/includes/WC_ICount_Logger.php (added)
-
tags/2.0.4/includes/WC_ICount_PaymentMethodType.php (added)
-
tags/2.0.4/index.php (added)
-
tags/2.0.4/languages (added)
-
tags/2.0.4/languages/icount-payment-gateway-he_IL.mo (added)
-
tags/2.0.4/languages/icount-payment-gateway-he_IL.po (added)
-
tags/2.0.4/readme.txt (added)
-
tags/2.0.4/trunk (added)
-
tags/2.0.4/trunk/assets (added)
-
tags/2.0.4/trunk/assets/css (added)
-
tags/2.0.4/trunk/assets/css/admin_settings.css (added)
-
tags/2.0.4/trunk/assets/images (added)
-
tags/2.0.4/trunk/assets/images/icount.png (added)
-
tags/2.0.4/trunk/assets/js (added)
-
tags/2.0.4/trunk/assets/js/admin_settings.js (added)
-
tags/2.0.4/trunk/assets/js/block_element.js (added)
-
tags/2.0.4/trunk/assets/js/checkout.js (added)
-
tags/2.0.4/trunk/icount-payment-gateway.php (added)
-
tags/2.0.4/trunk/includes (added)
-
tags/2.0.4/trunk/includes/WC_ICount_ENUM.php (added)
-
tags/2.0.4/trunk/includes/WC_ICount_Gateway.php (added)
-
tags/2.0.4/trunk/includes/WC_ICount_Locker.php (added)
-
tags/2.0.4/trunk/includes/WC_ICount_Logger.php (added)
-
tags/2.0.4/trunk/includes/WC_ICount_PaymentMethodType.php (added)
-
tags/2.0.4/trunk/index.php (added)
-
tags/2.0.4/trunk/languages (added)
-
tags/2.0.4/trunk/languages/icount-payment-gateway-he_IL.mo (added)
-
tags/2.0.4/trunk/languages/icount-payment-gateway-he_IL.po (added)
-
tags/2.0.4/trunk/readme.txt (added)
-
trunk/icount-payment-gateway.php (modified) (1 diff)
-
trunk/includes/WC_ICount_Gateway.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
icount/trunk/icount-payment-gateway.php
r3246420 r3262061 6 6 * Plugin Name: iCount Payment Gateway 7 7 * Description: WooCommerce integration for iCount Payment Gateway. 8 * Version: 2.0. 38 * Version: 2.0.4 9 9 * RequiresPHP: 7.4 10 10 * Author: iCount Systems -
icount/trunk/includes/WC_ICount_Gateway.php
r3246420 r3262061 321 321 'phone' => $order->get_billing_phone(), 322 322 'currency_code' => $order->get_currency(), 323 'recipient_name' => trim($order->get_shipping_first_name() . ' ' . $order->get_shipping_last_name()), 324 'recipient_email' => $order->get_billing_email(), 325 'recipient_phone' => $order->get_billing_phone(), 326 'recipient_city' => $order->get_shipping_city(), 327 'recipient_zip' => $order->get_shipping_postcode(), 328 'recipient_state' => $order->get_shipping_state(), 329 'recipient_country'=> $order->get_shipping_country(), 330 'recipient_street1'=> $order->get_shipping_address_1(), 331 'recipient_street2'=> $order->get_shipping_address_2(), 323 332 'delivery_methods' => [], 324 333 … … 984 993 'email' => $order->get_billing_email(), 985 994 'phone' => $order->get_billing_phone(), 995 'recipient_name' => trim($order->get_shipping_first_name() . ' ' . $order->get_shipping_last_name()), 996 'recipient_email' => $order->get_billing_email(), 997 'recipient_phone' => $order->get_billing_phone(), 998 'recipient_city' => $order->get_shipping_city(), 999 'recipient_zip' => $order->get_shipping_postcode(), 1000 'recipient_state' => $order->get_shipping_state(), 1001 'recipient_country'=> $order->get_shipping_country(), 1002 'recipient_street1'=> $order->get_shipping_address_1(), 1003 'recipient_street2'=> $order->get_shipping_address_2(), 986 1004 'currency_code' => $order->get_currency(), 987 1005 'delivery_methods' => [], … … 1001 1019 ); 1002 1020 1003 $thankyou_url = esc_url($order->get_checkout_order_received_url()); 1004 1021 $thankyou_url = esc_url($order->get_checkout_order_received_url()); 1005 1022 $thankyou = wp_parse_url($thankyou_url); 1006 1023 $payment = wp_parse_url($payment_url); … … 1008 1025 $redir = ($redirect === true) ? 1 : 0; 1009 1026 1027 $redir_url = '?ic_checkout=' . $pay_url[3] . '&ic_order_id=' . $order_id . '&ic_' . $thankyou['query'] . '&ic_path=' . $thankyou['path'] . '&ic_redir=' . $redir; 1028 if ($redirect === true) 1029 $redir_url = $payment_url; 1030 1010 1031 return [ 1011 1032 'result' => 'success', 1012 'redirect' => '?ic_checkout=' . $pay_url[3] . '&ic_order_id=' . $order_id . '&ic_' . $thankyou['query'] . '&ic_path=' . $thankyou['path'] . '&ic_redir=' . $redir,1033 'redirect' => $redir_url 1013 1034 ]; 1014 1035 -
icount/trunk/readme.txt
r3246420 r3262061 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7.1 6 Stable tag: 2.0. 36 Stable tag: 2.0.4 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.