jfwiebe / pretix-wp-plugin Goto Github PK
View Code? Open in Web Editor NEWPlugin to integrate a pretix ticketing system into a Wordpress page
License: Apache License 2.0
Plugin to integrate a pretix ticketing system into a Wordpress page
License: Apache License 2.0
When using more than one language in Pretix, the WordPress widget won't work. I assume the reason is an added language selector in the script name which I can see when generating the widget code via Pretix:
English version: <script type=“text/javascript” src=“https://ticket.bonn.digital/widget/v1.en.js” async></script>
German version: <script type=“text/javascript” src=“https://ticket.bonn.digital/widget/v1.de-informal.js” async></script>
FYI for people watching this repo: We have just released a public beta for a more feature-rich plugin with Gutenberg integration: https://github.com/pretix/pretix-widget-wordpress
The plugin does not support pre-selecting a voucher.
Currently, the plugin is only able to show the shop of one event within a WordPress instance. It would be great to have multiple shops within one site.
Fuckupnights are a row of events. (Veranstaltungsreihe).
When I add the shortcode [pretix-widget eventurl="https://ticket.bonn.digital/bonndigital/fuckupnights/"] the shop isn't shown.
When I add the shortcode [pretix-widget eventurl="https://ticket.bonn.digital/bonndigital/fuckupnights/2/"] (because it is the second event of the row) the show appears.
When I put one ticket into the cart and want to continue I get this error message:
"No date was specified"
The plugin does not support pretix instances websites running on http. This is not recommended for production environments, but should be implemented for testing purposes.
See the pretix docs for more information on this.
I installed the plugin, created a shortcode and pretix was visible. But after loading I got an error (instead of the ticket shop:
[Error] Origin https://test.bonn.digital is not allowed by Access-Control-Allow-Origin.
[Error] Failed to load resource: Origin https://test.bonn.digital is not allowed by Access-Control-Allow-Origin. (product_list, line 0)
[Error] XMLHttpRequest cannot load https://ticket.bonn.digital/bonndigital/fuckupnights/widget/product_list?lang=de-informal due to access control checks.
[Error]
I tried out different configurations of CORS in nginx, but didn't succed. Thanks for the plugin, and thanks for the help! 👍
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.