Please Log in or Create an account to join the conversation.
That should work well. Good idea!As we use cassiopeia, I think that the best would be to open the iframe with a child template without modules.
As long as all the redirect URLs use that child template there won't be really any concerns and can show the registration complete messages fine, but entirely up to you.Concerning redirections, I was thinking at closing the iframe once the message has been received by the component.
That gets massively more complicated. You'd need to send the message on the payment complete page. You won't even need the message API though if your setup CORS properly. There isn't really a reason you can't allow the app direct communication with the web domain as you control both. If CORS is correctly setup your app could then just directly bind to and even pull content from the iframe. Setting up CORS can be a bit complicated though.I have CBSubs involved with selection of a plan, in this case what is the best trigger to use ? Mostly that would be a free plan for the web component.
Just send the message anyway. If in iframe it'll communicate. If not it does nothing. Otherwise check what Joomla template is loaded or check referrer headers, etc..The js on the registration page would also have to detect that I am in the iframe, so that involves being able to talk to a supposed iframe from the main website to check if everything is fine, domain is accepted, etc etc
Conditions can do whatever you want. There's even a Code condition that lets you execute custom PHP. So yes probably.Can I do this with autoactions conditions ? before outputting the post message in the action ?
Please Log in or Create an account to join the conversation.
There isn't really a reason you can't allow the app direct communication with the web domain as you control both
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.