PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.6.0
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.6.0
1.6.0 1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
suredonation / inc / blocks / payment / block.json

block.json in SureDonation – Donation Forms, Fundraising Campaigns & Donor Management 1.6.0, at inc/blocks/payment/block.json

169 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "suredonation/payment",
5 "title": "Payment",
6 "description": "Displays a SureDonation Payment Field",
7 "category": "suredonation",
8 "keywords": [ "payment", "stripe", "money", "charge", "billing" ],
9 "textdomain": "suredonation",
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": 0
51 },
52 "slug": {
53 "type": "string",
54 "default": ""
55 },
56 "paymentType": {
57 "type": "string",
58 "default": "one-time"
59 },
60 "subscriptionPlan": {
61 "type": "object",
62 "default": {
63 "name": "Subscription Plan",
64 "interval": "month",
65 "billingCycles": "ongoing"
66 }
67 },
68 "customerNameField": {
69 "type": "string",
70 "default": ""
71 },
72 "customerEmailField": {
73 "type": "string",
74 "default": ""
75 },
76 "customerPhoneField": {
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 "oneTimeLabel": {
101 "type": "string",
102 "default": "One-Time Payment"
103 },
104 "subscriptionLabel": {
105 "type": "string",
106 "default": "Subscription"
107 },
108 "defaultPaymentChoice": {
109 "type": "string",
110 "default": "one-time"
111 },
112 "recurringToggleLabel": {
113 "type": "string",
114 "default": "Make this a recurring donation"
115 },
116 "oneTimeAmountType": {
117 "type": "string",
118 "default": "fixed"
119 },
120 "oneTimeFixedAmount": {
121 "type": "number",
122 "default": 10
123 },
124 "oneTimeMinimumAmount": {
125 "type": "number",
126 "default": 0
127 },
128 "oneTimeVariableAmountField": {
129 "type": "string",
130 "default": ""
131 },
132 "subscriptionAmountType": {
133 "type": "string",
134 "default": "fixed"
135 },
136 "subscriptionFixedAmount": {
137 "type": "number",
138 "default": 10
139 },
140 "subscriptionMinimumAmount": {
141 "type": "number",
142 "default": 0
143 },
144 "subscriptionVariableAmountField": {
145 "type": "string",
146 "default": ""
147 },
148 "className": {
149 "type": "string",
150 "default": ""
151 },
152 "customClasses": {
153 "type": "string",
154 "default": ""
155 },
156 "gateway": {
157 "type": "string",
158 "default": "stripe"
159 },
160 "paymentMethods": {
161 "type": "array",
162 "items": {
163 "type": "string"
164 },
165 "default": ["stripe"]
166 }
167 }
168 }
169