{"id":3426,"date":"2014-11-28T13:29:37","date_gmt":"2014-11-28T02:29:37","guid":{"rendered":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?p=3426"},"modified":"2025-01-13T03:28:57","modified_gmt":"2025-01-12T16:28:57","slug":"running-additional-tasks-after-a-sale-via-the-simple-cart-plugin","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426","title":{"rendered":"Running Additional Tasks After a Sale via the Simple Cart Plugin"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You can run some additional tasks after&nbsp;the <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-simple-paypal-shopping-cart\/\" target=\"_blank\" rel=\"noopener\" title=\"\"><strong>simple cart plugin<\/strong><\/a> has processed a sale.<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#ffedbd\"><strong>Note: This should only be tried by a developer as it involves custom PHP coding.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a code snippet demonstrating how to use one of these action hooks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can add this code to the <code>functions.php<\/code> file of your theme or to a custom plugin.<\/p>\n\n\n<div role=\"navigation\" aria-label=\"Table of Contents\" class=\"simpletoc wp-block-simpletoc-toc\"><h2 class=\"simpletoc-title\">Table of Contents<\/h2>\n<ul class=\"simpletoc-list\">\n<li><a href=\"#paypal-commerce-platform\">PayPal Commerce Platform<\/a>\n<\/li>\n<li><a href=\"#paypal-standard\">PayPal Standard<\/a>\n<\/li>\n<li><a href=\"#stripe-checkout\">Stripe Checkout<\/a>\n<\/li><\/ul><\/div>\n\n\n<h2 id=\"paypal-commerce-platform\" class=\"wp-block-heading\">PayPal Commerce Platform<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is example code if you are using the PayPal Commerce Platform (PPCP) checkout option.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_action('wpsc_paypal_checkout_ipn_processed', 'wpsc_custom_post_payment_tasks');\nfunction wpsc_custom_post_payment_tasks($ipn_data)\n{\n    \/\/You can write the $ipn_data array's content to a file.\n    $firstname = $ipn_data['first_name'];\n    $lastname = $ipn_data['last_name'];\n    $email = $ipn_data['payer_email']\n    \/\/TODO - Do something with the data\n}<\/pre>\n\n\n\n<h2 id=\"paypal-standard\" class=\"wp-block-heading\">PayPal Standard<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is example code if you are using the standard PayPal checkout option.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_action('wpsc_paypal_ipn_processed', 'wpsc_pp_ipn_tasks');<br>function wpsc_pp_ipn_tasks($ipn_data)<br>{<br>    \/\/You can write the $ipn_data array's content to a file to see<br>    \/\/what paypal sends in the IPN<br>    $firstname = $ipn_data['first_name'];<br>    $lastname = $ipn_data['last_name'];<br>    $email = $ipn_data['payer_email']<br>    \/\/Do something with the data<br><br>}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The PayPal IPN message&nbsp;consists of variables and is&nbsp;available as an array inside your&nbsp;function. You can access an element of the array by using the proper variable name. To see a list of all the available variables&nbsp;please check the <a href=\"https:\/\/developer.paypal.com\/docs\/classic\/ipn\/integration-guide\/IPNandPDTVariables\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PayPal IPN documentation<\/a> page.<\/p>\n\n\n\n<h2 id=\"stripe-checkout\" class=\"wp-block-heading\">Stripe Checkout<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is example code if you are using the Stripe checkout option.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_action('wpsc_stripe_ipn_processed', 'wpsc_stripe_post_payment_tasks');<br>function wpsc_stripe_post_payment_tasks($ipn_data)<br>{<br>    \/\/You can write the $ipn_data array's content to a file.<br>    $firstname = $ipn_data['first_name'];<br>    $lastname = $ipn_data['last_name'];<br>    $email = $ipn_data['payer_email']<br>    \/\/TODO - Do something with the data<br>}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can run some additional tasks after&nbsp;the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[30],"tags":[196,173,24,32],"class_list":["post-3426","post","type-post","status-publish","format-standard","category-wordpress-shopping-cart","tag-code-example","tag-e-commerce","tag-tweaks","tag-wp-shopping-cart","entry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"wpcommerce\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tips and Tricks WP eCommerce | eCommerce Solution for WordPress Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce\" \/>\n\t\t<meta property=\"og:description\" content=\"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-11-28T02:29:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-01-12T16:28:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce\" \/>\n\t\t<meta name=\"twitter:description\" content=\"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#article\",\"name\":\"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce\",\"headline\":\"Running Additional Tasks After a Sale via the Simple Cart Plugin\",\"author\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/wpcommerce#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\"},\"datePublished\":\"2014-11-28T13:29:37+11:00\",\"dateModified\":\"2025-01-13T03:28:57+11:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage\"},\"articleSection\":\"WordPress Shopping Cart, code example, e-commerce, Tweaks, WP Shopping Cart\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"name\":\"WordPress Shopping Cart\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"position\":2,\"name\":\"WordPress Shopping Cart\",\"item\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#listItem\",\"name\":\"Running Additional Tasks After a Sale via the Simple Cart Plugin\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#listItem\",\"position\":3,\"name\":\"Running Additional Tasks After a Sale via the Simple Cart Plugin\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/category\\\/wordpress-shopping-cart#listItem\",\"name\":\"WordPress Shopping Cart\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\",\"name\":\"Tips and Tricks WP eCommerce\",\"description\":\"eCommerce Solution for WordPress Blog\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/wpcommerce#author\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/wpcommerce\",\"name\":\"wpcommerce\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/64798b32ca2175675c93de1b5978bc875bcca7d8708b026fcc5aada40ada04a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"wpcommerce\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426\",\"name\":\"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce\",\"description\":\"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/wpcommerce#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/author\\\/wpcommerce#author\"},\"datePublished\":\"2014-11-28T13:29:37+11:00\",\"dateModified\":\"2025-01-13T03:28:57+11:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#website\",\"url\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/\",\"name\":\"Tips and Tricks WP eCommerce\",\"description\":\"eCommerce Solution for WordPress Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tipsandtricks-hq.com\\\/ecommerce\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce","description":"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a","canonical_url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#article","name":"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce","headline":"Running Additional Tasks After a Sale via the Simple Cart Plugin","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/wpcommerce#author"},"publisher":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization"},"datePublished":"2014-11-28T13:29:37+11:00","dateModified":"2025-01-13T03:28:57+11:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage"},"isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage"},"articleSection":"WordPress Shopping Cart, code example, e-commerce, Tweaks, WP Shopping Cart"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#listItem","position":1,"name":"Home","item":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","name":"WordPress Shopping Cart"}},{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","position":2,"name":"WordPress Shopping Cart","item":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#listItem","name":"Running Additional Tasks After a Sale via the Simple Cart Plugin"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#listItem","position":3,"name":"Running Additional Tasks After a Sale via the Simple Cart Plugin","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart#listItem","name":"WordPress Shopping Cart"}}]},{"@type":"Organization","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization","name":"Tips and Tricks WP eCommerce","description":"eCommerce Solution for WordPress Blog","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/wpcommerce#author","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/wpcommerce","name":"wpcommerce","image":{"@type":"ImageObject","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/64798b32ca2175675c93de1b5978bc875bcca7d8708b026fcc5aada40ada04a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"wpcommerce"}},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#webpage","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426","name":"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce","description":"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#website"},"breadcrumb":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426#breadcrumblist"},"author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/wpcommerce#author"},"creator":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/author\/wpcommerce#author"},"datePublished":"2014-11-28T13:29:37+11:00","dateModified":"2025-01-13T03:28:57+11:00"},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/","name":"Tips and Tricks WP eCommerce","description":"eCommerce Solution for WordPress Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tips and Tricks WP eCommerce | eCommerce Solution for WordPress Blog","og:type":"article","og:title":"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce","og:description":"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a","og:url":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426","article:published_time":"2014-11-28T02:29:37+00:00","article:modified_time":"2025-01-12T16:28:57+00:00","twitter:card":"summary","twitter:title":"Running Additional Tasks After a Sale via the Simple Cart Plugin | Tips and Tricks WP eCommerce","twitter:description":"You can run some additional tasks after the simple cart plugin has processed a sale. Note: This should only be tried by a developer as it involves custom PHP coding. The plugin includes action hooks that are triggered after the checkout data is processed. These hooks allow you to perform additional custom tasks. Below is a"},"aioseo_meta_data":{"post_id":"3426","title":"Running Additional Tasks After a Sale via the Simple Cart Plugin | #site_title","description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2021-05-12 02:34:55","updated":"2026-08-02 13:05:25","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart\" title=\"WordPress Shopping Cart\">WordPress Shopping Cart<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRunning Additional Tasks After a Sale via the Simple Cart Plugin\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/"},{"label":"WordPress Shopping Cart","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/category\/wordpress-shopping-cart"},{"label":"Running Additional Tasks After a Sale via the Simple Cart Plugin","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/running-additional-tasks-after-a-sale-via-the-simple-cart-plugin-3426"}],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/comments?post=3426"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/3426\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/media?parent=3426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/categories?post=3426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/tags?post=3426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}