Support » Plugin: WooCommerce Square » Wrong payee data on Square

  • Resolved ches88

    (@ches88)


    I’m using Woocommerce Square with the Storefront theme. All plugins are up-to-date.

    I’m getting some problems when I’m testing the live payment process on my development computer, in the same internet browser – whether I am loggged-in to wordpress or not.

    I’ve made orders using the same card with various different names and email addresses.
    Woocommerce records the entered information correctly in wordpress.
    On the Square site, the transactions appear, but the name and email address of the logged-in WordPress User (me) – not those entered with the order – are recorded for *all* the transactions made through the development browser. Transactions made though different browsers, or on different devices are recorded correctly.

    I would appreciate an explanation for this behaviour and a way to prevent it, if possible.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you see data on the Square website that is not as you expect it, but the data does appear to be correct on your WooCommerce site, that is an indication to me that you should contact the support team at Square for an explanation.

    I imagine it will be closely related to:

    I’ve made orders using the same card with various different names and email addresses.

    I imagine that card token gets assigned with the same name and email address that it is first generated for.

    Thread Starter ches88

    (@ches88)

    Thanks for you response @wbrubaker.

    you should contact the support team at Square for an explanation

    I did that and they looked into it, but couldn’t find a source of the problem at their end.

    I’m new to wordpress and WooCommerce, but I suspect a cookie/database issue.

    I think you’re right about the card token, but its picking up the wp user and not the entered buyer details.

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @ches88,

    I think you’re right about the card token, but its picking up the wp user and not the entered buyer details.

    I do think this is the intended behavior. A card source is associated with a user, if logged in, upon the first purchase.

    If you are NOT logged in, a customer is created but no card saved to the customer in Square or Woo.

    ![https://d.pr/i/LjcwFU](https://d.pr/i/LjcwFU+)
    Image link: https://d.pr/i/LjcwFU

    Back to your issue, if you do use a card already associated with a user in your Square account that order is then associated with the customer in Square even though in WooCommerce it was purchased with a different user or used different billing/shipping addresses.

    It seems the original details in Square stay there associated with that card no matter what happens in Woo. I think that makes sense as in most cases there are not multiple customers using the same card. I hope that helps clarify things.

    Thread Starter ches88

    (@ches88)

    Thanks @ryanr14,

    Yes, that certainly helps clarify things.

    Plugin Support Mike a11n

    (@nixiack8)

    Hi @ches88,

    Glad we could assist 🙂 I will go ahead and mark this as Solved but if you have further questions let us know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.