You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PagBank com PIX, Cartão de Crédito, Boleto, Recorrência + Envio Fácil e com Menos Taxas no PagSeguro.
@@ -239,6 +239,9 @@ A confirmação é exibida ainda na tela de sucesso, e pode opcionalmente dispar
239
239
Sim! Você pode [configurar descontos percentuais ou fixos](https://ajuda.pbintegracoes.com/hc/pt-br/articles/19945430928909-Oferecer-Desconto-Pix-e-Boleto) para PIX e Boleto diretamente nas configurações do plugin.
240
240
241
241
== Changelog ==
242
+
= 4.50.2 =
243
+
* Correção: erro fatal poderia ocorrer em versões do Woo anteriores a 7.1 ao verificarmos se o HPOS estava ativo.
244
+
242
245
= 4.50.1 =
243
246
* Removidas mensagens desnecessárias dos logs relacionados ao split de pagamentos e dokan que eram exibidas no log mesmo sem tais recursos estarem em uso/ativos
244
247
* Correção: em alguns cenários de race conditions, pedidos vindos de assinaturas poderiam ser gerados em duplicidade, especialmente em lojas que não configuraram o cron corretamente.
Copy file name to clipboardExpand all lines: rm-pagbank.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
* Plugin Name: PagBank Connect
12
12
* Plugin URI: https://pbintegracoes.com
13
13
* Description: Integra seu WooCommerce com as APIs PagSeguro v4 através da aplicação de Ricardo Martins (com descontos nas taxas oficiais), com suporte a PIX transparente e muito mais.
@@ -671,7 +671,7 @@ public static function checkPixOrderKeys()
671
671
672
672
//get the pix key from the last pix order
673
673
// Check if HPOS is enabled
674
-
if (wc_get_container()->get(\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class)->custom_orders_table_usage_is_enabled()) {
Copy file name to clipboardExpand all lines: src/Connect/Recurring.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1735,7 +1735,7 @@ protected function getUserRecurringOrders(int $userId = null)
1735
1735
{
1736
1736
$userId = $userId ?? get_current_user_id();
1737
1737
// Check if HPOS is enabled
1738
-
if (wc_get_container()->get(\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class)->custom_orders_table_usage_is_enabled()) {
1738
+
if (Functions::isHposEnabled()) {
1739
1739
returnwc_get_orders([
1740
1740
'customer_id' => $userId,
1741
1741
'limit' => -1,
@@ -1980,7 +1980,7 @@ public static function removeSubscriptionSandbox($orders)
1980
1980
*/
1981
1981
publicstaticfunctiongetSandboxInitialOrders()
1982
1982
{
1983
-
if (wc_get_container()->get(\Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController::class)->custom_orders_table_usage_is_enabled()) {
0 commit comments