giushite
Forum Replies Created
-
@mr.clayton I forgot to specify that we store data in vault even if in Woocommerce is enabled anonimous checkout.
When someone proceed to checkout without login, we create a Vault entries (only with payment method) and store there info in an order meta.
When and if the user log in, we update the Vault entry, and add a meta to user with is Vault id.Great! Thank you very much 🙂
Which files are changed?P.S. (OT) I’ve implemented a feature to store user with payment method in the Vault, and then proceed with the “::sale()” with the user’s vault id.
If you want I can open another topic for this feature (or by email).Thanks again
Looking for solution, I’ve been discovered that the problem is in Braintree_Install::update(). More precisely on include once of all value of Braintree_Install::getUpdates().
We have about 170k orders and 70k users. And a query with -1 parameter on these entities cause the bug.Thanks for reply,
but I have 256M in my PHP ini and 512 in wp_config.I’m not sure, but problably it’s a query on users (70k record in my case).
There’s some query like these during the init of the plugin?