sorokin0andrey/react-native-google-pay

What does setEnviroment means?

neiker opened this issue · 1 comments

On readme and example app setEnvironment function is used without further explanation on what it does and what means to use it:

// Set the environment before the payment request
GooglePay.setEnvironment(GooglePay.ENVIRONMENT_TEST);

What's the difference between test and production?

The difference is the gateway will be used in sandbox/test mode