Open MilesTFox opened 1 week ago
Tried upgrading from 1.4.9 to 3.7.0. We were on 1.4.9 with a custom patch due to the PCI compliance issue that has been open here since Sep 15, 2023.
Expected results: API to work as normal.
Actual results: API does not work, throwing "ServicesConfig is not a constructor"
Steps to reproduce: Upgrade from 1.4.9 (working code) to 3.7.0.
Example Code:
const { Address, ServicesConfig, ServicesContainer, CreditCardData, Transaction } = require('globalpayments-api');
let servicesConfig = new ServicesConfig(); servicesConfig.secretApiKey = "REDACTED"; servicesConfig.developerId = "REDACTED"; servicesConfig.versionNumber = "REDACTED"; servicesConfig.serviceUrl = "https://api2.heartlandportico.com"; servicesConfig.enableLogging = false; ServicesContainer.configure(servicesConfig);
Hi Miles,
Going forward, please contact this group with such inquiries: developers@heartland.us. Support contact Page on Heartland Developer portal: https://developer.heartlandpaymentsystems.com/Support
Tried upgrading from 1.4.9 to 3.7.0. We were on 1.4.9 with a custom patch due to the PCI compliance issue that has been open here since Sep 15, 2023.
Expected results: API to work as normal.
Actual results: API does not work, throwing "ServicesConfig is not a constructor"
Steps to reproduce: Upgrade from 1.4.9 (working code) to 3.7.0.
Example Code:
const { Address, ServicesConfig, ServicesContainer, CreditCardData, Transaction } = require('globalpayments-api');
let servicesConfig = new ServicesConfig(); servicesConfig.secretApiKey = "REDACTED"; servicesConfig.developerId = "REDACTED"; servicesConfig.versionNumber = "REDACTED"; servicesConfig.serviceUrl = "https://api2.heartlandportico.com"; servicesConfig.enableLogging = false; ServicesContainer.configure(servicesConfig);