🦖Nagad

Configuring Nagad payment gateway.

To configure Nagad for use with Takaden, you will need to set the following environment variables in your .env file:

  1. NAGAD_MERCHANT_ID: This is the merchant ID provided by Nagad when you register as a merchant.

  2. NAGAD_MERCHANT_PHONE: This is the phone number associated with your Nagad merchant account.

  3. NAGAD_PUBLIC_KEY: This is the Nagad Payment Gateway Public Key provided by Nagad after you register as a merchant.

  4. NAGAD_PRIVATE_KEY: This is the Nagad Merchant Private Key provided by Nagad when you register as a merchant.

To set these environment variables in your .env file, add the following lines, replacing the placeholder values with your actual Nagad credentials:

NAGAD_MERCHANT_ID=YOUR_NAGAD_MERCHANT_ID
NAGAD_MERCHANT_PHONE=YOUR_NAGAD_MERCHANT_PHONE
NAGAD_PUBLIC_KEY=YOUR_NAGAD_PAYMENT_GATEWAY_PUBLIC_KEY
NAGAD_PRIVATE_KEY=YOUR_NAGAD_MERCHANT_PRIVATE_KEY

Last updated