Plugin Directory

Changeset 3243695


Ignore:
Timestamp:
02/20/2025 07:57:31 AM (12 months ago)
Author:
allpay
Message:

v.1.1.1: fixed VAT calculation

Location:
allpay-payment-gateway/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • allpay-payment-gateway/trunk/allpay-gateway.php

    r3182964 r3243695  
    66 * Author: Allpay
    77 * Author URI: https://allpay.co.il
    8  * Version: 1.1.0
     8 * Version: 1.1.1
    99 * Text Domain: allpay-payment-gateway
    1010 * Domain Path: /languages
    11  * Tested up to: 6.6.2
    12  * WC tested up to: 9.3.3
     11 * Tested up to: 6.7.2
     12 * WC tested up to: 9.6.2
    1313 * WC requires at least: 3.0
    1414 *
     
    6060}
    6161
    62 // поддержка HPOS
     62// HPOS support
    6363add_action( 'before_woocommerce_init', function() {
    6464    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
    65         \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); //__FILE__ должен вести в основному файлу вашего плагина
     65        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); //__FILE__ should direct to your plagin main file
    6666    }
    6767} );
  • allpay-payment-gateway/trunk/classes/class-allpay.php

    r3182959 r3243695  
    152152        $items = [];
    153153        foreach ($customer_order->get_items() as $item_id => $item) {
     154            $quantity = $item->get_quantity();
     155            $price = ($quantity > 0) ? ( $item->get_total() + $item->get_total_tax() ) / $quantity : 0;
     156
    154157            $items[] = [
    155158                'name' => $item->get_name(),
    156                 'price' => $item->get_total() / $item->get_quantity(),
    157                 'qty' => $item->get_quantity(),
     159                'price' => $price,
     160                'qty' => $quantity,
    158161            ];
    159162        }
  • allpay-payment-gateway/trunk/readme.txt

    r3182959 r3243695  
    55Requires at least: 4.7
    66Tested up to: 6.6.2
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1010
    11 With this plugin for WooCommerce business in Israel can receive payments from all over the world (except for Russia). Supported card brands: Visa, Mastercard, American Express, Diners, Isracard. Plugin developed by [Allpay Payment Service](https://www.allpay.co.il/).
     11With this plugin for WooCommerce, businesses in Israel can receive payments from all over the world (except for Russia). Supported card brands: Visa, Mastercard, American Express, Diners, and Isracard. The plugin was developed by [Allpay Payment Service](https://www.allpay.co.il/).
    1212
    1313== Description ==
    14 The plugin allows you to accept payments online from all over the world (except for the Russian Federation) with crediting to a bank account in Israel. Cards of major brands are supported: Visa, Mastercard, American Express, Diners, Discover and JCB.
     14The plugin allows you to accept online payments from all over the world (except for the Russian Federation) with funds credited to a bank account in Israel. Cards of major brands are supported: Visa, Mastercard, American Express, Diners, Discover, and JCB.
    1515
    16 It supports installments and digital invoices.
     16The plugin supports Apple Pay and Bit.
     17
     18It also supports installments and digital invoices.
    1719
    1820### Mobile App
    1921The Allpay mobile application allows you to manage transactions.
    2022
    21 ### Digital invoices
     23### Digital Invoices
    2224Automatic creation of digital invoices (kabala or hashbonit mas) through integration with a licensed service in Israel.
    2325
    2426### Security
    25 Payments made via secure channel and are safe for the client, as well as transparent and legal for your business.
     27Payments are made via a secure channel, ensuring safety for the customer and transparency and legality for your business.
    2628
    2729### Features
    28301. Low commission.
    29 2. Support by e-mail, Telegram and WhatsApp in English, Russian and Hebrew.
    30 3. Cards Visa, Mastercard, American Express, Diners, Isracard, JCB.
    31 4. Payments from all over the world (except for the Russian Federation).
    32 5. Installments.
    33 6. Digital invoices (receipts).
    34 7. Automatic currency converter.
    35 8. Mobile application for Android and iPhone.
    36 9. Payments pages languages: English, Hebrew and Russian.
     312. Support via email, Telegram, and WhatsApp in English, Russian, and Hebrew.
     323. Supported cards: Visa, Mastercard, American Express, Diners, Isracard, JCB.
     334. Fast payment buttons for Apple Pay and Bit.
     345. Payments from all over the world (except for the Russian Federation).
     356. Installments (tashlumim).
     367. Integration with digital invoices (receipts).
     378. Automatic currency conversion.
     389. Mobile application for Android and iPhone.
     3910. Payment page available in English, Hebrew, Russian, and Arabic.
     4011. Your logo on the payment page.
    3741
    3842== Screenshots ==
     
    4246
    4347== Installation ==
    44 1. [Sign up](https://www.allpay.co.il/signup) at Allpay site.
    45 2. In your Allpay account, go to Settings > API Integrations and click the Create Login/Key pair button.
    46 3. Copy & Paste the Login and Key in to the settings of the Allpay plugin.
     481. [Sign up](https://www.allpay.co.il/signup) on the Allpay website.
     492. In your Allpay account, go to Settings > API Integrations and click the "Create Login/Key Pair" button.
     503. Copy and paste the Login and Key into the settings of the Allpay plugin.
    47514. Done.
    4852
    49 [Watch video instruction](https://www.allpay.co.il/integrations/wordpress#video)
     53[Watch video instructions](https://www.allpay.co.il/integrations/wordpress#video)
    5054
    5155== Frequently Asked Questions ==
    5256= What are the onboarding requirements? =
    53 Your business must be registered in Israel. For example, Osek Patur/Murshe (private entrepreneur) or Hevra Baam (LTD).
     57Your business must be registered in Israel. For example, as an Osek Patur/Murshe (private entrepreneur) or Hevra Baam (LTD).
    5458
    55 = How fast is the onboarding? =
    56 The same day.
     59= How fast is the onboarding process? =
     60Same day.
    5761
    58 = How frequent are funds credited to the bank account? =
    59 Every 6th day of month.
     62= How often are funds credited to the bank account? =
     63On the 6th day of each month, with an option for weekly credits.
    6064
    6165== Changelog ==
     66= 1.1.1 - 20TH FEBRUARY 2025 =
     67* Fix: VAT calculation.
     68
    6269= 1.1.0 - 6TH NOVEMBER 2024 =
    63 * New: Support of HPOS
    64 * New: Adapted to new WooCommerce checkout page
    65 * Fix: SSL error
    66 * Improvement: Plugin sends to Allpay full list of products so they can be included in receipt
     70* New: Support for HPOS.
     71* New: Adapted to the new WooCommerce checkout page.
     72* Fix: SSL error.
     73* Improvement: The plugin now sends Allpay a full list of products so they can be included in the receipt.
    6774
    6875= 1.0.4 - MONDAY, 25TH DECEMBER 2023 =
    69 * New: Added payment page language support for ENG, HEB and RUS
    70 * Fix: Payment error for logged in users on some WP versions
    71 * Improvement: Aligned with new Allpay payment page
     76* New: Added payment page language support for ENG, HEB, and RUS.
     77* Fix: Payment error for logged-in users on some WP versions.
     78* Improvement: Aligned with the new Allpay payment page.
    7279
    7380= 1.0.2 - THURSDAY, 10TH AUGUST 2023 =
    74 * Improvement: Tested with Wordpress v6.3
     81* Improvement: Tested with WordPress v6.3.
Note: See TracChangeset for help on using the changeset viewer.