{"id":1026643,"date":"2015-11-16T15:55:15","date_gmt":"2015-11-16T23:55:15","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/"},"modified":"2016-02-18T08:31:44","modified_gmt":"2016-02-18T16:31:44","slug":"setting-default-eventbrite-payment-information","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/","title":{"rendered":"Setting default Eventbrite payment information"},"content":{"rendered":"<p>After updating to the latest versions of EC (3.12.6) and Eventbrite tickets (3.12.1) I am having issues publishing events.<\/p>\n<p>Here is the error that shows: http:\/\/imgur.com\/wJTMvuv<br \/>\nHere is the edit event screen within Eventbrite with the missing information: http:\/\/imgur.com\/WXWZxLC<\/p>\n<p>Here is the code within functions.php to set the currency:<\/p>\n<pre><code>add_action( &#039;tribe_eb_after_event_creation&#039;, &#039;my_change_tribe_eventbrite_currency&#039;, 10, 4 );\n \nfunction my_change_tribe_eventbrite_currency( $eventbrite_id, $venue_id, $organizer_id, $post_id ) {\n    $currency_acro = &#039;AUD&#039;;\n    $parameters = &#039;id=&#039; . $eventbrite_id . &#039;&amp;currency=&#039; . $currency_acro . &#039;&amp;listed=true&amp;shareable=true&#039;;\n    $success = Event_Tickets_PRO::instance()-&gt;sendEventBriteRequest( &#039;event_update&#039;, $parameters, $post_id, true, true, false );\n \n    if ( !$success ) {\n        add_filter( &#039;tribe_eb_error_message&#039;, &#039;my_change_tribe_eventbrite_currency_failed&#039; );\n    }\n}\n \nfunction my_change_tribe_eventbrite_currency_failed() {\n    return &#039;Failed to update the currency.&#039;;\n} <\/code><\/pre>\n<p>As you can see the action should be updating the payment currency to AUD which it appears to not be doing. I also cannot find a way to set a default PayPal email within EC settings or within Eventbrite.<\/p>\n<p>So 3 questions:<\/p>\n<ul>\n<li>Can the email be set by default to always be the same?<\/li>\n<li>Why would the above code not be updating the currency correctly?<\/li>\n<li>How can the &#8220;in which country will you be paid&#8221; section be set to Australia?<\/li>\n<\/ul>\n<p>Cheers,<br \/>\nScott<\/p>\n","protected":false},"template":"","class_list":["post-1026643","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>Setting default Eventbrite payment information -<\/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\/setting-default-eventbrite-payment-information\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting default Eventbrite payment information -\" \/>\n<meta property=\"og:description\" content=\"After updating to the latest versions of EC (3.12.6) and Eventbrite tickets (3.12.1) I am having issues publishing events. Here is the error that shows: http:\/\/imgur.com\/wJTMvuv Here is the edit event screen within Eventbrite with the missing information: http:\/\/imgur.com\/WXWZxLC Here is the code within functions.php to set the currency: add_action( &#039;tribe_eb_after_event_creation&#039;, &#039;my_change_tribe_eventbrite_currency&#039;, 10, 4 ); [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:31:44+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\/setting-default-eventbrite-payment-information\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/\",\"name\":\"Setting default Eventbrite payment information -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-11-16T23:55:15+00:00\",\"dateModified\":\"2016-02-18T16:31:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/#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\":\"Eventbrite Tickets\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Setting default Eventbrite payment information\"}]},{\"@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":"Setting default Eventbrite payment information -","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\/setting-default-eventbrite-payment-information\/","og_locale":"en_US","og_type":"article","og_title":"Setting default Eventbrite payment information -","og_description":"After updating to the latest versions of EC (3.12.6) and Eventbrite tickets (3.12.1) I am having issues publishing events. Here is the error that shows: http:\/\/imgur.com\/wJTMvuv Here is the edit event screen within Eventbrite with the missing information: http:\/\/imgur.com\/WXWZxLC Here is the code within functions.php to set the currency: add_action( &#039;tribe_eb_after_event_creation&#039;, &#039;my_change_tribe_eventbrite_currency&#039;, 10, 4 ); [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/","article_modified_time":"2016-02-18T16:31:44+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\/setting-default-eventbrite-payment-information\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/","name":"Setting default Eventbrite payment information -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-11-16T23:55:15+00:00","dateModified":"2016-02-18T16:31:44+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/setting-default-eventbrite-payment-information\/#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":"Eventbrite Tickets","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/"},{"@type":"ListItem","position":5,"name":"Setting default Eventbrite payment information"}]},{"@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\/1026643","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\/1026643\/revisions"}],"predecessor-version":[{"id":1026644,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1026643\/revisions\/1026644"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1026643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}