We have discussed this possibility during this week's dev meeting (https://youtu.be/s0Jsh1_lIjw?t=2491), and have agreed that at the very least it would be possible to enable modules from config (this is less risky than disabling/uninstalling modules, which has the risk to lead to data loss).
In Drupal 8+, this is achieved via the core.extension.yml config file. Perhaps we should similarly introduce a core.extensions.json file, or system.extensions.json, or reuse the existing system.core.json file for that.
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout