Appearance
Payload branch "payment"
Every checkout does require a sort of "payment method", which is always inferred in this branch (event special/free purchase without "payments");
Let's review an example:
js
{
"context": "...",
"event": "...",
"checkout_step": "...",
"attributes": {...},
"products": [...],
"carrier": {...},
"payment": {
"id": 1,
"name": "Paypal",
"module": "paypal",
"online": true
},
"delivery": {...},
"billing": {...},
"user": {...},
"engagements": {...}
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
id | int | Unique payment method id (cross-tenant) |
name | string | Payment method name (translated) |
module | string | Internal gateway used (cross-tenant) |
online | boolean | Payment method requires an external gateway/redirect |