|
1 |
| -const { MERCHANT_KEY } = process.env; |
2 |
| -const { MID } = process.env; |
3 |
| - |
4 | 1 | module.exports = {
|
5 | 2 | paytm_config: {
|
6 | 3 | PAYTM_ENVIRONMENT: "TEST", //possible values: TEST | PROD
|
7 |
| - MID: MID, // Get it From https://dashboard.paytm.com/next/apikeys use Test id for test purpose and Production id for Production Purpose |
| 4 | + MID: " Your MID", // Get it From https://dashboard.paytm.com/next/apikeys use Test id for test purpose and Production id for Production Purpose |
8 | 5 | WEBSITE: "WEBSTAGING", // USE WEBSTAGING for testing, You Will get it for Production here https://dashboard.paytm.com/next/apikeys
|
9 | 6 | CHANNEL_ID: "WEB", // Use WEB for Desktop Website and WAP for Mobile Website
|
10 | 7 | INDUSTRY_TYPE_ID: "Retail", // Use Retail for Testing, For Production You Can Get it from here https://dashboard.paytm.com/next/apikeys
|
11 |
| - MERCHANT_KEY: MERCHANT_KEY, // Get it From https://dashboard.paytm.com/next/apikeys use Test key for test purpose and Production key for Production Purpose |
| 8 | + MERCHANT_KEY: " Your MERCHANT_KEY", // Get it From https://dashboard.paytm.com/next/apikeys use Test key for test purpose and Production key for Production Purpose |
12 | 9 | CALLBACK_URL:
|
13 |
| - "https://hopeful-mirzakhani-a59182.netlify.app/.netlify/functions/payConf", // Modify and Use this url for verifying payment, we will use cloud function DonationCallback function for Our usage |
14 |
| - /* https://hopeful-mirzakhani-a59182.netlify.app */ |
15 |
| - /* // Additional Config |
| 10 | + "https://your_unique_site_id.netlify.app/.netlify/functions/payConf", // Modify and Use this url for verifying payment, we will use cloud function DonationCallback function for Our usage |
| 11 | + // Additional Config |
16 | 12 |
|
17 |
| - MinAmount: 100, // Munimum amount you waana accept for donation |
| 13 | + /* MinAmount: 100, // Munimum amount you waana accept for donation |
18 | 14 | PaymentInitURL: "http://myblogurl/donateViaPaytm", // Initial Location where the payment begin
|
19 | 15 | PaymentSuccessURL: "http://myblogurl/donationSuccessful", // Success Page URL
|
20 | 16 | PaymentFailureURL: "http://myblogurl/donationFailture", // Failture page URL */
|
|
0 commit comments