ViaBill Payment Integration

Next.js Example Implementation

Start Payment

Create a new checkout and process a payment through ViaBill.

New Checkout
๐Ÿ”

Transaction Operations

Lookup status, capture, refund, cancel or renew a transaction.

Open Transaction Ops
๐Ÿงพ

Entries API Tester

Open an interactive tester to build the entries/download request and view results.

Open Tester
๐Ÿ“š

API Documentation

Learn about the available API endpoints and how to use them.

View Docs
โš™๏ธ

Configuration

Update .env.local with your ViaBill API credentials.

Quick Start

  1. 1.Update .env.local with your ViaBill API key and secret
  2. 2.Click "New Checkout" to create a test payment
  3. 3.You'll be redirected to the ViaBill payment page
  4. 4.Complete your test payment

Environment

โœ“
NEXT_PUBLIC_API_KEY
Set: eyJhbGโ€ฆ6ehk
โœ“
VIABILL_SECRET_KEY
************
โœ“
NEXT_PUBLIC_VIABILL_TEST_MODE
Set: true
โœ“
NEXT_PUBLIC_ADDON_NAME
Set: CUSTOM
โœ“
NEXT_PUBLIC_APP_URL
Set: https://greatskintattoo.com
โœ“
NEXT_PUBLIC_VIABILL_BASE_URL
Set: https://secure.viabill.com
โœ“
VIABILL_AUTO_CAPTURE
Set: false
โœ“
NEXT_PUBLIC_DEFAULT_CURRENCY
Set: EUR