Support » Plugin: WooCommerce » Getting orderId before redirecting to payment gateway

  • I have seen when we place an order, the site redirect to a payment gateway, but before moving, it calls an ajax file of woocommerce and make an entry in wp_posts table where orderId is generated for that order.

    What I want to do is :- I want that orderId “Right after its creation by ajax file” and update some fields in DB with before the control move to any payment gateway.

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Getting orderId before redirecting to payment gateway’ is closed to new replies.