Plugin Directory

Changeset 3240770


Ignore:
Timestamp:
02/14/2025 06:49:47 PM (14 months ago)
Author:
daviddossou
Message:

Remove references to non-existent shipping email/phone methods in WooCommerce integration

Location:
anka-commerce/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • anka-commerce/trunk/README.md

    r3236948 r3240770  
    77**Tested up to**: 6.7
    88**Requires PHP**: 7.2
    9 **Stable tag**: 1.1.1
     9**Stable tag**: 1.1.2
    1010**License**: GPLv3 or later
    1111**License URI**: [http://www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
     
    127127## Changelog
    128128
     129### 1.1.2
     130
     131- Fix incorrect address selection logic for shippable products
     132
    129133### 1.1.1
    130134
    131 - Fix incorrect address selection logic
     135- Fix incorrect address selection logic for virtual products
    132136
    133137### 1.1.0
  • anka-commerce/trunk/anka-commerce.php

    r3236948 r3240770  
    33    * Plugin Name:       ANKA Commerce
    44    * Description:       Accept payments through ANKA Pay using Credit Cards, Mobile Money, Nigerian Bank Transfer, and PayPal on your WooCommerce store or Payment buttons.
    5     * Version:           1.1.1
     5    * Version:           1.1.2
    66    * Text Domain:       anka-commerce
    77    * Domain Path:       /languages
     
    1616    define( 'ANKA_COMMERCE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    1717    define( 'ANKA_COMMERCE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    18     define( 'ANKA_COMMERCE_VERSION', '1.1.1' );
     18    define( 'ANKA_COMMERCE_VERSION', '1.1.2' );
     19    define( 'ANKA_COMMERCE_DB_VERSION', '1.1.0' );
    1920
    2021    require_once ANKA_COMMERCE_PLUGIN_DIR . 'includes/migration/anka-commerce-migrations.php';
     
    4142            // Load the plugin textdomain.
    4243            add_action( 'plugins_loaded', array( __CLASS__, 'anka_commerce_load_plugin_textdomain' ) );
     44
     45            // Update plugin version in the database.
     46            add_action( 'plugins_loaded', array( __CLASS__, 'anka_commerce_update_database' ) );
    4347
    4448            // Register the uninstall hook to run rollback_all_migrations when the plugin is uninstalled.
     
    126130            load_plugin_textdomain( 'anka-commerce', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    127131        }
     132
     133        /**
     134         * Update plugin version in the database.
     135         */
     136        public static function anka_commerce_update_database() {
     137            $installed_db_version = get_option('anka_commerce_db_version');
     138
     139            if ($installed_db_version !== ANKA_COMMERCE_DB_VERSION) {
     140                self::activate();
     141                Anka_Commerce_Payment_Button::anka_commerce_payment_button_create_success_page();
     142
     143                update_option('anka_commerce_db_version', ANKA_COMMERCE_DB_VERSION);
     144            }
     145        }
    128146    }
    129147
  • anka-commerce/trunk/includes/woocommerce/class-anka-commerce-woocommerce.php

    r3236922 r3240770  
    242242                $buyer = array(
    243243                    'fullname' => sanitize_text_field($order->get_shipping_first_name()) . ' ' . sanitize_text_field($order->get_shipping_last_name()),
    244                     'email' => sanitize_text_field($order->get_shipping_email()),
    245                     'phone_number' => sanitize_text_field($order->get_shipping_phone()),
     244                    'email' => sanitize_text_field($order->get_billing_email()),
     245                    'phone_number' => sanitize_text_field($order->get_billing_phone()),
    246246                    'street_line_1' => sanitize_text_field($order->get_shipping_address_1()),
    247247                    'street_line_2' => sanitize_text_field($order->get_shipping_address_2()),
  • anka-commerce/trunk/languages/anka-commerce-fr_FR.po

    r3236948 r3240770  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: ANKA Commerce 1.1.1\n"
     5"Project-Id-Version: ANKA Commerce 1.1.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/anka-commerce\n"
    77"POT-Creation-Date: 2024-12-02T07:31:13+00:00\n"
    8 "PO-Revision-Date: 2024-12-02 08:52+0100\n"
     8"PO-Revision-Date: 2025-02-14 19:40+0100\n"
    99"Last-Translator: \n"
    1010"Language-Team: tech-support@anka.africa\n"
  • anka-commerce/trunk/languages/anka-commerce.pot

    r3236948 r3240770  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: ANKA Commerce 1.1.1\n"
     5"Project-Id-Version: ANKA Commerce 1.1.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/anka-commerce\n"
    77"Last-Translator: David Dossou david@anka.africa\n"
  • anka-commerce/trunk/readme.txt

    r3236948 r3240770  
    11=== ANKA Commerce ===
    22Contributors: daviddossou
    3 Tags: WordPress, WooCommerce, Payment gateway, ANKA Pay, eCommerce, Payment button, Services
     3Tags: WordPress, WooCommerce, Payment gateway, eCommerce, Payment button
    44Donate link: https://www.anka.africa/en/special-offer
    55Requires at least: 5.0
    66Tested up to: 6.7
    77Requires PHP: 7.2
    8 Stable tag: 1.1.1
     8Stable tag: 1.1.2
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
    1111
    12 Accept payments through ANKA Pay on your WordPress website using Payment Buttons or WooCommerce integration. Supports Credit Cards, Mobile Money, Nigerian Bank Transfer, and PayPal payment methods.
     12Accept payments through ANKA Pay using Credit Cards, Mobile Money, Nigerian Bank Transfer, and PayPal on your WooCommerce store or Payment buttons.
    1313
    1414== Description ==
     
    1919In order to use ANKA Pay, make sure you have an active account on [ANKA Africa](https://www.anka.africa).
    2020
    21 With the **1.1.1** version, we’ve expanded the plugin's functionality to include **Payment Buttons**, allowing websites without WooCommerce to generate ANKA payment links easily and streamline their payment processes.
     21With the **1.1.x** version, we’ve expanded the plugin's functionality to include **Payment Buttons**, allowing websites without WooCommerce to generate ANKA payment links easily and streamline their payment processes.
    2222
    2323= Key Features =
     
    119119
    120120== Changelog ==
     121= 1.1.2 =
     122* Fix incorrect address selection logic for shippable products
     123
    121124= 1.1.1 =
    122 * Fix incorrect address selection logic
     125* Fix incorrect address selection logic for virtual products
    123126
    124127= 1.1.0 =
     
    133136
    134137== Upgrade Notice ==
    135 Upgrade to version 1.1.1 to fix incorrect shipping and billing address selection logic, ensuring accurate order processing. This update also includes minor performance improvements and stability enhancements.
     138Upgrade to version 1.1.2 to fix incorrect shipping and billing address selection logic, ensuring accurate order processing. This update also includes minor performance improvements and stability enhancements.
Note: See TracChangeset for help on using the changeset viewer.