Plugin Directory

Changeset 3165265


Ignore:
Timestamp:
10/08/2024 09:14:56 PM (18 months ago)
Author:
nfusionsolutions
Message:

3.0.6

  • Account for Stripe based payment methods during processing fee calculation.
Location:
precious-metals-automated-product-pricing-pro
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • precious-metals-automated-product-pricing-pro/trunk/WooCommerce_Plugin_Nfusion.php

    r3133331 r3165265  
    1111 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1212 
    13  * Version: 3.0.5
     13 * Version: 3.0.6
    1414*/
    1515
     
    2323require_once 'includes/model/transient.php';
    2424
    25 define("NFS_CATALOG_PLUGIN_VERSION",   "3.0.5");
     25define("NFS_CATALOG_PLUGIN_VERSION",   "3.0.6");
    2626define("NFS_CATALOG_REMOTE_TIMEOUT_SECONDS", 2);
    2727define("NFS_CATALOG_DEFAULT_REINDEXING_INTERVAL_MINUTES", 10);
    2828define("NFS_CATALOG_DEFAULT_PRICE_UPDATE_INTERVAL_SECONDS", 60);
     29define("FEE_EXEMPT_METHODS", array("cod", "cheque", "bacs",
     30        "stripe_ach", "stripe_bacs_debit", "stripe_acss_debit",
     31        "stripe_au_becs_debit", "stripe_us_bank_account", "stripe_oxxo",
     32        "stripe_konbini", "stripe_customer_balance", "coinbase_commerce_gateway"));
    2933
    3034function nfs_catalog_plugin_tryGetProduct($skus){
     
    596600 */
    597601function is_not_fee_exempt($chosen_payment_method) {
    598     return !in_array($chosen_payment_method, array('cod', 'cheque', 'bacs'));
     602    return !in_array($chosen_payment_method, FEE_EXEMPT_METHODS);
    599603}
    600604
  • precious-metals-automated-product-pricing-pro/trunk/readme.txt

    r3133331 r3165265  
    77Tested up to: 6.4.2
    88Requires at least: 3.5.0
    9 Stable tag: 3.0.5
     9Stable tag: 3.0.6
    1010
    1111Automated realtime metals spot and futures data dynamically updates product prices in your store for Gold, Silver, Platinum, and Palladium
     
    8282
    8383== Changelog ==
     84= 3.0.6 =
     85* Account for Stripe based payment methods during processing fee calculation.
     86
    8487= 3.0.5 =
    8588* Allow decimal values in CC fee
Note: See TracChangeset for help on using the changeset viewer.