In that case it’s a little more complicated. Since you are wanting a user interaction to happen, you will probably need to use a javascript event instead.
A site-reviews/form/handle
javascript event is triggered after the response is returned from the server when a review is submitted and the event has two parameters: response
contains the response object from the server and form
is the form HTML element.
For example, you could use this event to display the QRCode in a popup or insert it under the success message in the form to request the the user verify their submitted review by scanning the QRCode. When they scan it, you can check the Bank ID response and if successful, use the Site Reviews API to update the new review and mark it as verified.
This would require a bit of work on your part however, and it’s a little outside the scope of support here.
-
This reply was modified 3 months, 1 week ago by Gemini Labs.