WePay iOS SDK  3.0.0
 All Classes Files Functions Variables Enumerations Enumerator Properties Macros
<WPTokenizationDelegate> Protocol Reference

#import <WePay.h>

Inheritance diagram for <WPTokenizationDelegate>:

Instance Methods

(void) - paymentInfo:didTokenize:
 
(void) - paymentInfo:didFailTokenization:
 

Detailed Description

This delegate protocol has to be adopted by any class that handles tokenization responses.

Method Documentation

- (void) paymentInfo: (WPPaymentInfo *)  paymentInfo
didFailTokenization: (NSError *)  error 

Called when a tokenization call fails.

Parameters
paymentInfoThe payment info that was provided while making the tokenization call.
errorThe error which caused the failure.
- (void) paymentInfo: (WPPaymentInfo *)  paymentInfo
didTokenize: (WPPaymentToken *)  paymentToken 

Called when a tokenization call succeeds.

Parameters
paymentInfoThe payment token to be used for completing the transaction.
paymentTokenThe payment token representing the payment info.

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