Repository navigation
What's New
- Feature: Introduced an environment selection feature that allows users to specify whether to operate in Development (DEV) or Production (PROD) mode.
Details
- The constructor of the library now accepts an
envparameter. If no value is provided, it defaults toPROD. - This addition enhances flexibility, allowing developers to easily switch between development and production environments without modifying the library code.
Usage Example
To initialize the library in development mode:
VanillaPayInternational payment = new VanillaPayInternational(clientId, clientSecret, keySecret, vpiVersion, "DEV");