Plugin Directory

Changeset 3705058


Ignore:
Timestamp:
09/21/2026 07:43:18 AM (5 weeks ago)
Author:
briqpay
Message:

Update to version 1.1.17 from GitHub

Location:
briqpay-for-woocommerce
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • briqpay-for-woocommerce/tags/1.1.17/assets/css/briqpay-checkout.css

    r3635268 r3705058  
    4444}
    4545
     46/*
     47 * Strip WooCommerce's own payment-box chrome when Briqpay is the sole gateway.
     48 *
     49 * WooCommerce draws div.payment_box as a lilac panel with a ::before triangle
     50 * pointing up at the payment method's radio button. We hide that radio above,
     51 * so the triangle ends up pointing at nothing - it reads as a stray arrow in
     52 * the top-left corner - and the panel wraps the iframe in a second, unthemed
     53 * box. Its asymmetric padding (1em top, 1em bottom plus whatever bottom margin
     54 * the theme gives #briqpay) also leaves the iframe sitting visibly high inside
     55 * it.
     56 *
     57 * Only when Briqpay is the only gateway: with a radio list to point at, the
     58 * triangle and the panel are doing their job and WooCommerce's own styling
     59 * should stand.
     60 */
     61body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay {
     62    background: none;
     63    padding: 0;
     64    margin: 0;
     65    border-radius: 0;
     66}
     67
     68body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay::before {
     69    display: none;
     70}
     71
     72/*
     73 * With the panel gone, the only thing framing the checkout is the theme's own
     74 * layout - so the plugin must not leave uneven spacing of its own inside it.
     75 *
     76 * The container's top padding was breathing room under the payment method's
     77 * label, which is hidden in this case. The bottom margin is whatever the theme
     78 * puts on #briqpay to separate it from what follows; nothing follows it here,
     79 * so it only pushes the checkout up inside the box. Between them they left the
     80 * iframe sitting visibly high. Both are ordinary rules, so a theme that wants
     81 * either back can say so.
     82 */
     83body.briqpay-only-gateway #briqpay-iframe-container {
     84    padding-top: 0;
     85}
     86
     87body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child {
     88    margin-bottom: 0;
     89}
     90
    4691/* Checkout Overlay */
    4792#briqpay-overlay {
  • briqpay-for-woocommerce/tags/1.1.17/briqpay-for-woocommerce.php

    r3704959 r3705058  
    44 * Plugin URI: https://github.com/Briqpay-Extensions/briqpay-for-woocommerce
    55 * Description: Briqpay connects multiple payment providers like Adyen, Stripe, PayPal, and Klarna in one integration.
    6  * Version: 1.1.16
     6 * Version: 1.1.17
    77 * Author: Briqpay
    88 * Author URI: https://briqpay.com
    … …  
    2323
    2424// Define plugin constants
    25 define('BRIQPAY_WC_VERSION', '1.1.16');
     25define('BRIQPAY_WC_VERSION', '1.1.17');
    2626define('BRIQPAY_WC_PLUGIN_FILE', __FILE__);
    2727define('BRIQPAY_WC_PATH', plugin_dir_path(__FILE__));
  • briqpay-for-woocommerce/tags/1.1.17/includes/class-checkout-handler.php

    r3699680 r3705058  
    116116                padding: 0 !important;
    117117                margin: 0 !important;
     118            }
     119
     120            /* Strip the lilac payment_box panel WooCommerce draws, and the ::before
     121               triangle that points up at the radio button we just hid. With no radio
     122               to point at, the triangle reads as a stray arrow above the top-left
     123               corner of the iframe, and the panel is a second, unthemed box around
     124               the checkout. Only when Briqpay is the sole gateway - a real radio list
     125               needs both. */
     126            body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay {
     127                background: none;
     128                padding: 0;
     129                margin: 0;
     130                border-radius: 0;
     131            }
     132            body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay::before {
     133                display: none;
     134            }
     135
     136            /* With the panel gone the theme owns the framing, so the plugin must not
     137               leave uneven spacing of its own inside it: the container top padding was
     138               breathing room under the label we hide, and the bottom margin is whatever
     139               the theme puts on #briqpay to separate it from what follows - nothing
     140               follows it here. Together they left the iframe sitting visibly high. */
     141            body.briqpay-only-gateway #briqpay-iframe-container {
     142                padding-top: 0;
     143            }
     144            body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child {
     145                margin-bottom: 0;
    118146            }
    119147
  • briqpay-for-woocommerce/tags/1.1.17/readme.txt

    r3704959 r3705058  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.1.16
     8Stable tag: 1.1.17
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9797
    9898== Changelog ==
     99
     100= 1.1.17 =
     101* Fix: On stores where Briqpay is the only payment method, the checkout sat inside WooCommerce's own lilac payment panel with a small arrow floating above its top-left corner. That arrow is WooCommerce pointing at the payment method's radio button - which this plugin hides when there is only one method to choose, leaving it pointing at nothing - and the panel itself is a second, unstyled box around a checkout the theme has already styled. Its padding is also uneven once the theme adds spacing of its own below the iframe, which is what made the payment window look like it was sitting too high in the box. Both are now removed for that case, so the Briqpay checkout sits directly in the theme's own layout. Stores offering other payment methods alongside Briqpay are unchanged: there the arrow and the panel still do their job. A theme can put either back with a rule of its own.
    99102
    100103= 1.1.16 =
  • briqpay-for-woocommerce/trunk/assets/css/briqpay-checkout.css

    r3635268 r3705058  
    4444}
    4545
     46/*
     47 * Strip WooCommerce's own payment-box chrome when Briqpay is the sole gateway.
     48 *
     49 * WooCommerce draws div.payment_box as a lilac panel with a ::before triangle
     50 * pointing up at the payment method's radio button. We hide that radio above,
     51 * so the triangle ends up pointing at nothing - it reads as a stray arrow in
     52 * the top-left corner - and the panel wraps the iframe in a second, unthemed
     53 * box. Its asymmetric padding (1em top, 1em bottom plus whatever bottom margin
     54 * the theme gives #briqpay) also leaves the iframe sitting visibly high inside
     55 * it.
     56 *
     57 * Only when Briqpay is the only gateway: with a radio list to point at, the
     58 * triangle and the panel are doing their job and WooCommerce's own styling
     59 * should stand.
     60 */
     61body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay {
     62    background: none;
     63    padding: 0;
     64    margin: 0;
     65    border-radius: 0;
     66}
     67
     68body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay::before {
     69    display: none;
     70}
     71
     72/*
     73 * With the panel gone, the only thing framing the checkout is the theme's own
     74 * layout - so the plugin must not leave uneven spacing of its own inside it.
     75 *
     76 * The container's top padding was breathing room under the payment method's
     77 * label, which is hidden in this case. The bottom margin is whatever the theme
     78 * puts on #briqpay to separate it from what follows; nothing follows it here,
     79 * so it only pushes the checkout up inside the box. Between them they left the
     80 * iframe sitting visibly high. Both are ordinary rules, so a theme that wants
     81 * either back can say so.
     82 */
     83body.briqpay-only-gateway #briqpay-iframe-container {
     84    padding-top: 0;
     85}
     86
     87body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child {
     88    margin-bottom: 0;
     89}
     90
    4691/* Checkout Overlay */
    4792#briqpay-overlay {
  • briqpay-for-woocommerce/trunk/briqpay-for-woocommerce.php

    r3704959 r3705058  
    44 * Plugin URI: https://github.com/Briqpay-Extensions/briqpay-for-woocommerce
    55 * Description: Briqpay connects multiple payment providers like Adyen, Stripe, PayPal, and Klarna in one integration.
    6  * Version: 1.1.16
     6 * Version: 1.1.17
    77 * Author: Briqpay
    88 * Author URI: https://briqpay.com
    … …  
    2323
    2424// Define plugin constants
    25 define('BRIQPAY_WC_VERSION', '1.1.16');
     25define('BRIQPAY_WC_VERSION', '1.1.17');
    2626define('BRIQPAY_WC_PLUGIN_FILE', __FILE__);
    2727define('BRIQPAY_WC_PATH', plugin_dir_path(__FILE__));
  • briqpay-for-woocommerce/trunk/includes/class-checkout-handler.php

    r3699680 r3705058  
    116116                padding: 0 !important;
    117117                margin: 0 !important;
     118            }
     119
     120            /* Strip the lilac payment_box panel WooCommerce draws, and the ::before
     121               triangle that points up at the radio button we just hid. With no radio
     122               to point at, the triangle reads as a stray arrow above the top-left
     123               corner of the iframe, and the panel is a second, unthemed box around
     124               the checkout. Only when Briqpay is the sole gateway - a real radio list
     125               needs both. */
     126            body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay {
     127                background: none;
     128                padding: 0;
     129                margin: 0;
     130                border-radius: 0;
     131            }
     132            body.briqpay-only-gateway #payment div.payment_box.payment_method_briqpay::before {
     133                display: none;
     134            }
     135
     136            /* With the panel gone the theme owns the framing, so the plugin must not
     137               leave uneven spacing of its own inside it: the container top padding was
     138               breathing room under the label we hide, and the bottom margin is whatever
     139               the theme puts on #briqpay to separate it from what follows - nothing
     140               follows it here. Together they left the iframe sitting visibly high. */
     141            body.briqpay-only-gateway #briqpay-iframe-container {
     142                padding-top: 0;
     143            }
     144            body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child {
     145                margin-bottom: 0;
    118146            }
    119147
  • briqpay-for-woocommerce/trunk/readme.txt

    r3704959 r3705058  
    66Tested up to: 7.1
    77Requires PHP: 7.4
    8 Stable tag: 1.1.16
     8Stable tag: 1.1.17
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9797
    9898== Changelog ==
     99
     100= 1.1.17 =
     101* Fix: On stores where Briqpay is the only payment method, the checkout sat inside WooCommerce's own lilac payment panel with a small arrow floating above its top-left corner. That arrow is WooCommerce pointing at the payment method's radio button - which this plugin hides when there is only one method to choose, leaving it pointing at nothing - and the panel itself is a second, unstyled box around a checkout the theme has already styled. Its padding is also uneven once the theme adds spacing of its own below the iframe, which is what made the payment window look like it was sitting too high in the box. Both are now removed for that case, so the Briqpay checkout sits directly in the theme's own layout. Stores offering other payment methods alongside Briqpay are unchanged: there the arrow and the panel still do their job. A theme can put either back with a rule of its own.
    99102
    100103= 1.1.16 =
Note: See TracChangeset for help on using the changeset viewer.