stripe

Installation
SKILL.md

Introduction

Replit offers a native integration with Stripe that allows users to implement payments in their applications

Prerequisites

  1. These packages must be installed in the workspace root package.json:

    Do not install them in any workspace package. If they are not installed, use pnpm to install them via the following command: $ cd /home/runner/workspace && pnpm add -w <packages>

  2. The Stripe integration must be connected to the repl. You can do this by proposing the integration. Reference the integrations skill if necessary. Once connected, create stripeClient.ts using the template from the code-templates reference -- this file fetches Stripe credentials from the Replit connection API and provides the authenticated client via getUncachableStripeClient().

    Create it in both the API server directory and the scripts directory.

Installs
4
GitHub Stars
18
First Seen
6 days ago