Olly

Forum Replies Created

Viewing 20 posts - 3,901 through 3,920 (of 4,431 total)
  • Author
    Posts
  • in reply to: authorize.net CIM Addon Suggestion #6919
    Olly
    Admin & Mod

      PS, transaction_details will not contain any cc details though as they are – of course – not just being sent all over the place and stay on a.net servers….

      in reply to: authorize.net CIM Addon Suggestion #6918
      Olly
      Admin & Mod

        i’m not really suggesting anything as such.

        the main problem is, that i don’t really know anything about CIM and just have to go by some documentation/links i have been able to dig up somewhere. So if you *know* that these two can happily live together/independently, maybe the following is something that helps

        after every executed order the following action runs

        
        wppizza_on_order_executed
        

        passing on the order id. so perhaps this sort of thing (?):

        
        add_action( 'wppizza_on_order_executed', 'my_cim_function');
        function my_cim_function($orderId){
        	global $wpdb;
        	$orderDetails = $wpdb->get_row("SELECT * FROM " .$wpdb->prefix . "wppizza_orders WHERE id='".(int)$orderId."' AND initiator='anet' ");	
        	
        	$transaction_id=$orderDetails->transaction_id;
        	$transaction_details=maybe_unserialize($orderDetails->transaction_details);
        	
        	/*
        		the above two vars hold the - you guesses it - transaction id and all transaction details returned from auth.net
        		
        		maybe you can now do something with this regrading CIM ?
        	*/
        	
        	
        }
        
        

        does that help perhaps ?

        [edit 19-Jan-2015:] just for reference – the above can be simplified a bit . please see here
        https://support.wp-pizza.com/topic/after-every-order/#post-7180

        in reply to: Display issue with comments from Add Ingredients #6914
        Olly
        Admin & Mod

          ok then , this only seems to be the case when using 2 textboxes per item. i’ll fix that asap

          in reply to: authorize.net CIM Addon Suggestion #6913
          Olly
          Admin & Mod

            ha, so after all of this , is what we are talking about simply that that client of yours wants a CIM implemntation of the authorize.net gateway , rather than the SIM one ?

            (or am i just really thick here…)

            reading through this:
            http://community.developer.authorize.net/t5/Integration-and-Testing/Which-method-to-use-AIM-SIM-CIM-DPM/td-p/16638

            you apparently cannot combine the two (but admittedly i never had anything to do with CIM implementations )

            in reply to: Display issue with comments from Add Ingredients #6911
            Olly
            Admin & Mod

              ok, let me see if i can reproduce this here (might be because you seem to have 2 comment fields, never tested it with that i think)

              in reply to: Display issue with comments from Add Ingredients #6908
              Olly
              Admin & Mod

                ok, can i have a link please

                in reply to: authorize.net CIM Addon Suggestion #6907
                Olly
                Admin & Mod

                  even if one were to somehow get that users data (let’s say by creating a specific user role which then gets a dropdown on the checkout page where he/she can select from users which – via an ajax call – could prepopulate the fields)

                  you will still have 4 problems

                  a) you’ll have to get the associated a.net CIM data
                  b) even if you were to get that AND prepopulate a credit card number (etc) field , a.net does not expect (and therefore does not look for those) fields so you’d have to enter them again anyway once you are at the a.net page
                  c) you would need an SSL certificate for your checkout
                  d) and most importantly – IT IS TOTALLY ILLEGAL – as you would be storing unencrypted cc numbers on your server

                  again though, I might be misunderstanding things

                  in reply to: Display issue with comments from Add Ingredients #6886
                  Olly
                  Admin & Mod

                    any edits to your templates anywhere ?

                    in reply to: authorize.net CIM Addon Suggestion #6884
                    Olly
                    Admin & Mod

                      still not sure i understand the workflow .

                      so, someone phones up and wants to order something.
                      then what is supposed to happen ?

                      is the guy who gets the phonecall supposed to go to the website and then click on things to put the order together and then checkout (essentially for the client on the phone) ?

                      if that’s the case, how would the guy that receives the call even know which (wordpress) user it is and what data is associated with him without logging in as that user (therefore needing that users un/pw) ?

                      still not getting it, sorry (but maybe the workflow is supposed to be different…dunno)

                      in reply to: text formating in hebrew seemed to be broken #6882
                      Olly
                      Admin & Mod

                        one more thing to check:
                        if you add a new group (dont have to save, just add one to see) does it still work now ?

                        in reply to: text formating in hebrew seemed to be broken #6881
                        Olly
                        Admin & Mod

                          even better :)

                          in reply to: text formating in hebrew seemed to be broken #6879
                          Olly
                          Admin & Mod

                            i’ll check what happens when i use hebrew here

                            in reply to: authorize.net CIM Addon Suggestion #6876
                            Olly
                            Admin & Mod

                              generally i am happy to add action and filter hooks in the plugin in all sorts of places for people to use

                              however, having had more of a think about what you said, I am a bit hazy about what it is your (or more accurately your customer) is trying to achieve.

                              from what i can see Authorize.net CIM stores the customer data on their server.
                              if the customer is registered on the site (as a wordpress user and is logged in) the data he registered with will automatically filled in (if set up that way) in the relevant order page fields

                              so I’m not sure where the CIM info is supposed to fit in here

                              if the customer is NOT already registered as a wordpress user there’s – i would have thought – no info that could tie him into any customer data stored at a.net CIM

                              I’m probably missing something, so would be grateful for some clarification

                              PS: just to mention. storing CC info on your clients server (as opposed to on a.net’s servers) is an absolute no no …

                              in reply to: "1 pizza for 11 and 2 for 18" possibility? #6875
                              Olly
                              Admin & Mod

                                (up to a point) with this i would have thought

                                https://support.wp-pizza.com/downloads/wppizza-coupons-and-discounts/
                                (i.e you set a discount as required based on some settings)

                                whether or not this would work for your particular scenario/site/setup i do not know..kind of depends on your menu

                                in reply to: authorize.net CIM Addon Suggestion #6859
                                Olly
                                Admin & Mod

                                  >Is there any possibility of extending your plugin functions to have this feature? Do you have any suggestion on how one should go

                                  my suggestion would definitely be to use filters and action hooks rather than messing around in the plugin itself.

                                  having said that, for what you want to do, i would need to add an additional filter in some place.
                                  as I am working on on some other stuff in the plugin, it won’t be too hard to add this.

                                  when I’m done, I’ll post a quick example/dummy here that should at least send you on your way

                                  in reply to: List how many items in cart #6841
                                  Olly
                                  Admin & Mod

                                    not sure i understand why it’s wrapped in an a tag with all those style declarations, but if it works (and as a starting point anyway) that’s cool by be..

                                    i will probably – in an update – add a filter [ wppizza_filter_shortcode_totals ] one could use to selectively not output some of those elements (rather than using display:none), but that’s for another day

                                    in reply to: List how many items in cart #6838
                                    Olly
                                    Admin & Mod

                                      >its wrapped in styles
                                      just overwrite them then…

                                      in reply to: List how many items in cart #6836
                                      Olly
                                      Admin & Mod

                                        display:none seems to be just fine then.

                                        you are not asking to add functionality , but take it away ….

                                        in reply to: List how many items in cart #6834
                                        Olly
                                        Admin & Mod

                                          and what’s wrong with this shortcode instead then ?

                                          [wppizza type=’totals’ value=’items’ itemcount=’right’ checkout=’1′]

                                          https://support.wp-pizza.com/topic/wppizza-shortcodes/

                                          just add some css to put a cart icon there somewhere (or whatever else you want to do with it)

                                          in reply to: List how many items in cart #6832
                                          Olly
                                          Admin & Mod

                                            > overlay over a shopping cart icon

                                            what shopping cart icon ?

                                          Viewing 20 posts - 3,901 through 3,920 (of 4,431 total)