PyzeCommercePayment

@interface PyzeCommercePayment : PyzeCustomEvent

PyzeCommercePayment

Subclass of PyzeCustomEvent class used post details of the events related to Item payment.

Since

v3.0.5
  • Post payment started details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPaymentStarted:(nonnull NSDictionary *)attributes;

    Swift

    class func postStarted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post payment completed details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPaymentCompleted:(nonnull NSDictionary *)attributes;

    Swift

    class func postCompleted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post payment abandonment details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPaymentAbandoned:(nonnull NSDictionary *)attributes;

    Swift

    class func postAbandoned(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post payment failed details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPaymentFailed:(nonnull NSDictionary *)attributes;

    Swift

    class func postFailed(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.