{"id":23305813,"url":"https://github.com/northdevelopers/north-node-browser-post-custom-pay-api","last_synced_at":"2026-02-18T10:03:38.934Z","repository":{"id":187357574,"uuid":"676766032","full_name":"NorthDevelopers/North-Node-Browser-Post-Custom-Pay-API","owner":"NorthDevelopers","description":"This repo includes the full-stack code for a JavaScript application that uses Node.js to make a sale using Payments Hub's Browser Post API, and perform a refund using North's Custom Pay API.","archived":false,"fork":false,"pushed_at":"2024-12-13T22:57:29.000Z","size":28739,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T10:44:45.041Z","etag":null,"topics":["checkout-form","checkout-page","ecommerce","ecommerce-api","ecommerce-website","nodejs","nodejs-payment","payment-api","refund"],"latest_commit_sha":null,"homepage":"https://developer.north.com/blog/tutorial-nodejs-browser-post-custom-pay-api","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorthDevelopers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-10T01:03:34.000Z","updated_at":"2024-12-13T22:57:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7b2e5ce-80e4-4e8c-ad26-6b23aba3f89a","html_url":"https://github.com/NorthDevelopers/North-Node-Browser-Post-Custom-Pay-API","commit_stats":null,"previous_names":["paymentshubdevelopers/paymentshub-node-browser-post-custom-pay-api","northdevelopers/north-node-browser-post-custom-pay-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NorthDevelopers/North-Node-Browser-Post-Custom-Pay-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthDevelopers%2FNorth-Node-Browser-Post-Custom-Pay-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthDevelopers%2FNorth-Node-Browser-Post-Custom-Pay-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthDevelopers%2FNorth-Node-Browser-Post-Custom-Pay-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthDevelopers%2FNorth-Node-Browser-Post-Custom-Pay-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorthDevelopers","download_url":"https://codeload.github.com/NorthDevelopers/North-Node-Browser-Post-Custom-Pay-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthDevelopers%2FNorth-Node-Browser-Post-Custom-Pay-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29575343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checkout-form","checkout-page","ecommerce","ecommerce-api","ecommerce-website","nodejs","nodejs-payment","payment-api","refund"],"created_at":"2024-12-20T12:14:20.615Z","updated_at":"2026-02-18T10:03:38.912Z","avatar_url":"https://github.com/NorthDevelopers.png","language":"EJS","readme":"# Securely Embed Payments in a NodeJS App and Accept Refunds\nThis is a JavaScript application that uses Node.js to demonstrate accepting a payment with an ecommerce payment form using \u003ca href='https://developer.north.com/products/online/browser-post'\u003eNorth's Browser Post API\u003c/a\u003e, then using the returned transaction token to perform a refund on the sale using \u003ca href='https://developer.north.com/products/full-featured/custom-pay-api'\u003eNorth's Custom Pay API\u003c/a\u003e. The code in this repository handles both the front-end and back-end payment process.\n\n## Get Sandbox Credentials\nTo get started, create a free \u003ca href='https://developer.north.com/register'\u003eNorth Developer Portal account\u003c/a\u003e. 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 \u003ca href='https://developer.north.com/products/online/browser-post/integration-guide'\u003eBrowser Post API Integration Guide\u003c/a\u003e and \u003ca href='https://developer.north.com/products/full-featured/custom-pay-api/integration-guide'\u003eCustom Pay API Integration Guide\u003c/a\u003e, then \u003ca href='https://developer.north.com/contact'\u003econtact\u003c/a\u003e North's Sales Engineering team to get sandbox credentials added to your Developer Portal account.\n\n## Follow Along with the Tutorial\nWhen you're ready to start building your app, you can follow along with [this tutorial](\nhttps://developer.north.com/blog/tutorial-nodejs-browser-post-custom-pay-api) for step-by-step instructions.\n\n## Completed App\nYour completed ecommerce app will look similar to the following. Click the Pay button to open the payment form:\n\n![payments-hub-node-browser-post-custom-pay-api](https://github.com/PaymentsHubDevelopers/PaymentsHub-Node-Browser-Post-Custom-Pay-API/assets/136620102/96b42337-77e5-4c6d-9b9e-46b0fffa8b67)\n\nClick the \"Submit\" button to submit a payment:\n\n![payments-hub-node-browser-post-custom-pay-api-2](https://github.com/PaymentsHubDevelopers/PaymentsHub-Node-Browser-Post-Custom-Pay-API/assets/136620102/ba278062-782e-4a56-ac7c-bfd1d5fa0563)\n\nOn the payment result page, customers have the option to request a refund:\n\n![payments-hub-node-browser-post-custom-pay-api-3](https://github.com/PaymentsHubDevelopers/PaymentsHub-Node-Browser-Post-Custom-Pay-API/assets/136620102/4e510e13-a4ff-420e-ba8d-0cc1e9819ad7)\n\nThe results of the refund will be displayed after processing is complete:\n\n![payments-hub-node-browser-post-custom-pay-api-4](https://github.com/PaymentsHubDevelopers/PaymentsHub-Node-Browser-Post-Custom-Pay-API/assets/136620102/77a84a14-72dc-4832-a99f-7cd40371826c)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthdevelopers%2Fnorth-node-browser-post-custom-pay-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorthdevelopers%2Fnorth-node-browser-post-custom-pay-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthdevelopers%2Fnorth-node-browser-post-custom-pay-api/lists"}