請求データの表示
個人および法人向け請求のラベル、概要、操作、検証メッセージをカスタマイズします。
Live CustomStyle example
ライブプレビュー
YOURSTORE
Invoice detailsBilling information
IndividualCompany
任意の請求情報ビューでは、加盟店または地域の規制で必要な請求情報を収集します。Payment Link、Payment Widget、完全版 Checkout で利用できます。
設定モデル#
BillingPatternX は、文言をロケール別、次にインターフェース領域別にまとめます。
| エリア | 目的 |
|---|---|
addBillingData | 入口のタイトル、任意ラベル、データ不足エラー |
billingSummary | 概要内の書類ラベルと更新ラベル |
billingView | フォームのタイトルと保存またはキャンセル操作 |
billingWithSameData | 既存の顧客データを再利用するための文言 |
inputs.companyBilling | 法人向けラベル |
inputs.personBilling | 個人向けラベル |
inputs.errors | 共通の検証メッセージ |
設定#
この例は、オブジェクトの構造と代表的なラベルを示します。チェックアウトで必要な項目のみ追加してください。
JSON
{
"BillingPatternX": {
"translations": {
"es": {
"title": "Datos de facturación",
"addBillingData": {
"error": "Ingresa los datos de facturación para continuar.",
"optionalTag": "Opcional",
"title": "Añadir información de facturación"
},
"billingSummary": {
"dni": "Documento",
"update": "Modificar"
},
"billingView": {
"cancel": "Cancelar",
"save": "Guardar cambios",
"title": "Ingresa tu información de facturación"
},
"inputs": {
"companyBilling": {
"label": "Persona jurídica",
"name": { "label": "Razón social" },
"identityDocument": { "label": "Registro fiscal" }
},
"personBilling": {
"label": "Persona física",
"firstName": { "label": "Nombre" },
"lastName": { "label": "Apellido" },
"zipCode": { "label": "Código postal" }
},
"errors": {
"inputRequired": "Campo obligatorio",
"invalidEmail": "Correo electrónico no válido"
}
}
}
}
}
}サポートされるすべてのラベルと国別の本人確認メッセージについては、 請求情報プロパティリファレンス.
結果を確認する#
個人と法人の請求フローを別々にテストします。必須/任意状態、国別の住所・本人情報項目、概要、編集、キャンセル、保存後の保持を確認してください。