{"id":1108361,"date":"2016-04-28T11:08:05","date_gmt":"2016-04-28T18:08:05","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/"},"modified":"2016-04-28T14:07:25","modified_gmt":"2016-04-28T21:07:25","slug":"tickets-wont-save-on-custom-post-types","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/","title":{"rendered":"Tickets won&#039;t save on custom post types&#8230;"},"content":{"rendered":"<p><strong>Support Direction Needed<\/strong><br \/>\nI am trying to figure out if my question below is a bug in the plugin, our code, or simply not possible at this time.  The threads I list below all say it is possible and that the issue has been resolved.  I&#8217;m running all the latest plugin version.  I really don&#8217;t know what direction to take at this point, so close yet so far from?!?<\/p>\n<p>http:\/\/tetonbikefest.org uses a theme iVent.  We have built custom post types for &#8216;speakers&#8217; and &#8216;sessions&#8217; which can be selected with an event scheduler (ACF) within Events Calendar Pro posts.  This all works very well, and we hope to extend it with categories that work as session tracks.  P.S. I&#8217;m making this all very general in hopes it&#8217;s reusable for other multi-day-multi-agenda events.<\/p>\n<p>The custom post types &#8216;tribe_speakers&#8217; and &#8216;tribe_sessions&#8217; are registering with Events Calendar Pro and available to add the Tickets option on Events Calendar Pro Tickets settings page.  This makes the &#8216;Add Ticket&#8217; meta fields section available in each of the the custom post type, posts.<\/p>\n<p>Everything looks so rose colored at this point.  The problem is that when I add a ticket and attempt to save the ticket the expected nonce is not being returned and I get the error &#8220;success&#8221;:false,&#8221;message&#8221;:&#8221;Cheatin&#8217; huh?&#8221;<\/p>\n<p><a href=\"http:\/\/tetonbikefest.org\/tribe_session\/mountain-bike-fundamentals\/\" target=\"_blank\">http:\/\/tetonbikefest.org\/tribe_session\/mountain-bike-fundamentals\/<\/a><\/p>\n<p>Tickets save fine on the default ticket page:  <a href=\"http:\/\/tetonbikefest.org\/festival-event\/test\/\" target=\"_blank\">http:\/\/tetonbikefest.org\/festival-event\/test\/<\/a><\/p>\n<p>From Modern Tribe (say it should work now)<br \/>\n<a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type-2\/\" target=\"_blank\">https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type-2\/<\/a><br \/>\n<a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type-3\/\" target=\"_blank\">https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type-3\/<\/a><br \/>\n<a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type\/#post-1077164\" target=\"_blank\">https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-ticket-plus-not-working-with-custom-post-type\/#post-1077164<\/a><\/p>\n","protected":false},"template":"","class_list":["post-1108361","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tickets won&#039;t save on custom post types... -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tickets won&#039;t save on custom post types... -\" \/>\n<meta property=\"og:description\" content=\"Support Direction Needed I am trying to figure out if my question below is a bug in the plugin, our code, or simply not possible at this time. The threads I list below all say it is possible and that the issue has been resolved. I&#8217;m running all the latest plugin version. I really don&#8217;t [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-28T21:07:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/\",\"name\":\"Tickets won&#039;t save on custom post types... -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-04-28T18:08:05+00:00\",\"dateModified\":\"2016-04-28T21:07:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Tickets won&#039;t save on custom post types&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tickets won&#039;t save on custom post types... -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/","og_locale":"en_US","og_type":"article","og_title":"Tickets won&#039;t save on custom post types... -","og_description":"Support Direction Needed I am trying to figure out if my question below is a bug in the plugin, our code, or simply not possible at this time. The threads I list below all say it is possible and that the issue has been resolved. I&#8217;m running all the latest plugin version. I really don&#8217;t [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/","article_modified_time":"2016-04-28T21:07:25+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/","name":"Tickets won&#039;t save on custom post types... -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-04-28T18:08:05+00:00","dateModified":"2016-04-28T21:07:25+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tickets-wont-save-on-custom-post-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Tickets won&#039;t save on custom post types&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1108361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1108361\/revisions"}],"predecessor-version":[{"id":1108370,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1108361\/revisions\/1108370"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1108361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}