Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

Installing exp_app_market on a store site

exp_app_market runs on the store sites only (appstore.exponential.earth, appstore.se7enx.com). Every other site runs exp_app_store.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/ext/exp_app_market/INSTALL.md

Installing exp_app_market on a store site

exp_app_market runs on the store sites only (appstore.exponential.earth, appstore.se7enx.com). Every other site runs exp_app_store.

  1. Require it: composer require se7enxweb/exp_app_market (or the exp_app_market_extension package of exp_app_market-ezpackage on a site installed from packages).
  2. Activate it in settings/override/site.ini.append.php: ActiveExtensions[]=exp_app_market, together with exp_package_registry when the registry runs in the same installation, expqueue (mail) and ticketsystem (support). Then php bin/php/ezpgenerateautoloads.php -e and clear the INI and template caches.
  3. Create the tables: ./console ext:exp_app_market:install-schema (MySQL/MariaDB, PostgreSQL, SQLite, Oracle, MongoDB; idempotent, also the upgrade). --check reports what is missing; --print=<engine> prints the SQL; sql/<engine>/schema.sql and sql/mongodb/schema.json are the same for a manual install.
  4. Configure settings/override/appmarket.ini.append.php (doc/CONFIGURATION.md): [Market] Store, StoreName, PublicURL, the operator for commission invoices, [Registry], the providers in test mode.
  5. Put the secrets in Setup > Secrets (expSecrets): appmarket_signing (a random string of 32+ characters), the provider keys (test keys until launch), appmarket_registry when the registry is remote.
  6. Policies: Anonymous market/read; Members market/read, market/buy; sellers market/sell; the store's staff market/admin (the App Market tab).
  7. The daily timer: share/systemd/exp-appmarket-daily@.{service,timer} (doc/COMMANDS.md).
  8. The providers' webhooks: Stripe https://<store>/market/webhook/stripe (events checkout.session.completed, invoice.paid, customer.subscription.deleted, charge.refunded); PayPal https://<store>/market/webhook/paypal (PAYMENT.SALE.COMPLETED, BILLING.SUBSCRIPTION.CANCELLED, BILLING.SUBSCRIPTION.EXPIRED, PAYMENT.CAPTURE.REFUNDED). The webhook view needs no session and no form token; exclude market/webhook and market/api from ezformtoken and give them request-shield rules of their own.

Paid sales stay off until doc/LAUNCH.md is done.

Something wrong on this page? Report an error

Documentation license

This page is part of the documentation of the extension exp_app_market and is distributed under the license of that extension.