UNPKG

pesapal-node-sdk

Version:

Node.js SDK for integrating with Pesapal payment gateway. Provides a simple interface for processing payments, checking status, and handling callbacks.

12 lines 487 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const getConfig = () => ({ consumerKey: process.env.PESAPAL_CONSUMER_KEY, consumerSecret: process.env.PESAPAL_CONSUMER_SECRET, apiUrl: process.env.PESAPAL_API_URL || 'https://api.pesapal.com', callbackUrl: process.env.PESAPAL_CALLBACK_URL, ipnUrl: process.env.PESAPAL_IPN_URL, env: process.env.PESAPAL_ENV || 'sandbox' }); exports.default = getConfig; //# sourceMappingURL=config.js.map