WooCommerce - excelling eCommerce
Getting orderId before redirecting to payment gateway (1 post)

  1. kishan.alkurn
    Posted 2 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic