• Resolved gabygaby

    (@gabygaby)


    Hello

    On my site C, jetpackcrm and woocommerce are installed on the same wordpress. I have deactive all plugin execpt Jetpack crm and woocommerce and wpml. I have update all extensions and wordpress. No Javascript error.

    1. Do you know why sometimes purchases become transaction not assigned ?

    transactions :

    https://snipboard.io/S0rRbT.jpg

    https://snipboard.io/wzsbPE.jpg

    woocommerce :

    https://snipboard.io/Em0OWk.jpg

    https://snipboard.io/NGbOSe.jpg

    2. Sometimes transactions are confused, I test a purchase with same email and another name, maybe transaction are based on email ?

    For example the order 2527 made by gabyXXX2 is assigned in transactions to gabyXXX3. But the email is correct

    woocommerce order : https://snipboard.io/pKVTl9.jpg

    transactions : https://snipboard.io/DzJKsm.jpg

    3. Perhaps it can help to analyse, I have a lot of PHP error like this : [10-Feb-2023 16:36:36 UTC] PHP Notice: Undefined index: being-delivered.

    Because I try to add a status order in Transaction Field Options > Transaction Status : Succeeded,Completed,Failed,Refunded,Processing,Pending,Hold,Cancelled,Deleted,Proposition,Being-delivered.

    In my fonction.php I added a register_post_status ‘wc-being-delivered’.

    Thank you for your help

    Gaby

    • This topic was modified 1 year, 9 months ago by gabygaby.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @gabygaby ,

    Did you see my message in your other thread here:

    https://www.ads-software.com/support/topic/refunded-transactions-are-not-synchronized/#post-16470206

    It sounds like you have at least one issue with your server configuration, which you may want to discuss with your host.

    For this, though: 3. Perhaps it can help to analyse, I have a lot of PHP error like this : [10-Feb-2023 16:36:36 UTC] PHP Notice: Undefined index: being-delivered. , normally PHP Notices are not any big issue. If they’re errors or warnings instead, then we should we worry. ??

    In my fonction.php I added a register_post_status ‘wc-being-delivered’.

    Normally we recommend using a plugin like Code Snippets for this, as it will help ensure that bad/incorrect code doesn’t crash your site, and it prevents custom code from being overwritten on updates. What was the purpose of this snippet? Is that the entire thing? We generally can’t help with custom code, but we can take a quick peek.

    Would you post a copy of your WooCommerce->Status report (blank out any personally-identifiable info)?

    Best,

    Cena

    Thread Starter gabygaby

    (@gabygaby)

    Hello

    Yes I saw your message. But this one is about website C. Each website (A, B and C) are on different server.

    This matter is about website C. Website C is on my computer with Wampp (not such as other website A and website B). Website C have wp + woocommerce and Jetpack CRM.

    The other thread is a different matter about synchronisation between 2 different websites A and B.

    So, this thread is about purchases which become transaction unassigned or confused on website C : I don’t kknow what happen.

    For the PHP Notices (website C ) about “being-delivered”. I add in function.php some lines to add a status to the order in woocommerce : to do a difference between order in progress and order which are delivering.

    I will comment this lines and will test again a synchonisation to see if there the matter is resolved. I will come back to say the result.

    But such as you can see in the image (in the first post) transactions not assigned or confused are from order with a status completed or refunded (not being-delivery).

    Gaby

    • This reply was modified 1 year, 9 months ago by gabygaby.
    Thread Starter gabygaby

    (@gabygaby)

    WooCommerce->Status report

    https://snipboard.io/mlDxqp.jpg

    https://snipboard.io/ULzO82.jpg

    https://snipboard.io/kPMLF6.jpg

    Do you want to see wich part from report ?

    Thank you

    Gaby

    Thread Starter gabygaby

    (@gabygaby)

    So, I comment lines in function.php. I have now no error un php-log. But still not assigned transactions and still confused transactions.

    1. About not assigned transaction : I can see something like a purchase in guest mode ? i.e. without account and without email, but with other info (such as name, adresse etc). Maybe it could be a raison ?

    woocommerce :

    https://snipboard.io/Em0OWk.jpg

    https://snipboard.io/ZIA4NT.jpg

    transaction :

    https://snipboard.io/S0rRbT.jpg

    2. About confused transactions : I test a purchase with same email and two different name, maybe transaction are based on email ?

    For example the order 2527 made by gabyXXX2 is assigned in transactions to gabyXXX3. But the same email are correct

    woocommerce order https://snipboard.io/pKVTl9.jpg

    transactions https://snipboard.io/DzJKsm.jpg

    Thank you

    Gaby

    • This reply was modified 1 year, 9 months ago by gabygaby.
    Jay

    (@bluejay77)

    Hi @gabygaby,

    It sounds like you want to make sure every CRM contact is created and assigned accordingly for each WooCommerce order including guest checkout orders, is that correct?

    Since JP CRM contact is created when there is an email available, you’ll have to make sure they are ordering with a registered account. Effectively, this means that you will have to disable guest checkout. Or, you’ll have to find a way to require email addresses on order (e.g., billing email on WooCommerce).

    To explain, when there’s a contact without an email submitting a Woo order, Jetpack CRM creates a contact with this order of preference:

    • If it’s a WooCommerce customer (e.g. has a Woo user), it creates a contact using that WordPress user’s email.
    • If it’s NOT a WooCommerce customer (e.g. a guest), it creates a contact using the billing email.

    If either of these conditions is not met, no contact is created.

    This is by design; otherwise each sync would create a new (duplicate) contact.

    I hope that clarifies things!

    Thread Starter gabygaby

    (@gabygaby)

    Hello,

    Thank you a lot, I understand.

    So the topic is solved.

    Best,

    Gaby

    • This reply was modified 1 year, 9 months ago by gabygaby.
    Jay

    (@bluejay77)

    You’re welcome! ?? Thank you for letting us know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sometimes purchases become transaction unassigned or confused’ is closed to new replies.