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

Fix #204 #209

Merged
merged 3 commits into from
Feb 10, 2024
Merged

Fix #204 #209

merged 3 commits into from
Feb 10, 2024

Conversation

nidhitatosaniya
Copy link
Contributor

Fixed fees issue with 'Alma - Pay in installments or later for WooCommerce' payments. Fix #204

Fixed fees issue with 'Alma - Pay in installments or later for WooCommerce' payments.
Fix #204
@nidhitatosaniya nidhitatosaniya added this to the next milestone milestone Dec 12, 2023
@nidhitatosaniya nidhitatosaniya self-assigned this Dec 12, 2023
Copy link
Collaborator

@tyche-bot tyche-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

Tyche Softwares has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 2 errors

⚠️ 1 warning


Powered by Tyche Softwares

@@ -403,6 +403,9 @@ public function add_gateways_fees( $the_cart ) {
if ( strpos( $current_gateway, $klarna_payment ) !== false ) {
$current_gateway = 'klarna_payments';
}
if ( strpos( $current_gateway, 'alma_in_page' ) !== false ) {
$current_gateway = 'alma';
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (Universal.WhiteSpace.PrecisionAlignment.Found).

@@ -403,6 +403,9 @@
if ( strpos( $current_gateway, $klarna_payment ) !== false ) {
$current_gateway = 'klarna_payments';
}
if ( strpos( $current_gateway, 'alma_in_page' ) !== false ) {
$current_gateway = 'alma';
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed).

@@ -403,6 +403,9 @@
if ( strpos( $current_gateway, $klarna_payment ) !== false ) {
$current_gateway = 'klarna_payments';
}
if ( strpos( $current_gateway, 'alma_in_page' ) !== false ) {
$current_gateway = 'alma';
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 3 tabs, found 1 tabs and 2 spaces (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

@tyche-bot tyche-bot dismissed their stale review February 10, 2024 05:56

Dismissing review as all inline comments are obsolete by now

@tyche-bot
Copy link
Collaborator

Scanning latest commit did not yield any new issues. Please have a look at older feedback still existing (commit-ID: ae0555c)


Powered by Tyche Softwares

@nidhitatosaniya nidhitatosaniya merged commit 2ea7294 into master Feb 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatibility with the Almapay payment plugin
3 participants