Contents

disableAutoRenewForTransaction(identifier:)

Disables auto-renewing for an auto-renewable subscription in the test environment.

Declaration

func disableAutoRenewForTransaction(identifier: Int) throws

Parameters

  • identifier:

    The transaction Identifier of the auto-renewable subscription.

Discussion

Call this method to disable auto-renewing for a subscription. A subscription with auto-renew disabled expires at the end of the billing period and doesn’t renew at the start of the next billing period.

See Also

Testing subscription renewals