• My client wants to be able to put in a checkout field that fills “merchant order number” with his invoice number so he can match his orders with the afterpay transactions.

    Is there a field name for this variable that can be added to the woocommerce checkout fields so this number will be send to afterpay as the merchant order number? eg something like: billing_merchant_reference ?

    I have tried adding a field called “invoice number” but it does not appear on the afterpay report so its tricky to match which order is which.

    Its being used as a way for drivers to charge customers on the road using afterpay. They just need a way to tie the invoice number from the driver to the afterpay order so they know which is which.

    Hope that’s not too confusing : )

Viewing 1 replies (of 1 total)
  • Plugin Author Afterpay

    (@afterpayit)

    Hi @creationgate,

    Thanks for your message.

    By default, WooCommerce sets the order number to the post id as stored in the database. This can be modified to suit requirements by using the woocommerce_order_number filter. There are a number of third-party plugins available that implement this filter. When an Afterpay payment is confirmed for an order, Afterpay uses the WooCommerce order number to populate the merchant reference in the Afterpay merchant portal.

    One possible approach would be to use the WooCommerce filter to match the invoice number so that it is synchronised across all platforms, including Afterpay.

    Thank you.

Viewing 1 replies (of 1 total)

The topic ‘merchant order number’ is closed to new replies.