Integrate the SDK Package for Web/WAP
This topic covers how to easily integrate the Web/WAP SDK package with npm and CDN methods.
Use npm
Input the install command in the command line:
copy
npm install @alipay/ams-checkout
Use CDN resources
Use the <script> tag in the HTML file:
copy
<script src="https://sdk.marmot-cloud.com/package/ams-checkout/1.24.0/dist/umd/ams-checkout.min.js"></script>