https://github.com/northdevelopers/north-node-browser-post-api
This repo includes the back-end code for a JavaScript application that uses Node.js to build a shopping cart and embed a payment form using North's Browser Post API.
https://github.com/northdevelopers/north-node-browser-post-api
back-end checkout-form checkout-page credit-card credit-card-payments ecommerce ecommerce-api ecommerce-application ecommerce-website javascript-node nodejs nodejs-ecommerce payment payment-api payment-gateway payment-service payments
Last synced: 5 months ago
JSON representation
This repo includes the back-end code for a JavaScript application that uses Node.js to build a shopping cart and embed a payment form using North's Browser Post API.
- Host: GitHub
- URL: https://github.com/northdevelopers/north-node-browser-post-api
- Owner: NorthDevelopers
- Created: 2023-06-15T16:13:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T22:53:36.000Z (about 1 year ago)
- Last Synced: 2024-12-13T23:26:35.279Z (about 1 year ago)
- Topics: back-end, checkout-form, checkout-page, credit-card, credit-card-payments, ecommerce, ecommerce-api, ecommerce-application, ecommerce-website, javascript-node, nodejs, nodejs-ecommerce, payment, payment-api, payment-gateway, payment-service, payments
- Language: JavaScript
- Homepage: https://developer.north.com/blog/embedded-payments-react-app-shopping-cart
- Size: 3.21 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Securely Embed Payments in a NodeJS App
This is a JavaScript application that uses the React framework and Node.js to demonstrate an ecommerce shopping cart with an embedded payment solution using [North's Browser Post API](https://developer.north.com/products/online/browser-post). The code in this repository handles the back-end payment process for a simple payment form on a website. The code that handles front-end part of the payment process is located in a [separate repository](https://github.com/NorthDevelopers/North-React-Browser-Post-API-With-Shopping-Cart), allowing each to be deployed separately.
## Get Sandbox Credentials
To get started, create a free [North Developer Portal account](https://developer.north.com/register). This will allow you to get the sandbox credentials that are required to test the app. Log in to your account to view the official [Browser Post API Integration Guide](https://developer.north.com/products/online/browser-post/integration-guide), then [contact](https://developer.north.com/contact) North's Sales Engineering team to get sandbox credentials added to your Developer Portal account.
## Follow Along with the Tutorial
When you're ready to start building your app, you can follow along with [this tutorial](https://developer.north.com/blog/embedded-payments-react-app-shopping-cart) for step-by-step instructions.
## Completed App
Your completed ecommerce app will look similar to the following:

Click the "View Details" button to open a product page:

Click the "Shopping Cart" button to open the cart modal, which displays the items in your cart, the total order amount, and allows users to edit the contents of their cart:

Click the "Checkout" button to open a new tab with a checkout form where customers can enter their payment information and submit an order:
