PKPaymentRequest(Square)
@interface PKPaymentRequest (Square)
PKPaymentRequest additions for using Apple Pay with Square.
-
Creates a PKPaymentRequest instance with Square-supported networks and merchant capabilities.
Declaration
Objective-C
+ (nonnull PKPaymentRequest *) squarePaymentRequestWithMerchantIdentifier: (nonnull NSString *)merchantIdentifier countryCode:(nonnull NSString *)countryCode currencyCode:(nonnull NSString *)currencyCode;Parameters
merchantIdentifierYour merchant identifier. This must be one of the Merchant IDs associated with your Apple Developer account.
countryCodeThe two-letter ISO 3166 country code for the country where the payment will be processed. E.g. “US”.
currencyCodeThe three-letter ISO 4217 currency code. E.g. “USD”.
PKPaymentRequest(Square) Category Reference