Amplify
  • Amplify Documentation
  • Español
    • Introducción
    • GUIAS
      • [GUIA] Integración básica Amplify SDK (Tienda única)
      • [GUIA] Leyendo balances (Tienda única)
    • Creando una cuenta
    • Configurando tu cuenta
    • Obteniendo tus API Key
    • Obteniendo tokens de prueba
    • SDK
      • Instalacion
      • Propiedades
      • Eventos
      • Personalización
      • Interfaces
    • API
      • Intención de pago
      • Balances
      • Retiros
      • Webhooks
      • Links de Pago
      • Reembolsos
  • English
    • Introduction
    • Creating an account
    • Setting up your account
    • Getting your API Keys
    • Faucet
    • SDK
      • Installation
      • Props
      • Events
      • Customization
      • Interfaces
    • API
      • Payment intents
      • Balances
      • Withdraws
      • Webhooks
      • Refunds
Con tecnología de GitBook
En esta página
  1. English
  2. SDK

Installation

Amplify SDK is available as a package within NPM. To install it, you need to run the following command in the root of your project:

npm i amplify-sdk

Next JS

If you are using NextJS, you need to import the dependency by disabling server-side rendering in the following way:


const CryptoCheckout = dynamic(() => import('amplify-sdk').then((mod) => mod.CryptoCheckout), { ssr: false });

And add the following configuration in next.config.js:


webpack: (config) => {
  config.resolve.fallback = { fs: false, net: false, tls: false };

  return config;
},
AnteriorSDKSiguienteProps

Última actualización hace 1 año