Home Forums Theme Support Dokan Suborder status update problem

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  towhid 3 years, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #46055

    Gregório Sordi
    Member
    Post count: 152

    There is one situation happening. Our payment gateway receives a postback call to update the transaction status.

    The code update the parent order status, but not the suborders. To fix this we are calling this function directly from the payment gateway plugin:

    dokan_on_order_status_change

    But there is a weird thing happening. The main order and the first suborder (the last one added) is being updated. The other suborders are not getting the update in the status.

    What can it be?

    #46082

    towhid
    Participant
    Post count: 4505

    Hello Sordi,

    Which payment gateway you are using right now?

    Usually when a payment is made. Payment gateway records the payment transaction. Why it will update the transaction once again. I am not clear the process.

    Thanks

    #46214

    Gregório Sordi
    Member
    Post count: 152
    This reply has been marked as private.
    #46233

    Gregório Sordi
    Member
    Post count: 152
    This reply has been marked as private.
    #46283

    towhid
    Participant
    Post count: 4505

    Hello Sordi,

    I am very glad to know that the problem has solved. I am going to mark the topic as resolved and closed.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Suborder status update problem’ is closed to new replies.