Plugin Directory

Changeset 3428178


Ignore:
Timestamp:
12/27/2025 11:36:53 AM (3 months ago)
Author:
shieldclimb
Message:

Updated plugin to version 1.3.0: Tested up to WooCommerce 10.4.3 and Fixed provider visibility issues where Robinhood and Stripe were not visible

Location:
shieldclimb-high-risk-card-payment-gateway/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-interac.php

    r3411577 r3428178  
    5151                'type'        => 'text',
    5252                '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 value
     53                'default'     => esc_html__('Pay with Interac (CAD Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value
    5454                'desc_tip'    => true,
    5555            ),
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-revolut.php

    r3413314 r3428178  
    2020        $this->id                 = 'shieldclimb-revolut';
    2121        $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 title
     22        $this->method_title       = esc_html__('ShieldClimb – revolut (EU/EEA Only) | Min EUR6', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title
    2323        $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
    2424        $this->has_fields         = false;
     
    5050                'type'        => 'text',
    5151                '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 value
     52                'default'     => esc_html__('Pay with Revolut (EU/EEA Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value
    5353                'desc_tip'    => true,
    5454            ),
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-robinhood.php

    r3411577 r3428178  
    2020        $this->id                 = 'shieldclimb-robinhood';
    2121        $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 title
     22        $this->method_title       = esc_html__('ShieldClimb – robinhood (US Only) | Min USD5 | Auto-hide If Below Min', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title
    2323        $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
    2424        $this->has_fields         = false;
     
    5050                'type'        => 'text',
    5151                '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 value
     52                'default'     => esc_html__('Pay with Robinhood (US Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value
    5353                'desc_tip'    => true,
    5454            ),
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-stripe.php

    r3411577 r3428178  
    2020        $this->id                 = 'shieldclimb-stripe';
    2121        $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 title
     22        $this->method_title       = esc_html__('ShieldClimb – stripe (US Only) | Min USD2 | Auto-hide If Below Min', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title
    2323        $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
    2424        $this->has_fields         = false;
     
    5050                'type'        => 'text',
    5151                '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 value
     52                'default'     => esc_html__('Pay with Stripe (US Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value
    5353                'desc_tip'    => true,
    5454            ),
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/class-shieldclimb-upi.php

    r3411577 r3428178  
    2121        $this->id                 = 'shieldclimb-upi';
    2222        $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 title
     23        $this->method_title       = esc_html__('ShieldClimb – UPI/IMPS (IDR Only) | Min IDR100', 'shieldclimb-high-risk-card-payment-gateway'); // Escaping title
    2424        $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
    2525        $this->has_fields         = false;
     
    5151                'type'        => 'text',
    5252                '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 value
     53                'default'     => esc_html__('Pay with UPI/IMPS (IDR Only) (Credit Card)', 'shieldclimb-high-risk-card-payment-gateway'), // Escaping default value
    5454                'desc_tip'    => true,
    5555            ),
  • shieldclimb-high-risk-card-payment-gateway/trunk/includes/shieldclimb-payment-functions.php

    r3413314 r3428178  
    11<?php
    22add_filter('woocommerce_available_payment_gateways', 'shieldclimbgateway_hide_payment_methods');
    3 add_filter('woocommerce_available_payment_gateways', 'shieldclimbgateway_payment_gateway_for_us_ip_customers');
    43
    54function shieldclimbgateway_hide_payment_methods($available_gateways) {
     
    7170    return $available_gateways;
    7271}
    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 address
    80     $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 customers
    84         unset($available_gateways['shieldclimb-stripe']);
    85         unset($available_gateways['shieldclimb-robinhood']);
    86         // Add more unset() calls here if needed
    87     }
    88 
    89     return $available_gateways;
    90 }
    9172?>
  • shieldclimb-high-risk-card-payment-gateway/trunk/readme.txt

    r3413696 r3428178  
    55Requires at least: 5.8
    66Tested up to: 6.9
    7 Stable tag: 1.2.9
     7Stable tag: 1.3.0
    88Requires PHP: 7.2
    99WC requires at least: 5.8
    10 WC tested up to: 10.3.6
     10WC tested up to: 10.4.3
    1111License: GPLv3
    1212License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3333* Custom Payment Icons Per Provider
    3434* Multi-Currency Support
     35
     36Each 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.
    3537
    3638📺 **Watch the full install and setup tutorial here:** 
     
    105107== Changelog ==
    106108
     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
    107114= V1.2.9 =
    108115
  • shieldclimb-high-risk-card-payment-gateway/trunk/shieldclimb-high-risk-card-payment-gateway.php

    r3413696 r3428178  
    44 * Plugin URI: https://shieldclimb.com/high-risk-payment-gateway/
    55 * 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.9
     6 * Version: 1.3.0
    77 * Requires Plugins: woocommerce
    88 * Requires at least: 5.8
    99 * Tested up to: 6.9
    1010 * WC requires at least: 5.8
    11  * WC tested up to: 10.3.6
     11 * WC tested up to: 10.4.3
    1212 * Requires PHP: 7.2
    1313 * Author: shieldclimb.com
Note: See TracChangeset for help on using the changeset viewer.