Skip to content

j-em/react-authorize-net-nextjs

Repository files navigation

React Authorize Net Example

This repo shows how to integrate React Authorize Net with NextJS/React.

Getting started

  1. Get a Public Client Key and a API Login ID from Authorize.Net

  2. Add them to a .env file located at root of your app

    AUTHORIZENET_CLIENTKEY="REPLACE_WITH_CLIENT_KEY"
    AUTHORIZENET_LOGINID="REPLACE_WITH_LOGIN_ID"
  3. Start the dev server

    yarn dev
  4. Start the ssl proxy

    A SSL proxy is required to properly interact with Authorize.Net API

    yarn ssl-proxy

    This is optional but if you don't do it, you will get errors everytime you submit the form.

  5. Launch the app

    The app show now be available on https://localhost:3001

Example

About

How to integrate react-authorize-net with NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published