WePay iOS SDK
3.0.0
|
#import <WePay.h>
Instance Methods | |
(void) | - paymentInfo:didTokenize: |
(void) | - paymentInfo:didFailTokenization: |
This delegate protocol has to be adopted by any class that handles tokenization responses.
- (void) paymentInfo: | (WPPaymentInfo *) | paymentInfo | |
didFailTokenization: | (NSError *) | error | |
Called when a tokenization call fails.
paymentInfo | The payment info that was provided while making the tokenization call. |
error | The error which caused the failure. |
- (void) paymentInfo: | (WPPaymentInfo *) | paymentInfo | |
didTokenize: | (WPPaymentToken *) | paymentToken | |
Called when a tokenization call succeeds.
paymentInfo | The payment token to be used for completing the transaction. |
paymentToken | The payment token representing the payment info. |