mirror of
https://github.com/tavo-wasd-gh/conex-builder.git
synced 2025-06-06 19:53:30 -06:00
follow rules
This commit is contained in:
parent
7feba8caf1
commit
c2007566a1
2 changed files with 2 additions and 6 deletions
|
@ -1,6 +1,3 @@
|
|||
// const PayPalSDK = "https://sandbox.paypal.com/sdk/js?client-id=AcCW43LI1S6lLQgtLkF4V8UOPfmXcqXQ8xfEl41hRuMxSskR2jkWNwQN6Ab1WK7E2E52GNaoYBHqgIKd&components=buttons&enable-funding=card&disable-funding=paylater,venmo"
|
||||
const PayPalSDK = "https://paypal.com/sdk/js?client-id=AUm4S44vdasfvVjG6oaQBc9ivbI92ofrfvL8-ItRjwSgtxuJyzkRRhKLabXMbehC7t-nxGdqhD58qasD&components=buttons&enable-funding=card&disable-funding=paylater,venmo"
|
||||
|
||||
const EditorJSComponents = [
|
||||
"https://cdn.jsdelivr.net/npm/@editorjs/header@latest",
|
||||
"https://cdn.jsdelivr.net/npm/@editorjs/image@latest",
|
||||
|
@ -36,9 +33,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
loadEditorState();
|
||||
}).catch(err => console.error("Error loading editor:", err));
|
||||
|
||||
loadScript(PayPalSDK).then(() => {
|
||||
return loadScript("/paypal.js");
|
||||
}).catch(err => console.error(err));
|
||||
loadScript("/paypal.js").catch(err => console.error(err));
|
||||
|
||||
initializeEventListeners();
|
||||
});
|
||||
|
|
|
@ -127,5 +127,6 @@
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://www.paypal.com/sdk/js?client-id=AUm4S44vdasfvVjG6oaQBc9ivbI92ofrfvL8-ItRjwSgtxuJyzkRRhKLabXMbehC7t-nxGdqhD58qasD&components=buttons&enable-funding=card&disable-funding=paylater,venmo" data-sdk-integration-source="integrationbuilder_sc"></script>
|
||||
<script src="/client.js"></script>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue