PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
sureforms / inc / blocks / payment / block.json

block.json in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 2.12.8, at inc/blocks/payment/block.json

154 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://json.schemastore.org/block.json",
3 "apiVersion": 3,
4 "name": "srfm/payment",
5 "title": "Payment",
6 "description": "Displays a SureForms Payment Field",
7 "category": "sureforms",
8 "keywords": [ "payment", "stripe", "money", "charge", "billing" ],
9 "textdomain": "sureforms",
10 "supports": {
11 "reusable": false,
12 "html": false,
13 "multiple": false
14 },
15 "example": {
16 "attributes": {
17 "preview": true
18 }
19 },
20 "attributes": {
21 "preview": {
22 "type": "boolean",
23 "default": false
24 },
25 "block_id": {
26 "type": "string"
27 },
28 "required": {
29 "type": "boolean",
30 "default": true
31 },
32 "fieldWidth": {
33 "type": "number",
34 "default": 100
35 },
36 "label": {
37 "type": "string",
38 "default": "Payment"
39 },
40 "help": {
41 "type": "string",
42 "default": ""
43 },
44 "errorMsg": {
45 "type": "string",
46 "default": ""
47 },
48 "formId": {
49 "type": "number",
50 "default": ""
51 },
52 "isConditionalLogic": {
53 "type": "boolean",
54 "default": false
55 },
56 "slug": {
57 "type": "string",
58 "default": ""
59 },
60 "paymentType": {
61 "type": "string",
62 "default": "one-time"
63 },
64 "subscriptionPlan": {
65 "type": "object",
66 "default": {
67 "name": "Subscription Plan",
68 "interval": "month",
69 "billingCycles": "ongoing"
70 }
71 },
72 "customerNameField": {
73 "type": "string",
74 "default": ""
75 },
76 "customerEmailField": {
77 "type": "string",
78 "default": ""
79 },
80 "amountType": {
81 "type": "string",
82 "default": "fixed"
83 },
84 "fixedAmount": {
85 "type": "number",
86 "default": 10
87 },
88 "minimumAmount": {
89 "type": "number",
90 "default": 0
91 },
92 "amountLabel": {
93 "type": "string",
94 "default": "Enter Amount"
95 },
96 "variableAmountField": {
97 "type": "string",
98 "default": ""
99 },
100 "paymentMethods": {
101 "type": "array",
102 "default": ["stripe"]
103 },
104 "paymentDescription": {
105 "type": "string",
106 "default": ""
107 },
108 "oneTimeLabel": {
109 "type": "string",
110 "default": "One-Time Payment"
111 },
112 "subscriptionLabel": {
113 "type": "string",
114 "default": "Subscription"
115 },
116 "defaultPaymentChoice": {
117 "type": "string",
118 "default": "one-time"
119 },
120 "oneTimeAmountType": {
121 "type": "string",
122 "default": "fixed"
123 },
124 "oneTimeFixedAmount": {
125 "type": "number",
126 "default": 10
127 },
128 "oneTimeMinimumAmount": {
129 "type": "number",
130 "default": 0
131 },
132 "oneTimeVariableAmountField": {
133 "type": "string",
134 "default": ""
135 },
136 "subscriptionAmountType": {
137 "type": "string",
138 "default": "fixed"
139 },
140 "subscriptionFixedAmount": {
141 "type": "number",
142 "default": 10
143 },
144 "subscriptionMinimumAmount": {
145 "type": "number",
146 "default": 0
147 },
148 "subscriptionVariableAmountField": {
149 "type": "string",
150 "default": ""
151 }
152 }
153 }
154