Skip to main content

Payment Integration Setup

· One min read
Tanqory Team
Development Team @ Tanqory

Complete guide to integrating payment providers with your Tanqory store.

Supported Payment Providers

  • Stripe
  • PayPal
  • Square
  • Adyen

Stripe Integration

Step 1: Install the Stripe SDK

npm install @stripe/stripe-js

Step 2: Configure API Keys

Add your Stripe keys to the environment:

STRIPE_PUBLIC_KEY=pk_live_xxx
STRIPE_SECRET_KEY=sk_live_xxx

Step 3: Create Payment Intent

const paymentIntent = await stripe.paymentIntents.create({
amount: 1000,
currency: 'usd',
});

Webhooks

Configure webhooks to handle payment events and order updates.