block.json
34 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "surecart/payment", |
| 4 | "title": "Payment", |
| 5 | "description": "Display payment options", |
| 6 | "category": "surecart", |
| 7 | "keywords": ["credit", "card", "paypal", "stripe"], |
| 8 | "textdomain": "surecart", |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false, |
| 13 | "multiple": false |
| 14 | }, |
| 15 | "attributes": { |
| 16 | "disabled_methods": { |
| 17 | "type": "array" |
| 18 | }, |
| 19 | "secure_notice": { |
| 20 | "type": "string", |
| 21 | "default": "This is a secure, encrypted payment." |
| 22 | }, |
| 23 | "label": { |
| 24 | "type": "string", |
| 25 | "default": "Payment" |
| 26 | }, |
| 27 | "default_processor": { |
| 28 | "type": "string", |
| 29 | "default": "stripe" |
| 30 | } |
| 31 | }, |
| 32 | "usesContext": ["surecart/form/mode"] |
| 33 | } |
| 34 |