WIX accept payments (STRIPE test mode)

WIX provides us the readymade stuff that allows us to connect with stripe

  1. Register/Configure stripe(under accept payments) on wix: https://support.wix.com/en/article/connecting-stripe-as-a-payment-provider
  2. Use CORVID code to connect with registered stripe account
    https://support.wix.com/en/article/corvid-tutorial-processing-payments

The only way to communicate with stripe is with the API keys, but the problem is #1 and #2 use live api keys to connect with stripe and there is no way to changes/configure the api keys to point to stripe test.
I don’t want to go with alternatives where developers need to write the entire code by themselves (ex. https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-stripe-payment-processing ) somehow I don’t feel it is safe and robust.