Open maxdamage101 opened 4 years ago
Can you check whether or not this helps? https://github.com/btcpayserver/woocommerce-plugin/issues/40#issuecomment-578751075
I've researched this a bit and maybe these notes help to proceed further.
process_payment($order_id)
function receives the Order ID from WooCommerce. This is the actual database ID of the WooCommerce order (== WordPress post). ipn_callback()
gets the order number from the invoice (see above), referencing it as $order_id
woocommerce_order_id_from_number
filter, which is the users code that is supposed to turn it into the actual WooCommerce order id in the database. This code depends on the custom order number plugin being used. woocommerce_order_id_from_number
filter function gets the custom order number. Referencing it as $orderid
(as in the docs sample) is confusing, so we should clean that up.500
is based upon the woocommerce_order_id_from_number
not dereferencing the order number properly.
Hello, First of all, I've installed a docker installation, it's working perfectly with woocommerce. Until I activate the custom order numbers plugin. I've created a support ticket on their side to- https://wordpress.org/support/topic/need-help-letting-my-payment-plugin-find-custom-order_id/#post-12644818
I'm using a custom order numbers plugin, and I'm trying to get the IPN messages to work with my custom order numbers. I've tried messing with the filter(Below) alot, but I can't seem to be able to get it to work. It's only giving me "500" errors.
Now the thing is, when I have the custom order numbers plugin activated. It finds the custom numbers and puts it in the invoice generated on the invoice menu. (plugin enabled)
Now my qeustion is, how do I find the customerID before I activated the plugin? Because when I disable this plugin I get this information in the invoice menu and everything works fine. (plugin disabled)
If I could get assistance with this, I could really appreciate it.