Changeset 3705058
- Timestamp:
- 09/21/2026 07:43:18 AM (5 weeks ago)
- Location:
- briqpay-for-woocommerce
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.17 (copied) (copied from briqpay-for-woocommerce/trunk )
-
tags/1.1.17/assets/css/briqpay-checkout.css (modified) (1 diff)
-
tags/1.1.17/briqpay-for-woocommerce.php (modified) (2 diffs)
-
tags/1.1.17/includes/class-checkout-handler.php (modified) (1 diff)
-
tags/1.1.17/readme.txt (modified) (2 diffs)
-
trunk/assets/css/briqpay-checkout.css (modified) (1 diff)
-
trunk/briqpay-for-woocommerce.php (modified) (2 diffs)
-
trunk/includes/class-checkout-handler.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
briqpay-for-woocommerce/tags/1.1.17/assets/css/briqpay-checkout.css
r3635268 r3705058 44 44 } 45 45 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 */ 61 body.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 68 body.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 */ 83 body.briqpay-only-gateway #briqpay-iframe-container { 84 padding-top: 0; 85 } 86 87 body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child { 88 margin-bottom: 0; 89 } 90 46 91 /* Checkout Overlay */ 47 92 #briqpay-overlay { -
briqpay-for-woocommerce/tags/1.1.17/briqpay-for-woocommerce.php
r3704959 r3705058 4 4 * Plugin URI: https://github.com/Briqpay-Extensions/briqpay-for-woocommerce 5 5 * Description: Briqpay connects multiple payment providers like Adyen, Stripe, PayPal, and Klarna in one integration. 6 * Version: 1.1.1 66 * Version: 1.1.17 7 7 * Author: Briqpay 8 8 * Author URI: https://briqpay.com … … 23 23 24 24 // Define plugin constants 25 define('BRIQPAY_WC_VERSION', '1.1.1 6');25 define('BRIQPAY_WC_VERSION', '1.1.17'); 26 26 define('BRIQPAY_WC_PLUGIN_FILE', __FILE__); 27 27 define('BRIQPAY_WC_PATH', plugin_dir_path(__FILE__)); -
briqpay-for-woocommerce/tags/1.1.17/includes/class-checkout-handler.php
r3699680 r3705058 116 116 padding: 0 !important; 117 117 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; 118 146 } 119 147 -
briqpay-for-woocommerce/tags/1.1.17/readme.txt
r3704959 r3705058 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.1.1 68 Stable tag: 1.1.17 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 98 98 == 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. 99 102 100 103 = 1.1.16 = -
briqpay-for-woocommerce/trunk/assets/css/briqpay-checkout.css
r3635268 r3705058 44 44 } 45 45 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 */ 61 body.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 68 body.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 */ 83 body.briqpay-only-gateway #briqpay-iframe-container { 84 padding-top: 0; 85 } 86 87 body.briqpay-only-gateway #briqpay-iframe-container > #briqpay:last-child { 88 margin-bottom: 0; 89 } 90 46 91 /* Checkout Overlay */ 47 92 #briqpay-overlay { -
briqpay-for-woocommerce/trunk/briqpay-for-woocommerce.php
r3704959 r3705058 4 4 * Plugin URI: https://github.com/Briqpay-Extensions/briqpay-for-woocommerce 5 5 * Description: Briqpay connects multiple payment providers like Adyen, Stripe, PayPal, and Klarna in one integration. 6 * Version: 1.1.1 66 * Version: 1.1.17 7 7 * Author: Briqpay 8 8 * Author URI: https://briqpay.com … … 23 23 24 24 // Define plugin constants 25 define('BRIQPAY_WC_VERSION', '1.1.1 6');25 define('BRIQPAY_WC_VERSION', '1.1.17'); 26 26 define('BRIQPAY_WC_PLUGIN_FILE', __FILE__); 27 27 define('BRIQPAY_WC_PATH', plugin_dir_path(__FILE__)); -
briqpay-for-woocommerce/trunk/includes/class-checkout-handler.php
r3699680 r3705058 116 116 padding: 0 !important; 117 117 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; 118 146 } 119 147 -
briqpay-for-woocommerce/trunk/readme.txt
r3704959 r3705058 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.1.1 68 Stable tag: 1.1.17 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 98 98 == 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. 99 102 100 103 = 1.1.16 =
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)