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

#import <WePay.h>

Inheritance diagram for <WPCheckoutDelegate>:

Instance Methods

(void) - didStoreSignature:forCheckoutId:
 
(void) - didFailToStoreSignatureImage:forCheckoutId:withError:
 

Detailed Description

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

Method Documentation

- (void) didFailToStoreSignatureImage: (UIImage *)  image
forCheckoutId: (NSString *)  checkoutId
withError: (NSError *)  error 

Called when an error occurs while storing a signature.

Parameters
imageThe signature image to be stored.
checkoutIdThe checkout id associated with the signature.
errorThe error which caused the failure.
- (void) didStoreSignature: (NSString *)  signatureUrl
forCheckoutId: (NSString *)  checkoutId 

Called when a signature is successfully stored for the given checkout id.

Parameters
signatureUrlThe url for the signature image.
checkoutIdThe checkout id associated with the signature.

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