Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!