Paypal Embed Code disappearing from landing page

I have tried implimenting those solutions in every way that I am possibly able to but they still don’t seem to work. The problem is that I can get the buttons to show up on numerous other pages without any problem, just not this specific template page. I specifically chose this template page because it has no JS and limited CSS so I didn’t think I would run into any interference.

The embed code I am using is below:

<div id=“smart-button-container”>
<div style=“text-align: center;”>
<div id=“paypal-button-container”>
</div>
</div>
</div>
<script src=“https://www.paypal.com/sdk/js?client-id=sb&currency=USD” data-sdk-integration-source=“button-factory”>
</script>
<script> function initPayPalButton() {
paypal.Buttons({ style: { shape: ‘pill’, color: ‘silver’, layout: ‘vertical’, label: ‘pay’, },
createOrder: function(data, actions) {
return actions.order.create({
purchase_units: [{“description”:“Vendor Compliance Administration Fee”,“amount”:{“currency_code”:“USD”,“value”:175}}] }); },
onApprove: function(data, actions) { return actions.order.capture().then(function(details) {
alert(‘Transaction completed by ’ + details.payer.name.given_name + ‘!’); }); }, onError: function(err) {
console.log(err); } }).render(’#paypal-button-container’); } initPayPalButton();
</script>