Olly

Forum Replies Created

Viewing 20 posts - 1,341 through 1,360 (of 4,446 total)
  • Author
    Posts
  • in reply to: Paypal Stuck on processing #35740
    Olly
    Admin & Mod

      you have either not setup IPN or IPN is not working
      https://support.wp-pizza.com/paypal-gateway-extension/

      in reply to: wppizza_on_order_execute #35714
      Olly
      Admin & Mod
        This reply has been marked as private.
        in reply to: wppizza_on_order_execute #35713
        Olly
        Admin & Mod
          This reply has been marked as private.
          in reply to: wppizza_on_order_execute #35712
          Olly
          Admin & Mod
            This reply has been marked as private.
            in reply to: wppizza_on_order_execute #35711
            Olly
            Admin & Mod
              This reply has been marked as private.
              in reply to: wppizza_on_order_execute #35708
              Olly
              Admin & Mod
                This reply has been marked as private.
                in reply to: wppizza_on_order_execute #35707
                Olly
                Admin & Mod
                  This reply has been marked as private.
                  in reply to: wppizza_on_order_execute #35706
                  Olly
                  Admin & Mod
                    This reply has been marked as private.
                    in reply to: wppizza_on_order_execute #35696
                    Olly
                    Admin & Mod
                      This reply has been marked as private.
                      in reply to: wppizza_on_order_execute #35694
                      Olly
                      Admin & Mod
                        This reply has been marked as private.
                        in reply to: wppizza_on_order_execute #35689
                        Olly
                        Admin & Mod

                          PS: for the future, please wrap code in code tags here
                          thanks

                          in reply to: wppizza_on_order_execute #35688
                          Olly
                          Admin & Mod
                            This reply has been marked as private.
                            in reply to: wppizza_on_order_execute #35686
                            Olly
                            Admin & Mod

                              that’s got nothing to do with anything

                              again, what do you get when you add
                              file_put_contents(‘path/to/some/file.log’, print_r($details_completed, true));
                              directly at the top of your function you are calling with the on_order_Execute hook

                              i.e

                              
                              add_action( 'wppizza_on_order_execute', 'my_order_app', 10, 3);
                              function my_order_app($order_id, $details_completed, $tid) {
                              file_put_contents('path/to/some/file.log', print_r($details_completed, true));
                              }
                              

                              post the whole data that you receive in this file

                              in reply to: Pickup Prices Extension prices #35674
                              Olly
                              Admin & Mod

                                furthermore -as a more direct answer to the question

                                a) there’s no provision for that because
                                b) in 99% of cases (exceptions prove the rule and all that and might work for some prices) it will not be what’s required anyway
                                assuming you have prices like 9.95, 7.95 and 5.95 if one were to blanket apply 10% you’d end up with 8.96, 7.16, 5.36
                                I dont think anyone will want these kind of odd prices so you’d have to do most of them manually anyway

                                in reply to: Pickup Prices Extension prices #35673
                                Olly
                                Admin & Mod

                                  doesnt it make more – or at least just as much – sense to simply apply a discount of 10% if pickup across the board ??

                                  in reply to: wppizza_on_order_execute #35638
                                  Olly
                                  Admin & Mod

                                    >Any update yet about the issue?
                                    no, becuase epay.dk have not replied to my re-activation of my test account nor have they setup a new test account i applied for (yet, on both counts)

                                    re class: correct

                                    have you tried a simple
                                    file_put_contents('path/to/some/file.log', print_r($details_completed, true));

                                    right after
                                    function my_order_app($order_id, $details_completed) {

                                    and had a look at that file

                                    Olly
                                    Admin & Mod

                                      >However, when I add items on the view-only page and then navigate to regular order page, these items will be in the cart.
                                      i cannot see how.
                                      please show me the page / url where you experience this behaviour

                                      Olly
                                      Admin & Mod

                                        simply dont put a cart of the view only page

                                        in reply to: GoodCom printers #35544
                                        Olly
                                        Admin & Mod
                                          in reply to: GoodCom printers #35533
                                          Olly
                                          Admin & Mod

                                            I’m not disputing that it works for you (how could I . I dont have one of these printers)
                                            All I’m saying is that you are causing unnecessary overheads by getting the parameters again when they already exist
                                            and if you one day decide to add another customer formfield for example (or remove one for that matter) you will have to add it to this script again wheras a simple foreach loop in the first place would already take care of that

                                            again. i would suggest you change your action as mentioned, get rid of the ‘new order class’ etc and use the parameter available
                                            (and perhaps brush up on how wordpress action/filter priorities and parameters work )

                                          Viewing 20 posts - 1,341 through 1,360 (of 4,446 total)