Skip to content

Conversation

@armando-rodriguez-cko
Copy link
Contributor

This pull request introduces enhancements to the payment processing settings and product modeling in checkout_sdk/payments/payments.py. The main changes include support for affiliate tracking and improved categorization of products, especially those related to blockchain and cryptocurrencies.

Affiliate tracking additions:

  • Added affiliate_id and affiliate_url fields to the ProcessingSettings class to support affiliate tracking.

Product categorization improvements:

  • Introduced the ProductSubType enum with values for blockchain-related product types such as BLOCKCHAIN, CBDC, CRYPTOCURRENCY, NFT, and STABLECOIN.
  • Updated the Product class to include new fields: type (as a string) and sub_type (as a list of ProductSubType), allowing for more granular classification of products.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team November 27, 2025 13:00
@sonarqubecloud
Copy link

@armando-rodriguez-cko armando-rodriguez-cko merged commit c4f7ae5 into main Dec 4, 2025
4 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/add-affiliate-fields-and-product-subtypes-to-payment-model branch December 4, 2025 10:37
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