Support » Plugin: WooCommerce Sequential Order Numbers » payment gateway process order post ID instead of the sequential order id

  • Resolved wmsp

    (@wmsp)


    Hi

    I recently installed MGIS payment gateway plugin and updated woocommerce along and you plugin on my clients website. However upon doing so the payment gateway is capturing order post ID instead of the sequential order number.

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

    (@skyverge)

    Hey @wmsp. Thanks for getting in touch. Unfortunately, Sequential Order Numbers is not compatible with all gateway plugins due to the issue you have described here. The gateway would need to be modified to be made compatible with Sequential Order Numbers but sending the order_number_formatted value instead of the default order number (based on the post-id).

    We have a list of compatible gateway plugins with the pro version of our plugin here:

    https://docs.woocommerce.com/document/sequential-order-numbers/#section-7

    The formatting of the order number is handled similarly with both versions, so that list would apply.

    For full compatibility the gateway should use $order->get_order_number(); rather than $order->id when referencing the order number.

    I would recommend getting in touch with the developers of your gateway plugin to see if they can make that change.

    All the best,
    Ryan

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.