#include "script_component.hpp" if (isNil QGVAR(StoreClass)) then { call FUNC(initStoreClass); }; if (isNil QGVAR(StoreUIBridge)) then { call FUNC(initStoreUIBridge); }; [QGVAR(responseCheckout), { params [["_payload", createHashMap, [createHashMap]]]; GVAR(StoreUIBridge) call ["handleCheckoutResponse", [_payload]]; }] call CFUNC(addEventHandler);