uili
Forum Replies Created
-
Forum: Plugins
In reply to: [Claudio Sanches - PagSeguro for WooCommerce] Compras Canceladas – 500Por aqui fugimos hoje do pagseguro já que não tivemos retorno por 1 semana e fizemos pelo Asaas (link com bônus). Taxas menores, atendimento rapidíssimo e muito amigável, aprovação para conta jurídica rápida, integração com crédito, boleto e pix, inclusive com o woocommerce subscription para recorrência. Chega de stress por aqui e vendas retornaram ao normal.
- This reply was modified 3 years, 3 months ago by uili.
Forum: Plugins
In reply to: [Claudio Sanches - PagSeguro for WooCommerce] Compras Canceladas – 500@adrianovarlotta Você chegou a fazer algo para voltar ao normal ou simplesmente voltou do nada? aqui continua com o mesmo problema.
Forum: Plugins
In reply to: [Claudio Sanches - PagSeguro for WooCommerce] Compras Canceladas – 500Faz uns 3 dias que todas as compras com cartão tb pararam de funcionar, após o cliente efetuar o pagamento o pagseguro já torna como cancelado, eis o log:
02-03-2023 @ 16:58:47 - PagSeguro payment status for order 3222 is: 7 02-03-2023 @ 16:58:48 - Checking IPN request... 02-03-2023 @ 16:58:48 - PagSeguro IPN is valid! The return is: SimpleXMLElement Object ( [date] => 2023-02-03T16:58:44.000-03:00 [code] => 35B23D2A-B2E6-41FB-A82B-D728878A9593 [reference] => eft-3222 [type] => 1 [status] => 7 [cancellationSource] => INTERNAL [lastEventDate] => 2023-02-03T16:58:47.000-03:00 [paymentMethod] => SimpleXMLElement Object ( [type] => 1 [code] => 101 )na documentação da API do pagseguro consta que o erro é interno do pagseguro.
Forum: Plugins
In reply to: [LiteSpeed Cache] ESI block not showing upWell, I found out that it only works with LiteSpeed Server Enterprise right after I opened this topic. So I even managed to get it working after moving the installation to a LiteSpeed Server but the site ended up being very slow with the same settings used in OpenLiteSpeed, perhaps due to lack of knowledge and familiarity with CyberPanel. So I ended up changing my plugin to work with Cookies instead of ESI and stick with OpenLiteSpeed.
Awesomee!!
Thanks, you rock!This is my function so far and working as espected:
function set_rankmath_redirection($source,$target,$category){ //prepare the source $sources[] = [ 'pattern' => $source, 'comparison' => 'exact' ]; $rank_redirect = [ 'id' => '', 'sources' => $sources, 'url_to' => $target, 'header_code' => '301', 'status' => 'active' ]; //check if source exists $matched = \RankMath\Redirections\DB::match_redirections_source( $source ); if ( $matched ) { //add the id to update $rank_redirect['id'] = $matched[0]['id']; \RankMath\Redirections\DB::update($rank_redirect); } else{ //else just create \RankMath\Redirections\DB::add($rank_redirect); } //add category to the redirection id $getID = \RankMath\Redirections\DB::match_redirections_source( $source ); $rankID = $getID[0]['id']; wp_set_object_terms( $rankID, $category, 'rank_math_redirection_category' ); }Was looking for something like this for Yoast:
https://gist.github.com/joshuadavidnelson/3b320988859efc054d0f7ec5aba61519
Forum: Plugins
In reply to: [Super Progressive Web Apps] Error when auditiog page with LighthouseThanks that fixed for me!
Forum: Plugins
In reply to: [Super Progressive Web Apps] Error when auditiog page with LighthouseSure, this is the page in question: https://hml.lareservafazenda.com/
thanks!
Forum: Plugins
In reply to: [IUGU for WooCommerce] Problemas documentados e não resolvidos pela IuguConseguiu solucionar?
Mesmos problemas por aqui e para complementar sua lista:3) Ao reembolsar pela iugu por conta da cobrança indevida a assinatura é cancelada, dai para reverter o status somente mudando manualmente pelo banco de dados.
4) Faltando gestão dos cartões salvos no painel do cliente, pois mesmo realizando uma alteração de cartão, além de executar uma cobrança indevida como relatado anteriormente, nas próximas cobranças sempre é cobrado do primeiro cartão cadastrado.I get the same problem, and would like to use remove_action, how can we do this for that same example:
remove_action('dokan_dashboard_right_widgets', array(Dokan_Template_Dashboard::init(), 'get_sales_report_chart_widget'), 10 );Forum: Plugins
In reply to: [WebP Express] bug in bulk convertsame in here, got any fix?
puts, acabo de descobrir que a chave de api estava errada na forma de pagamento por boleto, por isso não gerava o pdf.. agora resolvido por aqui!
absestou tendo esse mesmo problema, conseguiu resolver?
Forum: Plugins
In reply to: [Contact form 7 TO API] conditional API call…im looking for the same answer, did you find a way?
Forum: Plugins
In reply to: [Redirection] Redirect with custom parameterright, actually im not that good with php, but i just found out that we can use Dynamic URL Data just like %userid% and stuffs, so i added one more inside your plugin, in function replace_special_tags() like:
$date = date('Y-m-d'); $url = str_replace( '%date%', isset( $date ) ? $date : '', $url );turning to this:
public function replace_special_tags( $url ) { $date = date('Y-m-d'); $url = str_replace( '%date%', isset( $date ) ? $date : '', $url ); if ( is_numeric( $url ) ) { $url = get_permalink( $url ); } else { $user = wp_get_current_user(); if ( ! empty( $user ) ) { $url = str_replace( '%userid%', $user->ID, $url ); $url = str_replace( '%userlogin%', isset( $user->user_login ) ? $user->user_login : '', $url ); $url = str_replace( '%userurl%', isset( $user->user_url ) ? $user->user_url : '', $url ); } } return $url; }And worked just how i wanted, but is there a way to add this in functions.php instead moding your plugin, so i dont loose this in next update? How can i use your hooks to achieve this?
thanks!