Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

136
Vistas
Paypal invoice status stays on "DRAFT"

i have got a problem recently trying to make a paypal invoice. well, check this code here.

paypal.invoice.create({
        merchant_info: {
            email: "EMAIL",
            first_name: "FIRST_NAME",
            last_name: "LAST_NAME",
            business_name: "NAME",
            phone: {
                country_code: "CODE",
                national_number: "NUMBER"
            },
            address: {
                line1: "STREET",
                city: "Riyadh",
                state: "Riyadh Province",
                postal_code: "0000",
                country_code: "SA"
            }
        },
        status: "UNPAID",
        billing_info: [{
            "email": "example@example.com"
        }],
        items: [],
        note: `Thank You For Buying`
    })

Ok, i got the invoice made and everything, but the status is "DRAFT", can someone explain please? btw i want the status to be "UNPAID"

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

PayPal-Node-SDK is deprecated, so don't use that. There is no supported SDK for the invoicing API; use direct API calls.

(Some of the HTTP call code in the newer Checkout-NodeJS-SDK could possibly be useful to you as a template)

Regarding the v2 invoicing API itself, invoices start in a DRAFT state on creation. There is an additional API call to send them, documented on that page.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda