Choose the best location in your website's interface for you to place the buy button. Then, insert the following code:
// index.html
<divid="azimuthBuyWithCrypto"> <script type="text/javascript" src="https://server.azimuth-services.io/azimuthBuyWithCrypto/<your_app_id>.js"></script>
<scripttype="text/javascript">AzimuthBuyWithCrypto.init({onPaymentSuccessCallback:functionhandler(e) { // Your post-payment functionality goes here },onWalletConnectCallback:functionhandler(e) { // Optional// Your post-wallet connection functionality goes here }, txnUsdAmount: txnUsdAmount // Optional. For a fixed price txn flow, use this parameter. For user input txn flow, remove it
}); </script></div>