Ready to get started?Download WordPress


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

  1. kishan.alkurn
    Posted 9 months 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.



You must log in to post.

About this Plugin

About this Topic