PayMayaCheckoutDelegate Protocol Reference

Conforms to NSObject
Declared in PayMayaSDK.h

– checkoutDidFinishWithResult: required method

Delegate method called upon successful checkout. Checkout is considered successful when it has a valid completion status (i.e success, failed, canceled)

- (void)checkoutDidFinishWithResult:(PMSDKCheckoutResult *)result

Parameters

result

The checkout completion object containing status and checkout id

Declared In

PayMayaSDK.h

– checkoutDidFailWithError: required method

Delegate method called upon failed checkout. Checkout is considered failed when it encouters an error before reaching a valid status.

- (void)checkoutDidFailWithError:(NSError *)error

Parameters

error

Checkout error details

Declared In

PayMayaSDK.h