Config options
Everything Merx reads from your config file, with its default value and type.
- api.endpoint Path segment the Merx API routes live under, below Kirby’s own `/api`.
- gateways Payment gateways of your own, each a pair of functions that start and complete a payment.
- license Your Merx license key. The Panel shows it under the plugin.
- logging Whether Merx writes errors to Kirby’s log directory.
- orderNumber Builds the number each order page is titled with.
- ordersPage Id of the page that order pages are created under.
- paypal.applicationContext What the customer sees at PayPal: brand name, locale, whether PayPal asks for an address.
- paypal.live.clientID PayPal client ID used once the shop is in production.
- paypal.live.secret PayPal secret used once the shop is in production. Server only.
- paypal.purchaseUnits Replaces the single purchase unit Merx sends to PayPal, for example to list every item.
- paypal.sandbox.clientID PayPal client ID used while the shop is in testing.
- paypal.sandbox.secret PayPal secret used while the shop is in testing. Server only.
- pricingRules Which currency and which price a request gets.
- production Whether the shop uses the live keys of your payment providers.
- reduceStock Whether the stock of products is reduced, when the order is created.
- stripe.live.publishable_key Stripe key used in the browser in production. Not secret.
- stripe.live.secret_key Stripe key that charges money in production. Server only.
- stripe.paymentIntentParameters Passed to Stripe when the payment intent is created, for example to limit the payment methods offered.
- stripe.test.publishable_key Stripe key used in the browser while testing. Not secret.
- stripe.test.secret_key Stripe key that charges the test account. Server only.
- stripe.webhook_signing_secret Verifies that a webhook really came from Stripe.
- taxRules The tax rate that applies to a product.