ios - how to use paymentAuthorizationController:didAuthorizePayment:completion: -
i'd understand if strict requirement complete merchant authorization prior calling completion passed pkpaymentauthorizationcontrollerdelegate
method paymentauthorizationcontroller:didauthorizepayment:completion:
. ux purpose of completion keep controller visible until know transaction authorized, in our system may not able process authorization until time later.
the header file pkconstants.h
contains comment pkpaymentauthorizationstatussuccess enum value: // merchant auth'd (or expects auth) transaction successfully
. me implies don't need complete merchant authorization prior passing value callback.
i'm asking because we've yet able our payment processor (cybersource) authorize transaction. i'm wondering if it's because we've been passing them encrypted token after we've called paymentauthorizationcontroller:didauthorizepayment:completion:
completion.
thanks clarity on this!
Comments
Post a Comment