PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.1.0
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.1.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.1.0, at inc/blocks/payment/block.json

117 lines 1.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 "amountType": {
77 "type": "string",
78 "default": "fixed"
79 },
80 "fixedAmount": {
81 "type": "number",
82 "default": 10
83 },
84 "minimumAmount": {
85 "type": "number",
86 "default": 0
87 },
88 "amountLabel": {
89 "type": "string",
90 "default": "Enter Amount"
91 },
92 "variableAmountField": {
93 "type": "string",
94 "default": ""
95 },
96 "className": {
97 "type": "string",
98 "default": ""
99 },
100 "customClasses": {
101 "type": "string",
102 "default": ""
103 },
104 "gateway": {
105 "type": "string",
106 "default": "stripe"
107 },
108 "paymentMethods": {
109 "type": "array",
110 "items": {
111 "type": "string"
112 },
113 "default": ["stripe"]
114 }
115 }
116 }
117