WePay iOS SDK  7.0.0-prerelease-1
<WPAuthorizationDelegate > Protocol Reference
Inheritance diagram for <WPAuthorizationDelegate >:

Instance Methods

(void) - paymentInfo:didAuthorize:
 
(void) - paymentInfo:didFailAuthorization:
 

Method Documentation

◆ paymentInfo:didAuthorize:()

- (void WPAuthorizationDelegate) paymentInfo: (WPPaymentInfo *)  paymentInfo
didAuthorize: (WPAuthorizationInfo *)  authorizationInfo 
required

Called when an authorization call succeeds.

Parameters
paymentInfoThe payment info for the card that was authorized.
authorizationInfoThe authorization info for the transaction that was authorized.

◆ paymentInfo:didFailAuthorization:()

- (void WPAuthorizationDelegate) paymentInfo: (WPPaymentInfo *)  paymentInfo
didFailAuthorization: (NSError *)  error 
required

Called when an authorization call fails.

Parameters
paymentInfoThe payment info for the card that failed authorization.
errorThe error which caused the failure.

The documentation for this protocol was generated from the following file: