PayMayaPaymentsDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | PayMayaSDK.h |
– createPaymentTokenDidFinishWithResult:
required method
Delegate method called upon successful payment token creation. Payment token creation is considered successful when it has a valid completion status (i.e created, used)
- (void)createPaymentTokenDidFinishWithResult:(PMSDKPaymentTokenResult *)result
Parameters
result |
The payment token creation completion object containing status and token details |
---|
Declared In
PayMayaSDK.h
– createPaymentTokenDidFailWithError:
required method
Delegate method called upon failed payment token creation. Payment token creation is considered failed when it encouters an error before reaching a valid status.
- (void)createPaymentTokenDidFailWithError:(NSError *)error
Parameters
error |
Payment token creation error details |
---|
Declared In
PayMayaSDK.h