O21Pay for developers
  • Welcome to O21Pay
  • INTRODUCTION
    • Introducing O21Pay
    • What is O21Pay-components ?
  • Start integrating
    • Getting started
    • Display/Allow access to payments
    • Display QR-Code
    • Display payment's modal from URL
  • Widget
    • Page 2
  • API Reference
    • API Reference
  • Webhooks
    • Page 5
  • FAQ
    • Page 4
Powered by GitBook
On this page
  • Attributes
  • Events
  • Example
  1. Start integrating

Display QR-Code

Related components: O21pay-QR

Attributes

Name
Description
Mandatory

size

width/hight of QR-Code

N

theme

light/dark

N

shadow

Display shadow window

N

Events

Name
Description

o21pay_QRclick

You receive this event when you click on the qr-code

Example

<o21pay-qr size="320" theme="light" shadow></o21pay-qr>
addEventListener('o21pay_QRclick', function (e) {
    //e.detail.url;
})
PreviousDisplay/Allow access to paymentsNextDisplay payment's modal from URL

Last updated 2 years ago