Display payment's modal from URL
Related components: O21Pay-dialog
Methods
Properties
Name
Description
events
events callback
Attributes
Name
Description
Mandatory
url
url payment
Y
width
width of window)
N
height
height of window
N
mode
Display mode (dialog, drawer-left, drawer-right, fullscreen)
N
Events
List of messages that you can receive:
Name
Description
o21pay_mounted
Window Payment is mounted
o21pay_ready
Window Payment is ready)
o21pay_closed
Window Payment is closed
o21pay_payment_success
Successful payment
o21pay_payment_cancelled
Payment cancel
o21pay_payment_error
Payment in error
Example
Last updated