Hi Everyone I eventually manages to show all of the buttons by removing the sdk script and including it only ones in the html body and also putting each button in a body tags. May not be the best way but it worked 🙂 <!-- PayPal JavaScript SDK --> <script src="https://www.paypal.com/sdk/js?client-id=ClientID=subscription" data-sdk-integration-source="button-factory"></script> <body> <!-- Set up a container element for the button --> <div id="paypal-button-container-1"></div> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'subscribe' }, createSubscription: function(data, actions) { return actions.subscription.create({ 'plan_id': 'P-5RH36260RX664063ML7LVI6Y' }); }, onApprove: function(data, actions) { alert(data.subscriptionID); } }).render('#paypal-button-container-1'); </script> </body> <body> <!-- Set up a container element for the button --> <div id="paypal-button-container-2"></div> <script> paypal.Buttons({ style: { shape: 'rect', color: 'blue', layout: 'vertical', label: 'subscribe' }, createSubscription: function(data, actions) { return actions.subscription.create({ 'plan_id': 'P-5RH36260RX664063ML7LVI6Y' }); }, onApprove: function(data, actions) { alert(data.subscriptionID); } }).render('#paypal-button-container-2'); </script>
... View more