Changeset 3428178
- Timestamp:
- 12/27/2025 11:36:53 AM (3 months ago)
- Location:
- shieldclimb-high-risk-card-payment-gateway/trunk
- Files:
-
- 8 edited
-
includes/class-shieldclimb-interac.php (modified) (1 diff)
-
includes/class-shieldclimb-revolut.php (modified) (2 diffs)
-
includes/class-shieldclimb-robinhood.php (modified) (2 diffs)
-
includes/class-shieldclimb-stripe.php (modified) (2 diffs)
-
includes/class-shieldclimb-upi.php (modified) (2 diffs)
-
includes/shieldclimb-payment-functions.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
shieldclimb-high-risk-card-payment-gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-interac.php
r3411577 r3428178 51 51 'type' => 'text', 52 52 'description' => esc_html__('Payment method title that users will see during checkout.', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping description 53 'default' => esc_html__('Pay with Interac (CAD ) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value53 'default' => esc_html__('Pay with Interac (CAD Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value 54 54 'desc_tip' => true, 55 55 ), -
shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-revolut.php
r3413314 r3428178 20 20 $this->id = 'shieldclimb-revolut'; 21 21 $this->icon = sanitize_url($this->get_option('icon_url')); 22 $this->method_title = esc_html__('ShieldClimb – revolut (EU/EEA only) | Min EUR6', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title22 $this->method_title = esc_html__('ShieldClimb – revolut (EU/EEA Only) | Min EUR6', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title 23 23 $this->method_description = esc_html__('High Risk Business Card Payment Gateway with Chargeback Protection and Instant USDC POLYGON Wallet Payouts using revolut.com infrastructure', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping description 24 24 $this->has_fields = false; … … 50 50 'type' => 'text', 51 51 'description' => esc_html__('Payment method title that users will see during checkout.', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping description 52 'default' => esc_html__('Pay with Revolut (EU/EEA ) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value52 'default' => esc_html__('Pay with Revolut (EU/EEA Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value 53 53 'desc_tip' => true, 54 54 ), -
shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-robinhood.php
r3411577 r3428178 20 20 $this->id = 'shieldclimb-robinhood'; 21 21 $this->icon = sanitize_url($this->get_option('icon_url')); 22 $this->method_title = esc_html__('ShieldClimb – robinhood (US only) | Min USD5 | Auto-hide if below min or non-US', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title22 $this->method_title = esc_html__('ShieldClimb – robinhood (US Only) | Min USD5 | Auto-hide If Below Min', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title 23 23 $this->method_description = esc_html__('High Risk Business Card Payment Gateway with Chargeback Protection and Instant USDC POLYGON Wallet Payouts using robinhood.com infrastructure', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping description 24 24 $this->has_fields = false; … … 50 50 'type' => 'text', 51 51 'description' => esc_html__('Payment method title that users will see during checkout.', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping description 52 'default' => esc_html__('Pay with Robinhood (US ) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value52 'default' => esc_html__('Pay with Robinhood (US Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value 53 53 'desc_tip' => true, 54 54 ), -
shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-stripe.php
r3411577 r3428178 20 20 $this->id = 'shieldclimb-stripe'; 21 21 $this->icon = sanitize_url($this->get_option('icon_url')); 22 $this->method_title = esc_html__('ShieldClimb – stripe (US only) | Min USD2 | Auto-hide if below min or non-US', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title22 $this->method_title = esc_html__('ShieldClimb – stripe (US Only) | Min USD2 | Auto-hide If Below Min', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title 23 23 $this->method_description = esc_html__('High Risk Business Card Payment Gateway with Chargeback Protection and Instant USDC POLYGON Wallet Payouts using stripe.com infrastructure', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping description 24 24 $this->has_fields = false; … … 50 50 'type' => 'text', 51 51 'description' => esc_html__('Payment method title that users will see during checkout.', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping description 52 'default' => esc_html__('Pay with Stripe (US ) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value52 'default' => esc_html__('Pay with Stripe (US Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value 53 53 'desc_tip' => true, 54 54 ), -
shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-upi.php
r3411577 r3428178 21 21 $this->id = 'shieldclimb-upi'; 22 22 $this->icon = sanitize_url($this->get_option('icon_url')); 23 $this->method_title = esc_html__('ShieldClimb – UPI/IMPS (IDR only) | Min IDR100', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title23 $this->method_title = esc_html__('ShieldClimb – UPI/IMPS (IDR Only) | Min IDR100', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title 24 24 $this->method_description = esc_html__('High Risk Business Card Payment Gateway with Chargeback Protection and Instant USDC POLYGON Wallet Payouts using UPI/IMPS infrastructure', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping description 25 25 $this->has_fields = false; … … 51 51 'type' => 'text', 52 52 'description' => esc_html__('Payment method title that users will see during checkout.', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping description 53 'default' => esc_html__('Pay with UPI/IMPS (IDR ) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value53 'default' => esc_html__('Pay with UPI/IMPS (IDR Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value 54 54 'desc_tip' => true, 55 55 ), -
shieldclimb-high-risk-card-payment-gateway/trunk/includes/shieldclimb-payment-functions.php
r3413314 r3428178 1 1 <?php 2 2 add_filter('woocommerce_available_payment_gateways', 'shieldclimbgateway_hide_payment_methods'); 3 add_filter('woocommerce_available_payment_gateways', 'shieldclimbgateway_payment_gateway_for_us_ip_customers');4 3 5 4 function shieldclimbgateway_hide_payment_methods($available_gateways) { … … 71 70 return $available_gateways; 72 71 } 73 74 function shieldclimbgateway_payment_gateway_for_us_ip_customers($available_gateways) {75 if ((!is_checkout() && !is_wc_endpoint_url('order-pay')) || is_admin()) {76 return $available_gateways;77 }78 79 // Get the user's country based on IP address80 $user_country = WC_Geolocation::geolocate_ip();81 82 if (isset($user_country['country']) && $user_country['country'] !== 'US') {83 // List of payment gateways to remove for non-US customers84 unset($available_gateways['shieldclimb-stripe']);85 unset($available_gateways['shieldclimb-robinhood']);86 // Add more unset() calls here if needed87 }88 89 return $available_gateways;90 }91 72 ?> -
shieldclimb-high-risk-card-payment-gateway/trunk/readme.txt
r3413696 r3428178 5 5 Requires at least: 5.8 6 6 Tested up to: 6.9 7 Stable tag: 1. 2.97 Stable tag: 1.3.0 8 8 Requires PHP: 7.2 9 9 WC requires at least: 5.8 10 WC tested up to: 10. 3.610 WC tested up to: 10.4.3 11 11 License: GPLv3 12 12 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 33 33 * Custom Payment Icons Per Provider 34 34 * Multi-Currency Support 35 36 Each payment provider has its own minimum order requirement. Please check the full list of [minimum payment amounts](https://shieldclimb.com/high-risk-payment-gateway/#minimum-payment-amounts) for more information. 35 37 36 38 📺 **Watch the full install and setup tutorial here:** … … 105 107 == Changelog == 106 108 109 = V1.3.0 = 110 111 * **Updated**: Tested up to WooCommerce 10.4.3 112 * **Bug Fixed**: Fixed provider visibility issues where Robinhood and Stripe were not visible 113 107 114 = V1.2.9 = 108 115 -
shieldclimb-high-risk-card-payment-gateway/trunk/shieldclimb-high-risk-card-payment-gateway.php
r3413696 r3428178 4 4 * Plugin URI: https://shieldclimb.com/high-risk-payment-gateway/ 5 5 * Description: High-Risk Business Card Payment Gateway with Instant Payouts to Your USDC Wallet and Full Chargeback Protection – Includes Automatic Order Processing and Auto-Hide Provider Options by Region and Minimum Balance (For setting up go to > Woocommerce > Setting > Payments tab). 6 * Version: 1. 2.96 * Version: 1.3.0 7 7 * Requires Plugins: woocommerce 8 8 * Requires at least: 5.8 9 9 * Tested up to: 6.9 10 10 * WC requires at least: 5.8 11 * WC tested up to: 10. 3.611 * WC tested up to: 10.4.3 12 12 * Requires PHP: 7.2 13 13 * Author: shieldclimb.com
Note: See TracChangeset
for help on using the changeset viewer.