Hello,
Could you please help me with one issue I am currently facing?
My extension interacts with the customer at Thank you page via modal. It has target ‘purchase.thank-you.block.render’ and it is supposed to send customer’s answers to our backend via REST.
I have set ‘network_access = true’ in the configuration file, I’ve allowed network access at the app API access page and it all seems to be working perfectly fine if I choose any other target. For instance, if I for the test purposes move it to “purchase.checkout.block.render” it all works just fine and I am able to interact with my backend through REST (which makes me think that network is enabled correctly).
However if I use ‘purchase.thank-you.block.render’ as a target, I get:
permission to use fetch() must be specified under [capabilities] with flag “network_access = true”; this can be done within your extension’s configuration.
Is network access supposed to work at all from the Thank you page? Or it is disabled (maybe due to the security reasons)?
Any help would be greatly appreciated!
Thank you!