PluginProbe ʕ •ᴥ•ʔ
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.1
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.1
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 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8 0.0.9 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.11.0 1.12.0 1.12.1 1.12.2 1.12.3 1.13.0 1.13.1 1.13.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.8.0 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.0 2.5.2 2.6.0
sureforms / inc / blocks / payment / block.json
sureforms / inc / blocks / payment Last commit date
block.json 2 months ago block.php 8 months ago
block.json
154 lines
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