Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any way to process a partial refund from Exp:resso Store? I periodically need to credit a return of just a single item out of the order, and haven't been able to figure out how to do that. Or, failing to do it all through the CP, could I process the refund through Stripe (my payment processor) and then just remove the item from the order or tag it as "refunded" (for consistent records)?
It's not possible using the CP, and some gateways don't support partial refunds anyway. However, I'm pretty sure Stripe does, so the best solution is to do it through the Stripe website.
To reconcile things with your store, you can either make a Partially Refunded status, or you can simply add a manual payment to the order with a negative amount (however this will make the order show up as "Unpaid").
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
If I want to create a long sequence (at least ten) of yes and no questions in dialogFlow, using webhook to store results, do I need to create an intent for each question or could this be done programatically from the webhook somehow, enforcing the order of the sequence in a better way and possibly making the code less extensive?
A sequence of questions like:
Is cucumber a fruit? Yes/No, Are there flying fish? Yes/No, e.t.c.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
In Hybris, I need to create a new cache region for a specific flexible search query but not all queries.
Hybris cache region is bonded with the type system, means you can specify a region for a type to store its entities.
So with the OOTB standards, you can't simply specify a region for the single query. Better you choose right evictionPolicy (LFU).
But yeah, the feature called TTL helps you. Refer to this post
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
A list of venues is available through the API (using the https://developer.foursquare.com/docs/venues/search endpoint), but I cannot do the same for a list of categories. Is there a way I can get the list of categories without authenticating?
I think it makes sense in the same way a list of venues makes sense w/o the need to authenticate, but this is just my opinion.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
The API doesn't give any information on the state of the HVAC system, i.e. heating, cooling, fan. Will this be added in the future?
You can determine the cooling/heating mode using the "hvac_mode" property (https://developer.nest.com/documentation/api#hvac_mode), and "fan_timer_active" to check if the fan timer is running. You can also query the target properties, starting with "target_temperature_f" (https://developer.nest.com/documentation/api#target_temperature_f)
No, HVAC mode isn't the same as HVAC state. My system could be in cooling mode but not actively making a call for cooling. If you know the swing value you can guess based on the difference between set point and actual temp but that really isn't reliable.
Presumably this might be to prevent replication of existing Nest functionality?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to implement a system using node.js in which a number of sites would contain js loaded from a common host, and trigger an action when some user visits n+ sites.
I suppose a nosql solution storing a mapping of ip address => array of sites visited would be preferable to a RDBM both in terms of performance and simplicity. The actions I need are "add to array if not there already" and getting the length of the array. Also, I wouldn't like it all to sit in memory all the time, since the db might get large some day.
What's a system that fits these requirements the best? MongoDB seems like a nice option given $addToSet exists, but maybe there's something better in terms of RAM usage?
When I hear about working with lists or sets, the first choice is Redis