Skip to content

Releases: chargebee/chargebee-ruby

v2.65.0

26 Nov 08:08
3c83e18

Choose a tag to compare

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.

v2.64.0

10 Nov 08:01
f785564

Choose a tag to compare

v2.64.0 (2025-11-10)


Error Handling

  • Added new ForbiddenError class that inherits from Error
  • Enhanced handle_for_error method to detect and handle 403 status codes
  • Provides clear error message: "Access forbidden. You do not have permission to access this resource."

Code Quality Improvements

  • Renamed lib/chargebee/nativeRequest.rblib/chargebee/native_request.rb to follow Ruby naming conventions
  • Refactored handle_for_error to return error objects instead of raising them inline (cleaner separation of concerns)
  • Added YARD documentation for handle_for_error method

v2.63.0

28 Oct 09:12
9337690

Choose a tag to compare

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.

v2.62.0

23 Sep 07:50
d3b85e0

Choose a tag to compare

v2.62.0 ( 2025-09-23)


Release Bug fix:

  • Ruby build issue, few new resources were not imported resulting the resources one found error.

v2.61.0

23 Sep 07:28
bba2db4

Choose a tag to compare

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.

v2.60.0

26 Aug 04:16
fe3869f

Choose a tag to compare

New enhancement:

  • Updated the ./lib/ssl/ca-certs.crt to use the latest version of DigiCert Global Root G2.

v2.59.0

21 Aug 09:24
cee634a

Choose a tag to compare

New Resources:

  • WebhookEndpoints has been added.
  • OmnichannelOneTimeOrder has been added.
  • OmnichannelOneTimeOrderItem has been added.

New Attributes:

  • business_entity_id has been added to Comment.
  • business_entity_id has been added to PromotionalCredit.
  • quantity has been added to Discount.
  • business_entity_id has been added to PromotionalCredit.
  • coupon_applicability_mappings[] has been added to QuotedCharge.
  • linked_omnichannel_one_time_orders[] has been added to RecordedPurchase.
  • quantity has been added to Subscripiton#Discount.

New Input Parameters:

  • transaction[id] has been added to Customer#RecordExcessPaymentRequest.
  • discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
  • consolidate_entitlements has been added to CustomerEntitlement#EntitlementsForCustomer.
  • discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
  • discounts[quantity][] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
  • discounts[quantity][] has been added to Estimate#UpdateSubscriptionForItemsRequest.
  • discounts[quantity][] has been added to Estimate#CreateInvoiceForItemsRequest.
  • discounts[quantity][] has been added to HostedPage#CheckoutOneTimeForItemsRequest.
  • discounts[quantity][] has been added to HostedPage#CheckoutNewForItemsRequest.
  • discounts[quantity][] has been added to HostedPage#CheckoutExistingForItemsRequest.
  • discounts[quantity][] has been added to PricingPageSession#CreateForNewSubscriptionRequest.
  • discounts[quantity][] has been added to PricingPageSession#CreateForExistingSubscriptionRequest.
  • discounts[quantity][] has been added to Purchase#CreateRequest.
  • discounts[quantity][] has been added to Purchase#EstimateRequest.
  • discounts[quantity][] has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
  • discounts[quantity][] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
  • discounts[quantity][] has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
  • discounts[quantity][] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
  • discounts[quantity][] has been added to Quote#CreateForChargeItemsAndChargesRequest.
  • discounts[quantity][] has been added to Quote#EditForChargeItemsAndChargesRequest.
  • discounts[quantity][] has been added to Subscription#CreateWithItemsRequest.
  • discounts[quantity][] has been added to Subscription#UpdateForItemsRequest.
  • discounts[quantity][] has been added to Subscription#ImportForItemsRequest.
  • google_play_store[product_id] has been added to RecordedPurchase#CreateRequest.
  • google_play_store[order_id] has been added to RecordedPurchase#CreateRequest.

New Enums

  • PAUSE has been added to OmnichannelSubscriptionItemScheduledChange#ChangeType.
  • OFFER_QUANTITY has been added to Discount#Type.
  • OFFER_QUANTITY has been added to Subscription#Discount#Type.
  • OMNICHANNEL_ONE_TIME_ORDER has been added to EntityType.
  • OMNICHANNEL_ONE_TIME_ORDER_ITEM has been added to EntityType.
  • USAGE_FILE has been added to EntityType.
  • OMNICHANNEL_ONE_TIME_ORDER_CREATED has been added to EventType.
  • OMNICHANNEL_ONE_TIME_ORDER_ITEM_CANCELLED has been added to EventType.
  • USAGE_FILE_INGESTED has been added to EventType.
  • OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSE_SCHEDULED has been added to EventType.

v2.58.0

21 Jul 14:18
04d5d12

Choose a tag to compare

v2.58.0 (2025-07-18)


New Resources:

  • BillingConfiguration has been added.
  • Brand has been added.

New Attributes:

  • has_children has been added to Hierarchy
  • coupon_applicability_mappings has been added to QuotedRamp.

New Endpoint:

  • listHierarchyDetail has been added to Customer.

New Input parameters:

  • change_reason children has been added to Entitlement#CreateRequest.
  • entitlements[apply_grandfathering] has been added to Entitlement#CreateRequest.
  • replace_primary_payment_source has been added to Purchase#CreateRequest.
  • omnichannel_subscription has been added to RecordedPurchase#CreateRequest.
  • contract_term has been added to Subscription#RemoveScheduledCancellationRequest.
  • contract_term_billing_cycle_on_renewal has been added to Subscription#RemoveScheduledCancellationRequest.

New Enums:

  • payconiq_by_bancontact has been added to PaymentMethodType.
  • solidgate has been added to Gateway.
  • solidgate has been added to PaymentMethod.