JSFiddle - React, Tailwind, and code Playground

by swoogie

JavaScript

//Given the UI and the docs this is all that is needed. 
(function (input) {
    window._pa = input;
})({
    'orderId': '##PA_ORDERID##',
    'revenue': '##PA_REVENUE##',
    'onLoadEvent': '##PA_ONLOADEVENT##'
});