• Resolved cedus

    (@cedus)


    Hi, we’re using paypal payments in production since about 1 week (latest update).

    We now had one order (of about 600) being duplicated, the customer received all emails twice and contacted us. Both orders were automatically processed by our system (the shipments would’ve been sent if the customer would not have had contacted us). Customer service refunded one of the orders. The second one got refunded erroneosly only seconds after that. The PayPal-Account shows one received order, which is refunded.

    The paypal transaction id for original order and duplicate is different.
    The paypal order id is the same (_ppcp_paypal_order_id).

    You can find duplicated orders with this statement:

    SELECT meta_value, count(meta_value) as cnt FROM wp_postmeta WHERE meta_key LIKE '_ppcp_paypal_order_id' GROUP BY meta_value ORDER BY cnt DESC;

    There are no fatal errors or memory exhaustion errors.

    We’re not able to replicate the problem right now.

    Kind regards,
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @cedus

    Thanks for the report. The development team is investigating this behavior.

    Usually, there should only be one WooCommerce order per PayPal order, but it looks like a second order could potentially be created under certain conditions, but it’s not yet clear why.
    It is certainly not intended, and we’ll let provide an update when we know more about it.

    Kind regards,
    Niklas

    Thread Starter cedus

    (@cedus)

    Thanks.

    Yesterday we had another duplicated order but one went into failed. But this could be expected behavior. We now check for duplicated ‘_ppcp_paypal_order_id’ when working through orders.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicated orders, same _ppcp_paypal_order_id’ is closed to new replies.