Skip to content
LVWS logo
  • Home
  • Services
  • portfolio
  • Blog
  • contact

HOME

SERVICES

PORTFOLIO

BLOG

CONTACT

855.444.1144

GET A QUOTE

Authorize.net API Integration: Creating vendor folder

Here are the steps to follow if you’re trying to create the vendor folder on Ubuntu for your authorize.net API integration project:

  1. Create a new folder where you want the authnet files to be stored. Open the Terminal and open the new folder. Install the latest Composer, if you don’t have it already.

Follow the instructions from: https://getcomposer.org/download/ (see below or access the url provided)

Run the following in your terminal to get the latest Composer version:

step 1:
php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);”

step 2:
php -r “if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘‼️ENTER KEY HERE‼️’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;”

step 3:
php composer-setup.php

step 4:
php -r “unlink(‘composer-setup.php’);”

2. Create a new file composer.json in the new folder you created. Inside the json file, write the following, then save:

{
“require”: {
“php”: “>=5.6”,
“authorizenet/authorizenet”: “~1.9”
}
}

3. In Terminal run command: composer update

4. If all goes well, then you’re good. If you get the cUrl or simplexml errors, then do the following before running “composer update” again:

for cUrl: in the Terminal, run the following command
sudo apt-get install php7.0-curl

for simplexml: in the Terminal, run the following command
sudo apt-get install php7.0-simplexml

After installing the 2 options, run: php composer.phar install

You will be asked to provide a Token. For that,

– signup or signin to Github.
– go to Developer settings -> Personal Access Token -> Generate new token (I checked all options)
– copy new Token and paste it in the Terminal

It should work now. If you have any questions, I recommend looking them up online — there are plenty of knowledgeable people who can help.

authnet api authnet vendor composer ubuntu
«“Think Before You Tap”
GoDaddy PRO Badge»
  • ALLOW YOUR CUSTOMERS TO MAKE PAYMENTS ON YOUR WEBSITE

    12/21/2011
  • How Las Vegas Businesses Can Get Found in Google AI Overviews, ChatGPT, and Local Search in 2026

    7/16/2026
  • How Much Does a Website Cost in Las Vegas? (2026 Pricing Guide)

    7/4/2026
  • Las Vegas Web Design Agency: HOW TO Get a Website That Actually Brings You Customers

    6/20/2026
  • namedirectory.com.ar 🆓

    4/30/2026
LVWS logo

Las Vegas Website Solutions — your local partner for web design, development, and digital growth since 2012.

855.444.1144

Ext. 1 to schedule a meeting

SERVICES

Web Design
Web Development
Custom Apps
AI-Optimization & Visibility

SOLUTIONS

Small Business
Domain Registration
Domain Transfers

COMPANY

Portfolio
Blog
Contact Us
Client Access

© 2026 Las Vegas Website Solutions. All rights reserved.

Built for Speed · Optimized for Growth