Changeset 3240770
- Timestamp:
- 02/14/2025 06:49:47 PM (14 months ago)
- Location:
- anka-commerce/trunk
- Files:
-
- 7 edited
-
README.md (modified) (2 diffs)
-
anka-commerce.php (modified) (4 diffs)
-
includes/woocommerce/class-anka-commerce-woocommerce.php (modified) (1 diff)
-
languages/anka-commerce-fr_FR.mo (modified) (previous)
-
languages/anka-commerce-fr_FR.po (modified) (1 diff)
-
languages/anka-commerce.pot (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anka-commerce/trunk/README.md
r3236948 r3240770 7 7 **Tested up to**: 6.7 8 8 **Requires PHP**: 7.2 9 **Stable tag**: 1.1. 19 **Stable tag**: 1.1.2 10 10 **License**: GPLv3 or later 11 11 **License URI**: [http://www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html) … … 127 127 ## Changelog 128 128 129 ### 1.1.2 130 131 - Fix incorrect address selection logic for shippable products 132 129 133 ### 1.1.1 130 134 131 - Fix incorrect address selection logic 135 - Fix incorrect address selection logic for virtual products 132 136 133 137 ### 1.1.0 -
anka-commerce/trunk/anka-commerce.php
r3236948 r3240770 3 3 * Plugin Name: ANKA Commerce 4 4 * 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. 15 * Version: 1.1.2 6 6 * Text Domain: anka-commerce 7 7 * Domain Path: /languages … … 16 16 define( 'ANKA_COMMERCE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 17 17 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' ); 19 20 20 21 require_once ANKA_COMMERCE_PLUGIN_DIR . 'includes/migration/anka-commerce-migrations.php'; … … 41 42 // Load the plugin textdomain. 42 43 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' ) ); 43 47 44 48 // Register the uninstall hook to run rollback_all_migrations when the plugin is uninstalled. … … 126 130 load_plugin_textdomain( 'anka-commerce', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 127 131 } 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 } 128 146 } 129 147 -
anka-commerce/trunk/includes/woocommerce/class-anka-commerce-woocommerce.php
r3236922 r3240770 242 242 $buyer = array( 243 243 '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()), 246 246 'street_line_1' => sanitize_text_field($order->get_shipping_address_1()), 247 247 'street_line_2' => sanitize_text_field($order->get_shipping_address_2()), -
anka-commerce/trunk/languages/anka-commerce-fr_FR.po
r3236948 r3240770 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: ANKA Commerce 1.1. 1\n"5 "Project-Id-Version: ANKA Commerce 1.1.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/anka-commerce\n" 7 7 "POT-Creation-Date: 2024-12-02T07:31:13+00:00\n" 8 "PO-Revision-Date: 202 4-12-02 08:52+0100\n"8 "PO-Revision-Date: 2025-02-14 19:40+0100\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: tech-support@anka.africa\n" -
anka-commerce/trunk/languages/anka-commerce.pot
r3236948 r3240770 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: ANKA Commerce 1.1. 1\n"5 "Project-Id-Version: ANKA Commerce 1.1.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/anka-commerce\n" 7 7 "Last-Translator: David Dossou david@anka.africa\n" -
anka-commerce/trunk/readme.txt
r3236948 r3240770 1 1 === ANKA Commerce === 2 2 Contributors: daviddossou 3 Tags: WordPress, WooCommerce, Payment gateway, ANKA Pay, eCommerce, Payment button, Services3 Tags: WordPress, WooCommerce, Payment gateway, eCommerce, Payment button 4 4 Donate link: https://www.anka.africa/en/special-offer 5 5 Requires at least: 5.0 6 6 Tested up to: 6.7 7 7 Requires PHP: 7.2 8 Stable tag: 1.1. 18 Stable tag: 1.1.2 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html 11 11 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.12 Accept payments through ANKA Pay using Credit Cards, Mobile Money, Nigerian Bank Transfer, and PayPal on your WooCommerce store or Payment buttons. 13 13 14 14 == Description == … … 19 19 In order to use ANKA Pay, make sure you have an active account on [ANKA Africa](https://www.anka.africa). 20 20 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.21 With 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. 22 22 23 23 = Key Features = … … 119 119 120 120 == Changelog == 121 = 1.1.2 = 122 * Fix incorrect address selection logic for shippable products 123 121 124 = 1.1.1 = 122 * Fix incorrect address selection logic 125 * Fix incorrect address selection logic for virtual products 123 126 124 127 = 1.1.0 = … … 133 136 134 137 == Upgrade Notice == 135 Upgrade to version 1.1. 1to fix incorrect shipping and billing address selection logic, ensuring accurate order processing. This update also includes minor performance improvements and stability enhancements.138 Upgrade 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.