based on the documentation, I just need to replace the sandbox public key and secret key to production public key and secret key like this
PaymayaSDK.initCheckout(
process.env.MAYA_PK_PROD,
process.env.MAYA_SK_PROD,
PaymayaSDK.ENVIRONMENT.PRODUCTION
);
if the credentials are for sandbox, the "checkout.execute" part returns the checkoutId and redirectUrl, but when I use the production keys, it returns undefined
based on the documentation, I just need to replace the sandbox public key and secret key to production public key and secret key like this PaymayaSDK.initCheckout( process.env.MAYA_PK_PROD, process.env.MAYA_SK_PROD, PaymayaSDK.ENVIRONMENT.PRODUCTION );
if the credentials are for sandbox, the "checkout.execute" part returns the checkoutId and redirectUrl, but when I use the production keys, it returns undefined
any workarounds?