Method signature

This SDK is deprecated
For games and applications launched from OK please consider using multiplatform SDK

Close in-app payment dialog opened in an iframe. Used in if a dialog was opened in an iframe.

OKSDK.Payment.closePaymentFrame(frameId)

Where:

  • frameId - id of a container element in which payment dialog is shown. Required parameter.

Example usage

OKSDK.Payment.closePaymentFrame(
    "paymentFrame"
);