Forum Replies Created
-
AuthorPosts
-
not in an automated kind of way , no
i.e – to my knowledge at least – there’s no plugin/extension etc available at currently that does this sort of thing>Would I be able to use this extension to offer gift cards to customers?
No, not really. Sorry.>Is there a better solution?
To my knowledge at least , no such thing exists as of the date of writing this reply I’m afraid
(unless someone else has developed this , but I’m not aware of this being in existence)25 May, 2020 at 4:46 pm in reply to: suggestion for preselect field on checkout coming from URL param #49414you probably want to have a look here
https://docs.wp-pizza.com/developers/?section=checkout-formfields
As mentioned, this looks like it went wrong when you did the upgrade,
so i would suggest you do that again (with plenty of memory) and check your debug.log to see if there were any fatal errorsif that all goes to plan, you could afterwards make a backup of your wppizza_orders and wppizza_meta tables
and then perhaps delete all the orders in there that are 2 or more years old (are do you really need permanent access to orders from 2 years ago ?)the memory exhausted error you are experiencing is most likely caused by the dashboard widget and when going to the reports page as both of those need to get information from every completed order to display their (total) values
as mentioned, there maybe a way to somewhat get this memory consumption down a bit – and i’ll look at that in the near future – but for the time being, if you have lots of orders , it will consume quite a bit of memory when generating the reports/dashboard info (though the dashboard info is cached up to a point)
generally , notices are harmless (in most instances)
however, do you still get these once you have cleared your browser cache
and started with an order as new like a customer would (and not after you have been enabling/disabling gateways when you are -technically- in the middle of an order in the frontened ) ?>but thought I’d ask!
sure, no harm done
but no, it doesnt do that and there are no plans to implement that from my side>And I found another error on every page:
are you actually outputting your errors/notices on pages instead of just logging ?
i.e do your debug settings look different to this ?sounds to me like your upgrade from v2 to v3 went wrong
especially if you already have a lot of orders and perhaps lots of other plugins running or a theme the consumes lots of memory itself, you will need LOTS of memory during the upgrade as the upgrade has to go through every single order in the db and change values to make this work…>Furthermore it is not recommended to set the memory limit that height.
that’s also an arbitrary comment by someone that has no foundation in anything as memory needs will always depend on a list of many things
(though I am aware that the wppizza dashboard widget can be looked at to perhaps get the memory requirements down a bit when it updates every hour or so)i dont think i understand that question.
what do you mean by “we’ll miss its time to fire that order”the plugin has an option to sort order by times requested in the order history (“Order Sorting:”)
maybe that’s what you are looking for.
other than that, it’s really up to you to manage orders coming in and prepare/going outthat should actually be automatic (but i checked this here and it isn’t in all cases/setups i noticed)
i’ll update the plugin to that effect , no problemthanks for flagging it
This reply has been marked as private.the last function documented here might give you an idea
https://docs.wp-pizza.com/developers/?section=create-your-own-sales-reportThis reply has been marked as private.This reply has been marked as private.This reply has been marked as private.>Why does it work with the previous version though and not the version after .3 thats what is odd?
not necessarily. there are more/different ajax requests> And it works with some and not others.
and that’s what you have to find out as to why the server responds with a “forbidden” , may also be a firewall issue or whatnot. only your server logs will tell us that (and the logs i have been mentioned above might be able to narrow things down)This reply has been marked as private.the only way to have different stripe accounts is to have different websites (or subsites in a multisite setup)
i can probably add a couple of filters to the stripe gateway to allow for this at some point, but at the moment this is not implemented and there is no ETA as to when there will be
(in theory , you could work with remove filters , add filters according to the wordpress codex,
but please note that I cannot offer any support for this kind of customisation)if your server responds with a 503 only your host/server admin will know why
(unless you are a server admin and know how to find, read and interpret logfiles)i’d suggest you try an order first and see what happens (and let the “processing order” page reload a few times -like for a minute or so – , just in case there’s a very slow response)
ok, use own test keys again though (otherwise it wont make any difference what you set in your webhook as you’d be still using mine – in fact I have now disabled this again in *my* stripe account as we pretty much know what the issue is here now)
-
AuthorPosts