Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

PayPal

PayPal Orders v2 with capture and refunds.

FieldValue
Addon idgateway-paypal
Kindgateway
Providespaypal
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/paypal
Permissions (shown at install)payments.process, network.outbound

#Capabilities

CapabilityValue
httpapi-m.paypal.com, api-m.sandbox.paypal.com, $setting:api_base
secretsclient_id, client_secret, webhook_id, webhook_public_key

#Events and hooks

WhatValue
Listens to (events)none
Hooksnone
Emitsnone
Mixinsnone
Scheduled jobsnone

#Settings and secrets

SettingTypeRequired
liveboolno
api_baseurlno

Secrets (stored encrypted, never returned by the API): client_id, client_secret, webhook_id, webhook_public_key.

Outbound HTTP allowed to: api-m.paypal.com, api-m.sandbox.paypal.com, $setting:api_base. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#addon.json

extensions/addons/paypal/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "http": [
      "api-m.paypal.com",
      "api-m.sandbox.paypal.com",
      "$setting:api_base"
    ],
    "secrets": [
      "client_id",
      "client_secret",
      "webhook_id",
      "webhook_public_key"
    ]
  },
  "description": "addons.desc.gateway.paypal",
  "engine": "wasm",
  "id": "gateway-paypal",
  "kind": "gateway",
  "name": "PayPal",
  "permissions": [
    "payments.process",
    "network.outbound"
  ],
  "provides": "paypal",
  "settings": [],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}