14. Security, limits of customisation and logs

Everything you can change stays inside one rule: card data and customer data never reach your app. This keeps the app out of the card data scope (PCI DSS SAQ-A).

  • The card number and the CVV are encrypted on the device with keys from the Praxis PCI service and go only to that service.
  • The app holds no key, no secret and no merchant credentials. The merchant credentials stay on your server, which creates the session.
  • Every service address is https; plain http is accepted only for a local mock.
  • The session, the environment and the hooks print a fixed text only: printing or dumping them shows no token and no data.

What your app cannot do

Your app cannotWhy
Read or send card numbers, CVVs, card tokens, contact data, billing values or field valuesThey never leave the SDK
Charge through your own payment providerA custom handler gets amounts, flags and a sealed payload only (section 8)
Replace a block that captures or shows personal data: card form, saved card code, method fields, billing form, bank detailsThese blocks are sealed. You can place them, and hide them where hiding is allowed, but not rebuild them
Read the session from slot contentSlot content gets the slot context only: the snapshot and the commands back(), close() and next() (section 9)
Add a protocol conformance or register a block typeThe SDK has no public protocols and no registries
Show your own text inside SDK screens other than through CashierTextsEvery text the cashier shows comes from texts
See which saved card or account a saved row isA saved row is saved-<n> with an SDK name. Its label, masked number and last digits stay in the SDK
Group sections differently on one page of a paged layoutCashier.Steps has one page per section. Use Cashier.SinglePage
Change the spacing or the type sizesNeither is a value of CashierTheme

Logs to Praxis

The cashier can send operational logs to Praxis, as the web cashier does, so Praxis support can follow a session. Logs are off unless both are true:

  • The environment has an Event Logs address (logsURL). Without it, nothing is sent.
  • The session has session events on. Praxis turns them on or off per session; when they are off the cashier sends nothing for that session.
TopicBehaviour
Where logs goOnly to the Praxis Event Logs API at that address, over HTTPS, one event per request. The session token goes in the request URL, the only place that API reads it; it is never in a log event
What a line holdsThe event group and name (the names of the web cashier), the level, the time and the device time, an ID of this cashier start, the device language and model, the SDK and iOS versions, the layout, the trace ID, the payment method key and type, the transaction status, the name, HTTP status and duration of each call to Praxis, fixed error codes, and a note when the cashier took more than 8 seconds to load
What a line never holdsCard data, the session token or any other secret, a request or response body, a message from the server, or personal data: no name, email, phone, address, IP address, user agent or device identifier
When they are sentThe cashier never waits for logs. At most 5 requests run at a time, each with a 5 second timeout. A request that fails is dropped: logs are never sent again and never stored on the device

Did this page help you?