OKSDK.Payment.closePaymentFrame

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

Method signature

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"
);