GitXplorerGitXplorer
s

issuing

public
10 stars
16 forks
1 issues

Commits

List of commits on branch main.
Verified
0e1eb5a96cf47173a466bcad35d50557224559c3

Merge pull request #320 from stripe-samples/dependabot/maven/create-cardholders-and-cards/server/java/com.google.code.gson-gson-2.11.0

hhideokamoto-stripe committed 8 days ago
Verified
1de8c87b4b9507267d696c13e5c54dc786ed1498

Merge pull request #342 from stripe-samples/dependabot/nuget/approve-authorization/server/dotnet/Stripe.net-44.13.0

hhideokamoto-stripe committed 8 days ago
Verified
e190d9a3c34dff10bc9d8efa98dd03cffebfa489

Merge branch 'main' into dependabot/nuget/approve-authorization/server/dotnet/Stripe.net-44.13.0

hhideokamoto-stripe committed 8 days ago
Verified
ebf999db8780285cbf38e48939a9f0945956c296

Merge pull request #283 from stripe-samples/dependabot/nuget/approve-authorization/server/dotnet/DotNetEnv-3.0.0

hhideokamoto-stripe committed 8 days ago
Verified
79bf2fa686355dac698b7b914555e8d6526af8cb

Merge branch 'main' into dependabot/nuget/approve-authorization/server/dotnet/DotNetEnv-3.0.0

hhideokamoto-stripe committed 8 days ago
Verified
144a206d887b271121e5f2746d2343ee76a48e6f

Merge pull request #279 from stripe-samples/dependabot/maven/create-cardholders-and-cards/server/java/org.slf4j-slf4j-simple-2.0.13

hhideokamoto-stripe committed 8 days ago

README

The README file for this repository.

Issuing

This sample shows you how to integrate with Stripe Issuing. Specifically, how to leverage Real-time authorizations and Create cardholders and cards

How to run locally

The Stripe CLI is the fastest way to clone and configure a sample to run locally.

Using the Stripe CLI

If you haven't already installed the CLI, follow the installation steps. The CLI is useful for cloning samples and locally testing webhooks and Stripe integrations.

In your terminal, run the Stripe CLI command to clone the sample:

stripe samples create issuing

The CLI will walk you through picking your integration type, server and client languages, and configuring your .env file with your Stripe API keys.

Start the server

Pick the server language you want and follow the instructions in the server folder README on how to run.

For example, if you want to run the Node server:

cd server
npm install
npm start

Start forwarding webhooks

Create a direct connection between Stripe and your local running web server with the Stripe CLI:

stripe listen --forward-to "http://localhost:4242/webhook"

Trigger an authorization request

Trigger an issuing_authorization.request event using the Stripe CLI. This will make all the API calls required to result in an authorization request webhook.

stripe trigger issuing_authorization.request

Note: If this does not fire an issuing_authorization.request event, please check to ensure your balance is topped up. You can add funds to your balance using:

stripe topups create --amount=2000 --currency=usd -d "destination_balance=issuing"

FAQ

Q: Why did you pick these frameworks?

A: We chose the most minimal framework to convey the key Stripe calls and concepts you need to understand. These demos are meant as an educational tool that helps you roadmap how to integrate Stripe within your own system independent of the framework.

Get support

If you found a bug or want to suggest a new [feature/use case/sample], please file an issue.

If you have questions, comments, or need help with code, we're here to help:

Sign up to stay updated with developer news.

Author(s)