Skip to content

Commit

Permalink
Merge pull request #105 from LinkNacional/dev
Browse files Browse the repository at this point in the history
1.12.1 Correção de erros com 3DS 2.2
  • Loading branch information
emanuellopess authored Nov 4, 2024
2 parents 03951dc + 3d56d96 commit 4afeb84
Show file tree
Hide file tree
Showing 13 changed files with 1,103 additions and 588 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: "1.12.0"
custom_tag: "1.12.1"

# Generate new release
- name: Generate new Release
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.12.1 - 06/11/2024
* Adição de correções para transações autenticadas com 3DS 2.2

# 1.12.0 - 22/10/2024
* Adição de compatibilidade com novas funcionalidades do WooCommerce Cielo PRO.

Expand Down
6 changes: 5 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.linknacional.com.br/wordpress/woocommerce/cielo/
Tags: woocommerce, payment, paymethod, card, credit
Requires at least: 5.7
Tested up to: 6.6
Stable tag: 1.12.0
Stable tag: 1.12.1
Requires PHP: 7.2
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -93,6 +93,10 @@ Payment Gateway for Cielo API on WooCommerce plugin is dependent on WooCommerce
7. Debit card front page with payment fields.

== Changelog ==
= 1.12.1 =
**06/11/2024**
* Add fixes for 3DS 2.2 authentication.

= 1.12.0 =
**22/10/2024**
* Add compatibility with new WooCommerce Cielo PRO features.
Expand Down
2 changes: 1 addition & 1 deletion includes/LknWCGatewayCieloCredit.php
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ public static function lknGetCartTotal() {
$product = $cart_item['data'];
$total += $product->get_price() * $cart_item['quantity'];
}
return $total;
return number_format($total, 2, '', '');

return 0;
}
Expand Down
Loading

0 comments on commit 4afeb84

Please sign in to comment.