Skip to content

rlm8291/authorize_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorize.net Accept Hosted


Setup application with a virtual environment for Python 3.12 Activate the corresponding virtual environment

Install packages (requirements.txt added - "make install_deps"):

  • cryptography
  • authorizenet
  • python-dotenv
  • flask

To setup the environment variables:

  • Setup a .env file
  • Set "AUTHORIZE_LOGIN" to the Authorize.net API Login ID
  • Set "AUTHORIZE_KEY" to the Authorize.net API Transaction Key
  • Set "AUTHORIZE_CLIENT_KEY" to be the Authorize.net Client Key

The Makefile is provided with several commands for ease of use:

  • "flask" - run the app using the flask command
  • "flask_watch" - run the app with watch enabled for server reload on save
  • "flask_ssl" - run the app with an adhoc certificate for SSL
  • "flask_ssl_watch" - run the app with an adhoce certificate + watch enabled for reload on save

NOTE: To utilize the custom payment form action please use one of the SSL commands. HTTPS needs to be enabled for communication for this form. Another option for HTTPS, if needed, is to use a reverse proxy service (ngrok, tunnelmole etc.).

Reference files presented under the "templates/reference" folder only provides code on the user interface structure. Working with both options for using a hosted pop up + custom form.

The sample application is set to create a proile for interactions with the Authorize.net API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy