Contents

enableAutoRenewForTransaction(identifier:)

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

Declaration

func enableAutoRenewForTransaction(identifier: Int) throws

Parameters

  • identifier:

    The transaction Identifier of the auto-renewable subscription.

Discussion

Call this method to enable the subscription to automatically renew in the testing environment. By default, all auto-renewable subscriptions have auto-renew enabled.

See Also

Testing subscription renewals