STPIntentActionRedirectToURL

@interface STPIntentActionRedirectToURL : NSObject <STPAPIResponseDecodable>

Contains instructions for authenticating a payment by redirecting your customer to another page or application.

  • Unavailable

    You cannot directly instantiate an STPIntentActionRedirectToURL.

    You cannot directly instantiate an STPIntentActionRedirectToURL.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • url

    The URL you must redirect your customer to in order to authenticate the payment.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSURL *_Nonnull url;

    Swift

    var url: URL { get }
  • The return URL that’ll be redirected back to when the user is done authenticating.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSURL *returnURL;

    Swift

    var returnURL: URL? { get }