Title: martinmath's Replies | WordPress.org

---

# martinmath

  [  ](https://wordpress.org/support/users/martinmath/)

 *   [Profile](https://wordpress.org/support/users/martinmath/)
 *   [Topics Started](https://wordpress.org/support/users/martinmath/topics/)
 *   [Replies Created](https://wordpress.org/support/users/martinmath/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/martinmath/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/martinmath/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/martinmath/engagements/)
 *   [Favorites](https://wordpress.org/support/users/martinmath/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Custom ID and Invoice ID prefix issue](https://wordpress.org/support/topic/custom-id-and-invoice-id-prefix-issue/)
 *  Thread Starter [martinmath](https://wordpress.org/support/users/martinmath/)
 * (@martinmath)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/custom-id-and-invoice-id-prefix-issue/#post-16579702)
 * Hi Niklas,
 * thanks for checking this out. These are new sites so I’d like to get it straightened
   up from the start if possible so I appreciate the help. I’ve sent the site status
   report privately.
 * I think you may be right, the prefix is being added before somewhere.
 * Obviously the main thing I want to solve is the changing of order status from‘
   on hold’ to ‘processing’ between sites on the network. It may not be the custom
   ID as I don’t know what Paypal and Woo use to identify the orders when they get
   sent back. It just felt to me that this was the most likely culprit so it’d be
   good to either eliminate it being used as an identifier or add a country prefix
   to it depending on which site it comes from.
 * thanks
 * Martin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Custom ID and Invoice ID prefix issue](https://wordpress.org/support/topic/custom-id-and-invoice-id-prefix-issue/)
 *  Thread Starter [martinmath](https://wordpress.org/support/users/martinmath/)
 * (@martinmath)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/custom-id-and-invoice-id-prefix-issue/#post-16576566)
 * Hello,
 * thanks for the reply.
 * Yes the problem seems to be that regardles of what the invoice ID is the paypal
   connection/callback seems to use the custom ID which has no prefix.
 * I can stop the duplicated invoice prefix happening by remving the prefix in the
   paypal settings which leads me to believe that the invoice order ref has a prefix
   assigned before it gets added by the paypal plugin (which then adds it a second
   time).
 * So 2 possible options I feel would be to stop the custom ID being used (don’t
   know where it comes from?) or be able to add the country prefix to the custom
   ID so that it doesn’t get confused with other orders with the same reference 
   in the multisite.
 * Not sure where to look to disable use of the custom ID or add a prefix though
   so anything you find out would be a great help.
 * thanks
 * Martin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Payments] Webhooks for multisite](https://wordpress.org/support/topic/webhooks-for-multisite/)
 *  Thread Starter [martinmath](https://wordpress.org/support/users/martinmath/)
 * (@martinmath)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/webhooks-for-multisite/#post-16558082)
 * Hello,
 * Sorry for late reply and thanks for the info.
 * I haven’t been able to get to the bottom of this yet but am investating a possible
   theme issues. Will update
 * thanks Martin

Viewing 3 replies - 1 through 3 (of 3 total)