Skip to main content

Quickstart

API Keys

Next, you should configure your Iyzico API keys in your application's .env file. You can retrieve your Iyzico API keys from the Iyzico control panel:

Introduction

Here in this page, you'll have details of creating a Sandbox account and API credentials.

If you already have a Sandbox, then please follow the link to login your account.

Sign up for a Sandbox

Please following link to sign up a Sandbox account;

A Sandbox account offers you to manage everything from one simple panel. Each account comes with unique merchantId as well as two pairs of credentials, API KEY & SECRET KEY, relatively.

KEYVALUE
API Keysandbox-...
Secret Keysandbox-...

For the Sandbox, OTP is 123456 statically.

Take Your Credentials

In iyzico services, you will be asked for authentication before making any transaction. To find out where;

  1. Log in to your Sandbox Account.
  2. Follow the path Settings > Merchant Settings from the menu on the left.
  3. Under the Merchant Settings page, go for API Keys section. Once you click on Show detail, there are the magic begins.

Once the package is installed:

  1. Add your API credentials to .env.

    IYZICO_API_KEY=
    IYZICO_SECRET_KEY=
    IYZICO_BASE_URL=
  2. Clear cache and optimize:

    php artisan config:cache
    php artisan optimize
  3. Open your Bagisto admin panel and configure the Iyzico gateway under Payment Methods.

  4. Start receiving payments securely with Iyzico!