Security
Buyblock is a trusted plugin. It runs with the same access as your site’s own code.
EmDash capability declarations limit which EmDash APIs a plugin is given. For a trusted plugin they are not an isolation boundary: its code can reach anything your server can. Install it only if you trust us with that.
Capabilities
| Capability | Used for |
|---|---|
network:request | Calling PayPal’s REST API to check keys, create orders and capture payments. |
content:read | Finding published pages that contain a product’s button, shown on the Products tab. |
schema:read | Listing your collections, to know where to look for those pages. |
Hosts
The server talks only to api-m.sandbox.paypal.com and api-m.paypal.com. Buyers’ browsers load PayPal’s JavaScript SDK from www.sandbox.paypal.com or www.paypal.com.
Routes
- Public:
button,create-orderandcapture-order, used by the button. They never return your secret. The price is read from your store, and the captured amount and currency are checked.create-orderandcapture-orderare rate-limited per visitor and site-wide; visitor IP addresses are hashed, never stored. A payment is never captured twice, even if the buyer’s browser retries. - Admin: editors can read; only admins can change keys, products and settings.
Reporting a problem
Email security@zachristudio.com. We reply within 2 business days. Please don’t post security issues in public.