Releases: chargebee/chargebee-php
Releases · chargebee/chargebee-php
v4.13.0
v4.13.0 (2025-12-30)
New Attributes:
- retry_engine has been added to Invoice#DunningAttempt.
New Endpoint:
- move action has been added to ItemPrice.
New Parameters:
- exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
- variant_id has been added to ItemPrice#MoveInputParam.
- custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
- custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
New Enums:
- ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
- KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
- PAY_BY_BANK has been added to PaymentMethodTypeEnum.
- TRUSTLY has been added to PaymentMethodTypeEnum.
- STABLECOIN has been added to PaymentMethodTypeEnum.
v3.51.0
v3.51.0 (2025-12-30)
New Attributes:
- retry_engine has been added to Invoice#DunningAttempt.
New Endpoint:
- move action has been added to ItemPrice.
New Parameters:
- exclude_tax_type has been added to Estimate#RenewalEstimateInputParam.
- variant_id has been added to ItemPrice#MoveInputParam.
- custom has been added to PricingPageSession#CreateForNewSubscriptionInputParam.
- custom has been added to PricingPageSession#CreateForExistingSubscriptionInputParam.
New Enums:
- ELECTRONIC_PAYMENT_STANDARD has been added to PaymentMethodTypeEnum.
- KBC_PAYMENT_BUTTON has been added to PaymentMethodTypeEnum.
- PAY_BY_BANK has been added to PaymentMethodTypeEnum.
- TRUSTLY has been added to PaymentMethodTypeEnum.
- STABLECOIN has been added to PaymentMethodTypeEnum.
v4.12.1
v4.12.0
New Resources:
- Einvoice has been added.
- QuotedDeltaRamp has been added.
New Attributes:
- line_items_next_offset has been added to CreditNote.
- line_items_next_offset has been added to Invoice.
- credit_lines has been added to SalesOrder.
- billable_unit_price has been added to SalesOrder#LineItem.
- billable_quantity has been added to SalesOrder#LineItem.
- billable_amount has been added to SalesOrder#LineItem.
New Endpoint:
- move has been added to ItemPrice.
New Parameters:
- line_items_limit has been added to CreditNote#RetrieveRequest.
- line_items_offset has been added to CreditNote#RetrieveRequest.
- line_items_limit has been added to Invoice#RetrieveRequest.
- line_items_offset has been added to Invoice#RetrieveRequest.
- item_tiers has been added to Estimate#GiftSubscriptionForItemsRequest.
- unit_price has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- unit_price_in_decimal has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- item_tiers has been added to Gift#CreateForItemsRequest.
- meta_data has been added to Gift#CreateForItemsRequest.
- unit_price has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- unit_price_in_decimal has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- item_tiers has been added to HostedPage#CheckoutGiftForItemsRequest.
- unit_price has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- unit_price_in_decimal has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- auto_select_local_currency has been added to PricingPageSession#CreateForNewSubscriptionRequest.
New Enums:
- EZIDEBIT has been added to GatewayEnum.
- BUSINESS_RULE has been added to EntityTypeEnum.
- RULESET has been added to EntityTypeEnum.
v3.50.0
New Resources:
- Einvoice has been added.
- QuotedDeltaRamp has been added.
New Attributes:
- line_items_next_offset has been added to CreditNote.
- line_items_next_offset has been added to Invoice.
- credit_lines has been added to SalesOrder.
- billable_unit_price has been added to SalesOrder#LineItem.
- billable_quantity has been added to SalesOrder#LineItem.
- billable_amount has been added to SalesOrder#LineItem.
New Endpoint:
- move has been added to ItemPrice.
New Parameters:
- line_items_limit has been added to CreditNote#RetrieveRequest.
- line_items_offset has been added to CreditNote#RetrieveRequest.
- line_items_limit has been added to Invoice#RetrieveRequest.
- line_items_offset has been added to Invoice#RetrieveRequest.
- item_tiers has been added to Estimate#GiftSubscriptionForItemsRequest.
- unit_price has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- unit_price_in_decimal has been added to Estimate#SubscriptionItems#GiftSubscriptionForItemsRequest.
- item_tiers has been added to Gift#CreateForItemsRequest.
- meta_data has been added to Gift#CreateForItemsRequest.
- unit_price has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- unit_price_in_decimal has been added to Gift#SubscriptionItems#CreateForItemsRequest.
- item_tiers has been added to HostedPage#CheckoutGiftForItemsRequest.
- unit_price has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- unit_price_in_decimal has been added to HostedPage#SubscriptionItems#CheckoutGiftForItemsRequest.
- auto_select_local_currency has been added to PricingPageSession#CreateForNewSubscriptionRequest.
New Enums:
- EZIDEBIT has been added to GatewayEnum.
- BUSINESS_RULE has been added to EntityTypeEnum.
- RULESET has been added to EntityTypeEnum.
v4.11.0
New Attributes:
- reference_transactions has been added to Invoice.
- payment_attempts[] has been added to PaymentIntent.
- checkout_details has been added to PaymentIntent#PaymentAttempt.
- line_item_id has been added to CreditNoteEstimate#Discount.
- line_item_id has been added to CreditNote#Discount.
- line_item_id has been added to InvoiceEstimate#Discount.
- line_item_id has been added to Invoice#Discount.
- line_item_id has been added to InvoiceEstimate#Discount.
- line_item_id has been added to Quote#Discount.
- line_item_id has been added to QuoteLineGroup#Discount.
Modified Attributes:
- omnichannel_subscription_item_offers has been made optional attribute from required attribute.
New Input Parameters:
- discount[line_item_id] has been added to CreditNote#ImportCreditNoteRequest.
- discount[line_item_id] has been added to CreditNote#ImportInvoiceRequest.
New Enums:
- OMNICHANNEL_TRANSACTION_CREATED has been added to EventTypeEnum.
- DEUTSCHE_BANK has been added to Gateway.
v3.49.0
New Attributes:
- reference_transactions has been added to Invoice.
- payment_attempts[] has been added to PaymentIntent.
- checkout_details has been added to PaymentIntent#PaymentAttempt.
- line_item_id has been added to CreditNoteEstimate#Discount.
- line_item_id has been added to CreditNote#Discount.
- line_item_id has been added to InvoiceEstimate#Discount.
- line_item_id has been added to Invoice#Discount.
- line_item_id has been added to InvoiceEstimate#Discount.
- line_item_id has been added to Quote#Discount.
- line_item_id has been added to QuoteLineGroup#Discount.
Modified Attributes:
- omnichannel_subscription_item_offers has been made optional attribute from required attribute.
New Input Parameters:
- discount[line_item_id] has been added to CreditNote#ImportCreditNoteRequest.
- discount[line_item_id] has been added to CreditNote#ImportInvoiceRequest.
New Enums:
- OMNICHANNEL_TRANSACTION_CREATED has been added to EventTypeEnum.
- DEUTSCHE_BANK has been added to Gateway.
v4.10.0
New Resources:
- PersonalizedOffer has been added.
- OfferFulfillment has been added.
- OfferEvent has been added.
- OmnichannelSubscriptionItemOffer has been added.
New Attributes:
- business_entity_id has been added to Customer#Balance.
- processor_advice_code has been added to GatewayErrorDetail.
- processor_advice_code has been added to Transaction#GatewayErrorDetail.
- omnichannel_subscription_item_offers has been added to OmnichannelSubscriptionItem.
- linked_omnichannel_subscriptions has been added to OmnichannelTransaction.
- linked_omnichannel_one_time_orders has been added to OmnichannelTransaction.
- contract_term has been added to Ramp.
- charge_once has been added to Ramp#ItemsToAdd.
- charge_on_option has been added to Ramp#ItemsToAdd.
- charge_on_event has been added to Ramp#ItemsToAdd.
- charge_once has been added to Ramp#ItemsToUpdate.
- charge_on_option has been added to Ramp#ItemsToUpdate.
- charge_on_event has been added to Ramp#ItemsToUpdate.
- error_file_path has been added to UsageFile.
- error_file_url has been added to UsageFile.
New Endpoint:
- move has been added to OmnichannelSubscription.
New Parameters:
- offline_payment_method has been added to Estimate#CreateSubItemEstimateRequest.
- offline_payment_method has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
- offline_payment_method has been added to HostedPage#CheckoutNewForItemsRequest.
- offline_payment_method has been added to Quote#SubscriptionCreateSubItemsForCustomerQuoteRequest.
- offline_payment_method has been added to Quote#SubscriptionEditCreateSubCustomerQuoteForItemsRequest.
- contract_term has been added to Ramp#CreateForSubscriptionRequest.
- items_to_add has been added to Ramp#CreateForSubscriptionRequest.
- items_to_update has been added to Ramp#CreateForSubscriptionRequest.
- contract_term has been added to Ramp#UpdateRequest.
- items_to_add has been added to Ramp#UpdateRequest.
- items_to_update has been added to Ramp#UpdateRequest.
New Enums:
- DUNNING_UPDATED has been added EventType.
- OMNICHANNEL_SUBSCRIPTION_MOVED_IN has been added to EventType.
Bug Fixes:
- currency list action has been marked as ListRequest.
- index has been removed from CreditNote#ShippingAddress.
- index has been removed from Invoice#ShippingAddress
- index has been removed from Order#ShippingAddress.
- index has been removed from Quote#ShippingAddress.
- index has been removed from SubscriptionEstimate#ShippingAddress.
- index has been removed from Subscription#ShippingAddress.
v3.48.0
New Resources:
- PersonalizedOffer has been added.
- OfferFulfillment has been added.
- OfferEvent has been added.
- OmnichannelSubscriptionItemOffer has been added.
New Attributes:
- business_entity_id has been added to Customer#Balance.
- processor_advice_code has been added to GatewayErrorDetail.
- processor_advice_code has been added to Transaction#GatewayErrorDetail.
- omnichannel_subscription_item_offers has been added to OmnichannelSubscriptionItem.
- linked_omnichannel_subscriptions has been added to OmnichannelTransaction.
- linked_omnichannel_one_time_orders has been added to OmnichannelTransaction.
- contract_term has been added to Ramp.
- charge_once has been added to Ramp#ItemsToAdd.
- charge_on_option has been added to Ramp#ItemsToAdd.
- charge_on_event has been added to Ramp#ItemsToAdd.
- charge_once has been added to Ramp#ItemsToUpdate.
- charge_on_option has been added to Ramp#ItemsToUpdate.
- charge_on_event has been added to Ramp#ItemsToUpdate.
- error_file_path has been added to UsageFile.
- error_file_url has been added to UsageFile.
New Endpoint:
- move has been added to OmnichannelSubscription.
New Parameters:
- offline_payment_method has been added to Estimate#CreateSubItemEstimateRequest.
- offline_payment_method has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
- offline_payment_method has been added to HostedPage#CheckoutNewForItemsRequest.
- offline_payment_method has been added to Quote#SubscriptionCreateSubItemsForCustomerQuoteRequest.
- offline_payment_method has been added to Quote#SubscriptionEditCreateSubCustomerQuoteForItemsRequest.
- contract_term has been added to Ramp#CreateForSubscriptionRequest.
- items_to_add has been added to Ramp#CreateForSubscriptionRequest.
- items_to_update has been added to Ramp#CreateForSubscriptionRequest.
- contract_term has been added to Ramp#UpdateRequest.
- items_to_add has been added to Ramp#UpdateRequest.
- items_to_update has been added to Ramp#UpdateRequest.
New Enums:
- DUNNING_UPDATED has been added EventType.
- OMNICHANNEL_SUBSCRIPTION_MOVED_IN has been added to EventType.
Bug Fixes:
- currency list action has been marked as ListRequest.
- index has been removed from CreditNote#ShippingAddress.
- index has been removed from Invoice#ShippingAddress
- index has been removed from Order#ShippingAddress.
- index has been removed from Quote#ShippingAddress.
- index has been removed from SubscriptionEstimate#ShippingAddress.
- index has been removed from Subscription#ShippingAddress.
v4.9.0
v4.9.0 (2025-09-03)
Bug Fixes:
- Fixed an issue where
method_existsfailed onnullobjects, which caused errors when extracting status codes. - Corrected parameter parsing: action JSON keys use
camelCase, but the parser did not account for this, leading to incorrect comparisons.
Enhancements:
- List object classes have been moved to separate files to align with
PSR-4directory standards. - Added
@throwsannotations in PHPDocs for all relevant exceptions. - Added unit tests form url for encoder.