whatisgithub

What is shoppepay-api-gateway?

ahmadzakiyox/shoppepay-api-gateway — explained in plain English

Analysis updated 2026-05-18

69ShellAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

An unofficial gateway that reads a merchant's own ShopeePay session token to automatically verify incoming mobile payments and generate dynamic QR codes for online stores.

Mindmap

mindmap
  root((ShopeePay Gateway))
    What it does
      Verifies ShopeePay payments
      Generates dynamic QR codes
      Polls for payment status
    Tech stack
      Node.js
      Express
      Shell scripts
    Use cases
      Online store checkout
      Multi merchant payment routing
      Telegram alerts on token failure
    Audience
      Indonesian online store owners
      Developers integrating payments

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically verify incoming ShopeePay payments on an online store's checkout page

USE CASE 2

Generate a dynamic QRIS QR code with the correct payment amount for each order

USE CASE 3

Run multiple merchant accounts through one gateway using per-request tokens

What is it built with?

Node.jsExpressShell

How does it compare?

ahmadzakiyox/shoppepay-api-gatewayn8n-io/n8n-herokuduolahypercho/fusion-fable
Stars696970
LanguageShellShellShell
Last pushed2026-02-08
MaintenanceMaintained
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedeveloperpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires manually extracting an internal ShopeePay session token from browser developer tools.

Marked as proprietary software, the README does not grant open reuse rights.

So what is it?

This project is an unofficial API gateway that helps online store owners accept and automatically verify ShopeePay payments. ShopeePay is a mobile payment method in Indonesia. The README is explicit that this tool is not affiliated with or endorsed by Shopee in any way. Instead of using an official payment API, it works by reading data from the ShopeePay Partner Portal using the merchant's own account session token, similar to how a browser extension or automation script might operate. The gateway is built to require no database at all, storing everything it needs temporarily in server memory instead. This is meant to make it easy to run on free or low-cost cloud hosting that restarts often, since there is no persistent data to lose. When a customer wants to pay, the gateway can generate a dynamic QR code (a QRIS code, a standard used in Indonesia) with the exact amount owed, then poll ShopeePay's servers every ten to fifteen seconds to check whether that payment has arrived, but only while a customer is actively on the checkout page. This selective polling is meant to avoid triggering Shopee's own rate limits during quiet periods. Other stated features include support for multiple merchant accounts through different tokens, automatic detection of which payment app a customer used to send money, a background check every five minutes that alerts the store owner over Telegram if their access token has stopped working, and safeguards against two different customers accidentally being credited for the same payment when their amounts happen to match. Setup involves manually retrieving an internal ShopeePay token from the browser's developer tools while logged into the Partner Portal, then placing it along with an API key, a server port, and optional Telegram bot credentials into a configuration file. The README states plainly that using this tool in a commercial production environment is the user's own responsibility and depends on understanding ShopeePay's terms of service in their country. The project is marked as proprietary rather than open source.

Copy-paste prompts

Prompt 1
Explain how this stateless payment gateway avoids needing a database
Prompt 2
Walk me through how to retrieve the SHOPEE_TOKEN needed to configure this gateway
Prompt 3
Describe how this project prevents two customers from being credited for the same payment
Prompt 4
What environment variables does this gateway need in its .env file

Frequently asked questions

What is shoppepay-api-gateway?

An unofficial gateway that reads a merchant's own ShopeePay session token to automatically verify incoming mobile payments and generate dynamic QR codes for online stores.

What language is shoppepay-api-gateway written in?

Mainly Shell. The stack also includes Node.js, Express, Shell.

What license does shoppepay-api-gateway use?

Marked as proprietary software, the README does not grant open reuse rights.

How hard is shoppepay-api-gateway to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is shoppepay-api-gateway for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.