Skip to content

stashgg/stash-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stash Pay Checkout Dialog For Web

This repository contains the Stash Pay component package and a sample Next.js application demonstrating its usage.

Packages

@stashgg/stash-pay

The main React component package for integrating Stash Pay checkout published on npm.

See packages/stash-pay/README.md for package documentation.

Sample App

A Next.js application demonstrating how to use the @stashgg/stash-pay package. Sample App is also automatically published here.

Getting Started

Installation

Install all dependencies:

npm install

Development

Run the sample app in development mode:

npm run dev

This will start the Next.js sample app at http://localhost:3000.

Building

Build the package:

npm run build:package

Build the sample app:

npm run build:sample

Build everything:

npm run build

Workspace Scripts

  • npm run dev - Start the sample app in development mode
  • npm run build - Build all workspaces
  • npm run build:package - Build only the @stashgg/stash-pay package
  • npm run build:sample - Build only the sample app

Environment Variables

For the sample app, create a .env.local file in the sample/ directory:

STASH_API_KEY=your_stash_api_key_here

About

📦 Stash package for integrating Stash Pay on web.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors