AntonioCuomo Posted October 21, 2020 Share Posted October 21, 2020 j have a component unihtmlframe with this code in HTML property: <div id="paypal-button-container"></div> <script src="https://www.paypal.com/sdk/js?client-id=**************************************t=true" data-sdk-integration-source="button-factory"></script> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'horizontal', label: 'subscribe' }, createSubscription: function(data, actions) { return actions.subscription.create({ 'plan_id': 'P-76T5030983848210BL6GXPMY' }); }, onApprove: function(data, actions) { alert(data.subscriptionID); } }).render('#paypal-button-container'); </script> This is a button Paypal. This code run with old component (and run in demo) but after upgrade this code not run. if j copy the component in demo and past in my form run. Quote Link to comment Share on other sites More sharing options...
AntonioCuomo Posted October 21, 2020 Author Share Posted October 21, 2020 not unihtmlframe but uniurlframe and all ok. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.