This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
The onOrderAutoRenewCanceled()
is triggered when an order is canceled and effectiveAt
is set to NEXT_PAYMENT_DATE
.
The onOrderAutoRenewCanceled()
event is not triggered in the following scenarios:
effectiveAt
is set to IMMEDIATELY
. At the time of cancellation, onOrderCanceled
is triggered instead.effectiveAt
was set to NEXT_PAYMENT_DATE
. At the time of expiration, onOrderCanceled
and onOrderEnded
are triggered instead.
Information about the order whose auto-renewal is canceled and metadata for the event.