generatePaynowQR

Description

Generates a Paynow QR code.

Input / Parameter

Output

N/A

Callback?

callback

The function to be executed if the Paynow QR code is generated successfully.

errorCallback

The function to be executed if the Paynow QR code is not generated successfully.

Video

Coming Soon.

Example

Steps

  1. First we add 2 components to the page:

    1. A button to generate the QR code

    2. imgQR, an image placeholder for the QR code once generated.

  2. Select the "Generate QR Local" button and add these 2 functions to the event flow:

  3. Specify the parameters for the QR code.

  4. For the setComponentFunction, we set the "component" value to "imgQR", the image placeholder created in step 1.

    For 'value', we add a subflow with the function "objectAttr" like so:

Result

Last updated