Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8.0 Correções de bugs e adição de compatibilidade com block-based checkout #48

Merged
merged 17 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,18 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Run composer install
uses: php-actions/composer@v6
with:
php_version: ${{ env.PHP_VERSION }}
working_dir: "."
args: --ignore-platform-reqs
command: install
dev: no

# Add plugin files to a root directory
- name: Make plugin root directory
run: "mkdir $PLUGIN_NAME && mv -t ./$PLUGIN_NAME ./languages ./resources ./includes *.txt *.php && find ./${{env.PLUGIN_NAME}} -type f -exec chmod 0644 {} + && find ./${{env.PLUGIN_NAME}} -type d -exec chmod 0755 {} + && ls -lah"
run: "mkdir $PLUGIN_NAME && mv -t ./$PLUGIN_NAME ./languages ./resources ./includes ./vendor *.txt *.php && find ./${{env.PLUGIN_NAME}} -type f -exec chmod 0644 {} + && find ./${{env.PLUGIN_NAME}} -type d -exec chmod 0755 {} + && ls -lah"

# Compact plugin as .zip
- name: Archive Release
Expand All @@ -36,7 +45,7 @@ jobs:
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: "1.7.0"
custom_tag: "1.8.0"

# Generate new release
- name: Generate new Release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/.devcontainer/devcontainer.json
node_modules
sftp.json
vendor
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.8.0 - 10/05/2024
* Adição de compatibilidade com block-based checkout;
* Adição de banner de hospedagem para Wordpress;
* Adição de campos obrigatórios para as credenciais de cartão de crédito e débito;
* Melhoria nos tratamentos de erros;

# 1.7.0 - 25/03/2024
* Correção de bug de carregamento de script do 3DS na opção cartão de débito;
* Adição de lógica para lidar com respostas da API quando o código de retorno é "GF";
Expand Down
9 changes: 8 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.5
Stable tag: 1.7.0
Stable tag: 1.8.0
Requires PHP: 7.2
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -72,6 +72,13 @@ Payment Gateway for Cielo API on WooCommerce plugin is dependent on WooCommerce

== Changelog ==

= 1.8.0 =
**10/05/2024**
* Added support for block-based checkout;
* Addition of hosting banner for Wordpress;
* Addition of mandatory fields for credit and debit card credentials;
* Improvement in error handling;

= 1.7.0 =
**25/03/2024**
* Fixed 3DS script loading bug in the debit card option;
Expand Down
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "lkn/wc-gateway-cielo",
"type": "project",
"license": "Proprietary",
"autoload": {
"psr-4": {
"Lkn\\WCCieloPaymentGateway\\Includes\\": "includes/"
}
},
"authors": [
{
"name": "Link Nacional",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require-dev": {
"phan/phan": "5.4.1"
},
"require": {}
}
Loading
Loading