Skip to content

Instantly share code, notes, and snippets.

@timiwahalahti
Last active February 11, 2025 08:12
Show Gist options
  • Save timiwahalahti/8e94edc41d7c97393772bc0eea3ea5d7 to your computer and use it in GitHub Desktop.
Save timiwahalahti/8e94edc41d7c97393772bc0eea3ea5d7 to your computer and use it in GitHub Desktop.
verifone-plugin-working-blueprint.json
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "EM Test",
"description": "EM Test.",
"author": "sippis",
"categories": []
},
"login": true,
"siteOptions": {
"blogname": "Verifone plugin blueprint"
},
"plugins": [
"woocommerce"
],
"landingPage": "/wp-admin/plugins.php",
"steps": [
{
"step": "unzip",
"zipFile": {
"resource": "url",
"url": "https://www.bluecommerce.fi/wp-content/uploads/verifone_modules/woocommerce/verifone-plugin_woocommerce.zip"
},
"extractToPath": "/wordpress/verifone-plugin_woocommerce"
},
{
"step": "installPlugin",
"pluginData": {
"resource": "vfs",
"path": "/wordpress/verifone-plugin_woocommerce/woocommerce-gateway-verifone-1.5.0.zip"
}
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://raw.githubusercontent.com/woocommerce/woocommerce/master/plugins/woocommerce/sample-data/sample_products.xml"
}
},
{
"step": "installTheme",
"themeData": {
"resource": "wordpress.org/themes",
"slug": "storefront"
}
},
{
"step": "activatePlugin",
"pluginName": "WooCommerce",
"pluginPath": "woocommerce/woocommerce.php"
},
{
"step": "activatePlugin",
"pluginName": "Gateway",
"pluginPath": "woocommerce-gateway-verifone/woocommerce-gateway-verifone.php"
},
{
"step": "activateTheme",
"themeFolderName": "storefront"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment