Git Product home page Git Product logo

Comments (7)

pc-coholic avatar pc-coholic commented on June 20, 2024

Oh - how is this repository still only - it should have been archived a long time ago...

The items-endpoint should still exist as before: https://docs.pretix.eu/en/latest/api/resources/items.html#get--api-v1-organizers-(organizer)-events-(event)-items-

What's the exact path that you're calling and what's the error-message you're getting?

from de.pccoholic.pretix.cashpoint.

pc-coholic avatar pc-coholic commented on June 20, 2024

Also - if you are located in Germany - please do not use this approach for marking things as paid.

With the introduction of the Kassensicherungs-Verordnung there are very strict requirements about using a "Technische Sicherheitseinrichtung" (TSE/Fiscal Element) whenever accepting cash and using technology to provide services. Unless you plan on adding a TSE to this app, using it will be not legal in Germany and could make you liable to very hefty fines as well as back-taxes, reviews, etc.

Please use pretxPOS instead in that case.

from de.pccoholic.pretix.cashpoint.

frigtul avatar frigtul commented on June 20, 2024

Wow thats was a fast responce. I'm using the path "baseURL/api/v1/organizers/" + organizer + "/events/" + event + "/items/"

Error Message: Error - Getting Items
Something went wrong getting the items

from de.pccoholic.pretix.cashpoint.

pc-coholic avatar pc-coholic commented on June 20, 2024

Well, seems like past me built some excellent code™ that ding't care much for properly exposing the real issues and stacktraces...

Perhaps try adding an e.printStackTrace() in the catch-block of

That should give you a better idea what is failing.

If I were to guess, it's probably something with the handling of the language if there is only a single language enabled in the shop...

from de.pccoholic.pretix.cashpoint.

frigtul avatar frigtul commented on June 20, 2024

Thanks, language handeling seems to be the problem. The language shortcodes are based on? What would be the shortcode for German Formal?

from de.pccoholic.pretix.cashpoint.

pc-coholic avatar pc-coholic commented on June 20, 2024

German Formal should be de, Geman informal de_Informal

If you have an active pretix backend session, you can also access the items-endpoint in your webbrowser and just have a look at the returned JSON.

from de.pccoholic.pretix.cashpoint.

frigtul avatar frigtul commented on June 20, 2024

Fantastic. That helps a lot. Thanks for the incredibly fast replies. Have a awesome weekend!.

from de.pccoholic.pretix.cashpoint.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.