paymentEnvironment property
The environment in which payments will be processed.
Use PaymentEnvironment.sandbox for testing and development. Use PaymentEnvironment.production for processing real payments.
The environment affects:
- Which API endpoints are used
- Whether real money is processed
- The format of test card numbers and other test data
Implementation
final PaymentEnvironment paymentEnvironment;