{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 1,
    "name": "jetpack/simple-payments",
    "title": "Pay with PayPal",
    "description": "Add credit and debit card payment buttons with minimal setup. Good for collecting donations or payments for products and services.",
    "keywords": [
        "buy",
        "commerce",
        "credit card",
        "debit card",
        "earn",
        "ecommerce",
        "money",
        "paid",
        "payments",
        "products",
        "purchase",
        "sell",
        "shop",
        "square",
        "payments"
    ],
    "version": "12.5.0",
    "textdomain": "jetpack",
    "category": "earn",
    "icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path fill='none' d='M0 0h24v24H0V0z' /><path d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z' /></svg>",
    "supports": {
        "className": false,
        "customClassName": false,
        "html": false,
        "reusable": false
    },
    "attributes": {
        "currency": {
            "type": "string",
            "default": "DEFAULT_CURRENCY"
        },
        "content": {
            "type": "string",
            "source": "html",
            "selector": ".jetpack-simple-payments-description p",
            "default": ""
        },
        "email": {
            "type": "string",
            "default": ""
        },
        "featuredMediaId": {
            "type": "number",
            "default": 0
        },
        "featuredMediaUrl": {
            "type": "string",
            "source": "attribute",
            "selector": ".jetpack-simple-payments-image img",
            "attribute": "src",
            "default": null
        },
        "featuredMediaTitle": {
            "type": "string",
            "source": "attribute",
            "selector": ".jetpack-simple-payments-image img",
            "attribute": "alt",
            "default": null
        },
        "multiple": {
            "type": "boolean",
            "default": false
        },
        "postLinkUrl": {
            "type": "string",
            "source": "attribute",
            "selector": ".jetpack-simple-payments-purchase",
            "attribute": "href"
        },
        "postLinkText": {
            "type": "string",
            "source": "html",
            "selector": ".jetpack-simple-payments-purchase",
            "default": "Click here to purchase."
        },
        "price": {
            "type": "number"
        },
        "productId": {
            "type": "number"
        },
        "title": {
            "type": "string",
            "source": "html",
            "selector": ".jetpack-simple-payments-title p",
            "default": ""
        }
    },
    "example": {
        "attributes": {
            "price": 25,
            "title": "Jetpack t-shirt",
            "content": "Take flight in ultimate comfort with this stylish t-shirt featuring the Jetpack logo.",
            "email": "jetpack@jetpack.com",
            "featuredMediaUrl": "./simple-payments_example-1.jpg"
        }
    },
    "editorScript": "jetpack-blocks-editor"
}