Login
Docs
Stripe Payment

Stripe Payment

ZexaNext uses Stripe for payment processing. It provides a simple way to integrate payment processing into your website.

Let's create a Stripe checkout page. You need to have Stripe and database set up.

  1. Add a Product in Stripe:

    • Go to your Stripe dashboard.
    • Click on "More +" and then select "Product Catalog".
    • Hit the button "+ Add Product".
    • Give your product a clear name and set the price according to your business model (monthly, one-time fee, etc.).
    • Click "Save Product" to create it.
  2. Find the Price ID:

    • Look for the "Pricing" section in the newly created product details.
    • There you'll find a unique identifier for the price, typically starting with "price_". Copy this ID.
  3. Update your config/landing.js file:

    • Find the pricingPlans section (where you define plans for pricing table)
    • In the first plan configuration, replace the dummy priceId with the copied one.
  4. Open http://localhost:3000/ in your browser, click the first payment button in pricing table and you will be redirected to Stripe checkout page.