Olly

Forum Replies Created

Viewing 20 posts - 461 through 480 (of 4,430 total)
  • Author
    Posts
  • in reply to: Timed Menu (not working) #53431
    Olly
    Admin & Mod

      without a link / url to your site, i can not comment really

      in reply to: Auto print – add how many pages to print #53421
      Olly
      Admin & Mod

        >will it work?
        No. you *must* find the right $order_details parameter according to your requirements.
        $order_details['ordervars']['{some-order-value}']['value'] is just a dummy/placeholder (it doesn’t even exist in the $order_details array)

        in reply to: Pre-Order and Timed Menu dont work together #53420
        Olly
        Admin & Mod

          as of v3.4 of the preorder plugin this should work again I believe
          thanks for flagging it

          in reply to: Saferpay #53411
          Olly
          Admin & Mod

            Hi

            can you please send me an email to dev[at]wp-pizza.com with this topic as a reference ?

            thanks

            in reply to: Same Gateway Twice #53408
            Olly
            Admin & Mod

              Just to add to this here (for completeness sake I guess)

              Even though it may be permitted to add surcharges by your particular country’s law, it might not necessarily be permitted by the agreement of the payment processor in question !

              PayPal for example expressly forbid surcharges in their agreements and I hazard a guess others – like Apple Pay etc – will have the same restrictions, but of course it will depend on each payment processor as to what their exact T&C’s are .

              Just saying.

              in reply to: Auto print – add how many pages to print #53389
              Olly
              Admin & Mod

                >how should i write the code?

                you should write it depending on the parameters you will find in $order_details (it should be quite obvious what is what if you output that array somewhere ) and your requirements/conditionals as needed.

                I don’t understand the question here

                in reply to: Pre-Order and Timed Menu dont work together #53372
                Olly
                Admin & Mod

                  i’ll have to check. will take a bit though no doubt

                  in reply to: Other Date and Time formats #53368
                  Olly
                  Admin & Mod

                    added as of 3.3.4
                    (but not “Uhr” – not for the time being anyway – as this is not a universal thing )

                    in reply to: Auto print – add how many pages to print #53361
                    Olly
                    Admin & Mod

                      @petroni417
                      you might want to also have a look here then to start off with
                      https://docs.wp-pizza.com/developers/?section=filters-actions-functions

                      in reply to: 403 error via Stripe (or any payment gateway) #53318
                      Olly
                      Admin & Mod

                        >In any case: thanks again so much for your personal support here!!
                        you’re welcome

                        in reply to: 403 error via Stripe (or any payment gateway) #53317
                        Olly
                        Admin & Mod

                          happy to have gotten to the root cause of this finally and having it here on the forum is most certainly a good place to perhaps help others
                          (or even if it’s just for myself at some point to look up again)

                          most of the time, hosters/host support are quite helpful though with these sort of things
                          (I don’t want to – yet – randomly accuse people here :-) )

                          in reply to: 403 error via Stripe (or any payment gateway) #53315
                          Olly
                          Admin & Mod

                            >I did some digging in the backend…and in a sub-sub menu found an error log for the hoster…probably is not caching but rather some security protocol that they have running, no?

                            and there is your problem.
                            i.e it’s ‘mod_sec’ (mod security) throwing a false positive , only your host will be able to fix this (having had a bit of a rummage through some sites , and seeing the id being “33340156” (according to your logs), there might be a way to bypass things for this particular mod sec rule (htaccess or some other way)
                            but that’s really something you have to take up with your host

                            PS: and before you come back to me telling me that your host says “it’s insecure so we will not do anything about this”
                            ask them why the *same* script works the next time round when you increase/decrease the quantity after you’ve deleted an item
                            (not to mention it’s working just fine for thousands of users and i have mod_sec too installed here without any such issues)

                            in reply to: 403 error via Stripe (or any payment gateway) #53312
                            Olly
                            Admin & Mod

                              perhaps you can also ask your host if there is *any* kind of serverside caching going on

                              in reply to: 403 error via Stripe (or any payment gateway) #53311
                              Olly
                              Admin & Mod

                                thanks for getting it to the bare bones – i’d also suggest you disable all additional other gateways (though i dont think it’s caused by those either, but makes things easier)

                                in any even though, what happens is this in all circumstances:

                                you put a few things in the cart,
                                lets say here https://pizza.taverne.at/speisekarte/pizza/ I am adding
                                3x Käse-Pizza
                                6x Margherita Pizza 21cm
                                1x Margherita Pizza Ø 31cm

                                and i can add / remove / alter as i like. so far so good

                                when i now go to the order page (https://pizza.taverne.at/orders/)
                                i can see all those things in the cart as expected
                                if i now try to change *any* quantity (up or down) it throws the 403
                                if i *delete* one of the items i can subsequently change things as needed
                                and do whatever i like after that it seems

                                this somehow looks to me like a db and/or cache and/or session issue

                                check this :
                                a) clear your cache
                                b) put something into cart
                                c) go to orderpage
                                d) STOP doing anything else
                                e) check the [prefix]_wppizza_orders table for a new entry (corresponding to the current time if you already have orders in there, alternatively truncate that table beforehand so it’s easier to see)
                                f)if there’s nothing in there, than there’s the issue – i.e a db entry has to be added when a user goes to the order page the first time
                                g) let me know and we’ll see if we can pin things down a bit further perhaps

                                can you also please post your wppizza->tools->system output here separately ? (make it “set as private” if you want)

                                in reply to: Same Gateway Twice #53310
                                Olly
                                Admin & Mod

                                  another take (from the uk gov no less – in 2018 – so way before Brexit)
                                  https://www.gov.uk/government/news/card-surcharge-ban-means-no-more-nasty-surprises-for-shoppers
                                  there’s no gray area here according to this. i.e unequivocally no surcharging for paypal !
                                  Again, this seems different per country somewhat so it would be for you to find out what the story is in your particular case …. just passing on info

                                  in reply to: Same Gateway Twice #53309
                                  Olly
                                  Admin & Mod

                                    re surcharges:

                                    as I understand it, it varies between countries (and even within countries there seem to be discussions – just as a random link, see here https://www.osborneclarke-fintech.com/2019/11/15/are-surcharges-for-paypal-and-sofort-transactions-in-germany-allowed/)
                                    in any event, the terms and conditions of most third-party providers already prohibit you from surcharging end customers for using their services.(i.e Paypal and I assume Apple does the same)

                                    Disclaimr: I am not a lawyer of course and am only following these things out of interest. What you decide to do is your decision naturally. I’m just passing on info or indeed voice my opinion (which may or may not be correct)

                                    in reply to: Same Gateway Twice #53305
                                    Olly
                                    Admin & Mod

                                      generally, you could copy the gateway and rename all relevant ‘mollie’ instances/strings to something else (you cannot ever have the same class multiple times. it will never work)

                                      other than that, if I understand you correctly, you want to add surcharges depending on payment method.
                                      If you are in the EU this is illegal (since 2018) – though scope varies from country to country as I understand it

                                      in reply to: Auto print – add how many pages to print #53296
                                      Olly
                                      Admin & Mod
                                        in reply to: 403 error via Stripe (or any payment gateway) #53292
                                        Olly
                                        Admin & Mod

                                          >I have now added a removal script for Jquery and a plugin “Updating Jquery” to try to make sure latest is loaded
                                          except that it made no difference. you are still loading the same stuff

                                          i would also seriously suggest you do not load an external jquery library but use the one wp provides
                                          (at least until you know it all works)
                                          have a read here: https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/

                                          and generally of course:
                                          have you disabled all other non-wppizza plugins and used a default theme ?
                                          do you still have the same issue if you do ?

                                          in reply to: Auto print – add how many pages to print #53281
                                          Olly
                                          Admin & Mod

                                            @petroni417
                                            it’s not very likely that there will be an y extra fields along those lines (as no doubt everyone will want something different based on different things)
                                            However, I am happy to add a filter to the plugin in an update that allows people to set printids on whatever order value they want to base it on

                                          Viewing 20 posts - 461 through 480 (of 4,430 total)