Skip to content

Conversation

@cb-karthikp
Copy link
Collaborator

@cb-karthikp cb-karthikp commented Feb 5, 2026

Adds customField() and customFields() builder methods to Subscription and Customer sub-resources, enabling custom fields (prefixed with cf_) in:

  • HostedPage: CheckoutNew, CheckoutNewForItems, CheckoutExisting, CheckoutExistingForItems, CheckoutGift, CheckoutOneTime, CheckoutOneTimeForItems
  • PricingPageSession: CreateForNewSubscription, CreateForExistingSubscription
  • Quote: CreateSubscriptionItemsForCustomer, EditCreateSubscriptionCustomerQuoteForItems, EditUpdateSubscriptionQuoteForItems, UpdateSubscriptionQuoteForItems
  • Subscription: Create, Import
  • Gift: Create

@snyk-io
Copy link

snyk-io bot commented Feb 5, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cb-karthikp cb-karthikp changed the title add custom field support on sub-resource Add custom field support for sub-resources Feb 5, 2026
@cb-karthikp cb-karthikp marked this pull request as ready for review February 5, 2026 10:50
@cb-karthikp cb-karthikp requested a review from cb-alish February 5, 2026 10:50
@cb-alish cb-alish merged commit fbf0db4 into v4 Feb 5, 2026
6 checks passed
@cb-alish cb-alish deleted the feat/custom-field-support-on-sub-resource branch February 5, 2026 10:51
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.

2 participants