Skip to content

Conversation

@armando-rodriguez-cko
Copy link
Contributor

This pull request introduces enhancements to the payments processing system with new support for affiliate tracking and expanded product categorization, alongside a minor formatting update in the test suite. The most significant changes are the addition of affiliate fields to payment settings, new product type and subtype fields, and the introduction of a dedicated class for product subtypes.

Affiliate tracking enhancements:

  • Added affiliate_id and affiliate_url fields to the ProcessingSettings class to enable affiliate tracking for payment processing.

Product categorization improvements:

  • Added type and sub_type fields to the Product class, allowing products to be classified by type and subtype for more granular payment handling.
  • Introduced the new ProductSubType class, providing static members for supported subtypes such as blockchain, cbdc, cryptocurrency, nft, and stablecoin.

Test suite update:

  • Reformatted a line in shouldSubmitPaymentSession() for improved readability without changing the test logic.

…and sub_type to Product, and create ProductSubType class
@sonarqubecloud
Copy link

@armando-rodriguez-cko armando-rodriguez-cko merged commit 7fc12d9 into master Dec 4, 2025
6 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/add-affiliate_id-and-affiliate_url-to-ProcessingSettings-type-and-sub_type-to-Product-and-create-ProductSubType-class branch December 4, 2025 11:11
armando-rodriguez-cko added a commit that referenced this pull request Dec 4, 2025
- feat: add affiliate_id and affiliate_url to ProcessingSettings, type and sub_type to Product, and create ProductSubType class (#294)
david-ruiz-cko pushed a commit that referenced this pull request Dec 4, 2025
- feat: add affiliate_id and affiliate_url to ProcessingSettings, type and sub_type to Product, and create ProductSubType class (#294)
david-ruiz-cko pushed a commit that referenced this pull request Dec 11, 2025
…and sub_type to Product, and create ProductSubType class (#294)
david-ruiz-cko pushed a commit that referenced this pull request Dec 11, 2025
- feat: add affiliate_id and affiliate_url to ProcessingSettings, type and sub_type to Product, and create ProductSubType class (#294)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants