Zuora Central sandbox migration - Self service setup
This issue documents the steps required to migrate your local instance to use Zuora Central sandbox 2 environment.
Access
The Zuora Central Sandbox 2 can be accessed via the Okta tile Zuora Dev Sandbox :
If you already had an account on apisandbox as of February 8, 2024, you will automatically be added to the Okta group and the tile should show up.
Please contact @brianmwong or #enterprise-apps if you are an existing user and have trouble accessing the environment.
If you are a new user, please submit an Access Request for 'Standard User' access and assign it to the IT Enterprise Applications team (#enterprise-apps) for provisioning. Add the labels EA-AccessRequests, BT Finance Systems, BT-Priority::1, FinSys::Service Desk to the issue.
Setup
CustomersDot
- Pull the latest version of
CustomersDot -
Find the privatePlease contact1Passwordlink associated with your email in. Access the vault using the OTP sent to your emailthis sheet#s_fulfillment_engineeringand someone with Admin access can create OAuth credentilas for your user. - Update your environment file
.envwith the values from the 1Password vault:ZUORA_CLIENT_IDZUORA_CLIENT_SECRETZUORA_INTEGRATION_API_USER_IDS
- Please ignore below if you use default urls for CustomersDot (http://localhost:5000) and GDK (http://localhost:3000).
- If you had a custom payment method set up in Developer sandbox, the same has been pre-created with your configs in the new environment. Please check your vault for the respective payment method ID
- If your vault does not include the payment method configs, please check Step (4) and (5) in this README link to create new ones.
ZSim
- Pull the latest version of
ZSim - Replace the following values in
.envfile with the ones from your 1Password vault:ZUORA_CLIENT_IDZUORA_CLIENT_SECRET-
ZUORA_USER_ID(value corresponds toZUORA_INTEGRATION_API_USER_IDSin 1Password vault)
- The values for
ZUORA_CALLBACK_USERNAMEandZUORA_CALLBACK_PASSWORDenv variables are the same as the previous setting in Dev sandbox. They can also be retrieved from1Password(Subscription portal vault ->[Zuora] Central Sandbox 2)
Post-setup steps
- Ensure
secrets.ymlfile in CustomersDot does not have any overrides set for anyzuora_related configs - Update local product catalog cache by executing
IronBank::LocalRecords.exportonrails console - Restart CustomersDot, GDK, ZSim and start with creating a new user account!
- Rebase open MRs on CustomersDot with latest
main
apisandbox / developer sandbox will not be migrated, and thus CustomersDot and Gitlab.com user accounts in your local instance will not work.
Troubleshooting
- In the spreadsheet, if your email is marked as
Pending activation, please sign in toZuora Central Sandbox 2 (10000719)on Okta and send a message to@aish.subors_fulfillment_engineeringand someone with admin access can create OAuth for you. This can happen because either your user account did not exist in Zuora Production, or the account was unconfirmed.
