Invoice numbers
-
Hello, we have been using your plugin for a year, but now we do not remember is it a purchased on of a free version. If you help out with this I promise we will make sure its to buy it if we haven’t.
Our problem:
We sell event tickets in our online store and in few physical stores, when purchases happen online, people buy them via Braintree gateway, when a purchase happens in the store, a Cash on Delivery option is used by a store manager. The store has its own counter and invoice number set, thus we have modified your plugin to only set invoice numbers on Braintree payments in the old version:
public function set_invoice_number( $order_id ) {
$payment_method = get_post_meta( $order_id, ‘_payment_method’, true );
if ($payment_method == ‘braintree’) {Now after a major update, the template files have changed and we need to get this function back, but the structure of the plugin has changed. Is there a way to modify the public function init_number() to get the same functionality? If not is there any other function where we could recycle the old code to get the same results?
Kinds Regards
The topic ‘Invoice numbers’ is closed to new replies.