Plugin Directory

Changeset 3021559


Ignore:
Timestamp:
01/14/2024 02:42:11 PM (2 years ago)
Author:
hyperpayproducts
Message:

get_billing_country

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hyperpay-gateways/trunk/src/Brands/Tamara.php

    r3021558 r3021559  
    124124  public function conditional_payment_gateways($available_gateways)
    125125  {
    126     if (is_checkout()) {
     126    if (!is_admin() && is_checkout()) {
    127127      $country = WC()->customer->get_billing_country();
    128128      $amount = WC()->cart->total;
Note: See TracChangeset for help on using the changeset viewer.