PaymentHandlerDelegate
public protocol PaymentHandlerDelegate : AnyObject
The delegate of a PaymentHandler
that is notified when the Payment
is collected.
-
Called when the handler has successfully collected payment.
Declaration
Swift
func paymentHandler(_ handler: PaymentHandler, didCollect payment: Payment)
Parameters
handler
The
PaymentHandler
class that collected thePayment
.payment
The
Payment
that it collected.