Olly

Forum Replies Created

Viewing 20 posts - 681 through 700 (of 4,430 total)
  • Author
    Posts
  • in reply to: Stripe Error #48856
    Olly
    Admin & Mod
      This reply has been marked as private.
      in reply to: Stripe Error #48854
      Olly
      Admin & Mod

        >Debug now looks like this for reference
        thanks, no need for that though. i can see this myself
        let me see if i can reproduce this behaviour here first of all.
        will get back to you when i know more – might take a bit of time though

        in reply to: Stripe Error #48842
        Olly
        Admin & Mod

          >Just looked at debug file again, the error seems to be anytime anyone looks at the order page
          ok, that gives me a starting point perhaps and i might be able to figure something out from there
          other than the memory limit i talked about above, leave it as is for the moment –

          you are closed anyway right now if i’m not mistaken, so you might get these errors sent to you while i try to pin things down , but you can ignore them for now (as you are closed)

          in reply to: Stripe Error #48840
          Olly
          Admin & Mod

            i would suggest you increase the memory limit too
            40M is fine for a simple blog that doesnt do much
            anything more than that (like ecommerce for example) i’d do 128M minimum
            though wppizza has quite a small footprint on that front – https://plugintests.com/plugins/wppizza/latest
            putting themes and different plugins alltogether will probably require more

            that’s not just a wppizza thing, but generally the case.
            i dont think any other ecommerce plugin – woocomerce at all – will recommend anything less than 128 here

            in reply to: Stripe Error #48835
            Olly
            Admin & Mod

              the first thing that’s puzzeling here is this

              those notices/errors there relate to the checkout process
              how can there be any checkout payment related (i.e stripe) notices at all
              at [13-May-2020 16:32:46 UTC]

              if your shop closes at 14:00 PM UK (that would make it 15:00 UTC)

              something is not right here…

              i would certainly suggest you enable debug like in the link i sent above
              your current info tells me it’s still off, so there’s probably not all the error info in the debug.log

              in reply to: Stripe Error #48832
              Olly
              Admin & Mod

                thanks

                can you also ask your host and/or server administrator if they are running any kind of caching system as standard/default ?

                in reply to: Stripe Error #48828
                Olly
                Admin & Mod

                  anything in your debug log ?
                  https://docs.wp-pizza.com/troubleshooting/

                  can you post the output of wppizza->tools->system info in a private reply here please ?

                  thanks

                  in reply to: Stripe Error #48827
                  Olly
                  Admin & Mod

                    [Admin Edit:] moved from https://support.wp-pizza.com/topic/failed-orders/

                    Had a few people report that they got an error (simple “website says error” pop up” when trying to place an order. Most have been going through fine today but from the error logs we found the following at the time someone was having isses. Might be related to the other post I just made.

                    
                    CRITICAL ERROR:
                        10000 | DB: Could not update order: INITIALIZED => FAILED
                    
                        WPDB LAST QUERY (*might* be related): SELECT *, order_date as date_sort, '1' as blog_id  FROM  wpdp_wppizza_orders WHERE hash = 'b54c7df9499f9af170a843944f52360f045f26c8bb7cb35a2f73c716292508c0e7dbc2cc4451083a0ac3516c2379e1f0' AND payment_status IN ('UNCONFIRMED','INPROGRESS')     ORDER BY  date_sort DESC  LIMIT 0, 1
                        LAST PHP ERROR (*might* be related): Undefined index: ordervars IN FILE: "/home/calderwo/public_html/order/wp-content/plugins/wppizza/classes/class.wppizza.order_execute.php" ON LINE: "641"
                    
                        PARAMETERS RECEIVED
                        Array
                        (
                            [code] => parameter_invalid_integer
                            [doc_url] => https://stripe.com/docs/error-codes/parameter-invalid-integer
                            [message] => This value must be greater than or equal to 1.
                            [param] => amount
                            [type] => invalid_request_error
                        )
                    
                        UPDATE VALUES
                        Array
                        (
                            [order_date] => Array
                                (
                                    [type] => %s
                                    [data] => 2020-05-13 15:13:49
                                )
                    
                            [order_date_utc] => Array
                                (
                                    [type] => %s
                                    [data] => 2020-05-13 14:13:49
                                )
                    
                            [transaction_id] => Array
                                (
                                    [type] => %s
                                    [data] => 1589382829
                                )
                    
                            [transaction_errors] => Array
                                (
                                    [type] => %s
                                    [data] => a:5:{s:4:"code";s:25:"parameter_invalid_integer";s:7:"doc_url";s:61:"https://stripe.com/docs/error-codes/parameter-invalid-integer";s:7:"message";s:46:"This value must be greater than or equal to 1.";s:5:"param";s:6:"amount";s:4:"type";s:21:"invalid_request_error";}
                                )
                    
                            [display_errors] => Array
                                (
                                    [type] => %s
                                    [data] => a:1:{i:0;a:3:{s:8:"critical";b:0;s:8:"error_id";s:25:"parameter_invalid_integer";s:13:"error_message";s:46:"This value must be greater than or equal to 1.";}}
                                )
                    
                            [payment_status] => Array
                                (
                                    [type] => %s
                                    [data] => FAILED
                                )
                    
                        )
                    
                        --------------------------------------------------------------------------
                    
                    in reply to: Failed orders #48826
                    Olly
                    Admin & Mod

                      i’ll close this topic here as it’s the same (related) issue at https://support.wp-pizza.com/topic/stripe-error/

                      in reply to: Stock #48800
                      Olly
                      Admin & Mod

                        or conversely – whatever is easiest – set everything to 10000000 or something and then individually set the once you want to have lower stock levels.
                        either will work

                        maybe one day i allow for “-1” or something to mark things as “always in stock”, but that’s not happening anytime soon as stated

                        in reply to: Stock #48799
                        Olly
                        Admin & Mod

                          >The ability to enable stock management on certain items rather than them all would be amazing.
                          dont think this is going to happen anytime soon (if at all)
                          it’s quite binary: you use it , or you don’t

                          (but you can of course just set a silly high number for the items you never want to run out)

                          in reply to: Stock #48787
                          Olly
                          Admin & Mod
                            in reply to: As soon as possible function for pre-order #48771
                            Olly
                            Admin & Mod

                              not withstanding that v3.2.1 has the “asap” options re-introduced of sorts

                              I am a bit puzzled why the shop would set it in a way that allows 5 orders at 18:00 for 18:30 if they cannot service those number of orders anyway (after all, there are minimum preparation time settings in there too alongside a number of other options)
                              Or, in other words, why use that plugin at all if they only want to serve things “asap” (whenever that may be) ?!

                              of course, I may be missing something here….(always a possibility of course)

                              in reply to: Order from #48736
                              Olly
                              Admin & Mod

                                just a quick update on the above , as this is somewhat easier now with wppizza v3.something

                                you can target elements when pickup is selected like so (assuming here you want to hide the name and address for example)
                                use your browsers element inspector to ascertain whats the exact classname you need

                                
                                .wppizza-order-ispickup .wppizza-personal-details > .wppizza-cname{display:none}
                                and/or
                                .wppizza-order-ispickup .wppizza-personal-details > .wppizza-caddress{display:none}
                                and/or 
                                etc etc 
                                
                                

                                make sure to not hide things that you have also set to be “required” though or the customer will never be able to check out ….

                                in reply to: Random order of products on each page load? #48683
                                Olly
                                Admin & Mod

                                  did you – temporarily at least – switch to some default theme too ?

                                  >Any other ideas to try and solve the problem?
                                  the obvious one is of course to simply set the order ids in the order you want things

                                  in reply to: Pre-order time #48645
                                  Olly
                                  Admin & Mod

                                    >Is this possible please?
                                    in a nutshell: no. the plugin allows to select from an available date/time according to your settings.
                                    i would have thought that the vast majority of customers are not going to complain if its a few minutes earlier

                                    but of course, you could somewhat adjust the labeling somewhat from the default
                                    “When would you like to order for ?”
                                    to
                                    “When would you like to order by ? (we might be up to 15 minutes earlier)”
                                    or something to that effect

                                    in reply to: Hide tax info inside of the shopping cart area #48622
                                    Olly
                                    Admin & Mod

                                      use css – it’s the only way as there are no provisions to not show tax if it’s payable

                                      in reply to: In order page the prices are not aligned #48621
                                      Olly
                                      Admin & Mod

                                        they are centered with the name you have given the sizes underneath
                                        see here what this typically looks like
                                        https://demo.wp-pizza.com/kale/

                                        but as you have chosen to make the “sizes” name something like “box of strawberries 500 grams” you’ll have to set the css to be right aligned if you want it that way
                                        https://docs.wp-pizza.com/developers/?section=frontend-css-styles-layout

                                        PS: something in your site also inexplicably adds things like

                                        
                                        <font style="vertical-align: inherit;"><font style="vertical-align: inherit;" class="">3.00</font></font>
                                        

                                        around the prices…
                                        just mentioning it , it’s certainly not wppizza doing it

                                        in reply to: Order history no longer works #48585
                                        Olly
                                        Admin & Mod

                                          >I disabled the Precommand plugin and the order history returned.
                                          sure, because it requires 3.8 – at a minimum

                                          >I didn’t check “Order Sorting:” in the plugin.
                                          that doesnt matter actually. it needs the wppizza orders meta table – which only exists since 3.8 – to work

                                          >If I install version 3.8 of wppizza, would I have other problems related to the plugin this new?
                                          I cannot tell you, it all depends on what else you have running (wppizza or otherwsie) , but it’s immaterial as 3.8 does not exist for download .

                                          the most recent version as of writing this is wppizza 3.12.2, so you would be advised to update anyway.
                                          However , if you have customised things somewhere i cannot know what effect this might have – depends all onhow you customised things, so if you update from such an old version of wppizza to the most recent one, i would strongly suggest you make a full backup of your site first.

                                          alternatively, you could *try* the following (which may or may not work, but perhaps worth a try)
                                          assuming that you have perhaps access to your database in some way (and know what you are doing) you could create the meta table manually like so :

                                          
                                          CREATE TABLE '{prefix}_wppizza_orders_meta' (
                                          	'meta_id' BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
                                          	'order_id' INT(10) NOT NULL DEFAULT '0',
                                          	'meta_key' VARCHAR(190) NULL DEFAULT NULL COLLATE 'utf8mb4_unicode_ci',
                                          	'meta_value' LONGTEXT NULL COLLATE 'utf8mb4_unicode_ci',
                                          	PRIMARY KEY ('meta_id'),
                                          	INDEX 'order_id' ('order_id'),
                                          	INDEX 'meta_key' ('meta_key')
                                          );
                                          

                                          REPLACING the {prefix} here with your WP table prefix that is being in use on your site
                                          doing that might even make this all work with wppizza version < 3.8 (but not tested)

                                          in reply to: Error order page only on mobile #48563
                                          Olly
                                          Admin & Mod

                                            ok, thanks
                                            nothing too obvious, but have you tried turning off all non-wppizza plugins to see if it’s caused by one of those ?
                                            or indeed switching to a default theme ?

                                          Viewing 20 posts - 681 through 700 (of 4,430 total)