Skip to content

[ECP-9078] Implement is_open_invoice payment method configuration field#2856

Merged
candemiralp merged 14 commits intomainfrom
ECP-9078
Feb 18, 2025
Merged

[ECP-9078] Implement is_open_invoice payment method configuration field#2856
candemiralp merged 14 commits intomainfrom
ECP-9078

Conversation

@candemiralp
Copy link
Contributor

@candemiralp candemiralp commented Jan 20, 2025

Description

The plugin uses a hardcoded list of tx_variants to identify open invoice payment methods. However, this approach is not scalable and not adhering the usage of separate payment methods. This PR implements a new payment method configuration field to determine whether if the payment method is open invoice or not.

This implementation now checks the configuration property is_open_invoice in config.xml instead of the hardcoded values.

Tested scenarios

  • Klarna payment and modification tests
  • Regular card payments

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

@candemiralp candemiralp merged commit 830d5e1 into main Feb 18, 2025
15 checks passed
@candemiralp candemiralp deleted the ECP-9078 branch February 18, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants