• peter_l_p

    (@peterlarsenpan)


    Hey guys,
    I hope you are doing well.


    You store the transaction ids of refunds as meta data in the parent order with the key “_ppcp_refunds”. I have already figured that out. If there are several refunds for an order, not all of which may have been made via PayPal (e.g. manually), then I see no way of assigning the transaction IDs from the meta field “_ppcp_refunds” to the refund IDs. Is there a way here how I can assign the transaction ids from “_ppcp_refunds” to the corresponding refund ids? So that I can determine which refund transaction id belongs to which refund?

    Many thanks in advance for your answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @peterlarsenpan

    Thanks for reaching out to us, we’re here to help.

    I assume you refer to this refund ID and want to understand which refund action triggered it (a manual one, or one via Paypal)?

    It would be helpful to know whether this is a one-time issue for a specific order or if you encounter this scenario frequently and need a systematic method to match transaction IDs with their corresponding refunds?

    For a one-time check, you can examine the database directly to determine the timing and sequence of the refund events. This method will allow you to manually correlate the transaction IDs stored in the “_ppcp_refunds” field with the actual refund actions, whether they were processed manually or via PayPal.

    Looking forward to your response.

    Kind regards,
    Krystian

    Thread Starter peter_l_p

    (@peterlarsenpan)

    Hi Krystian @inpsydekrystian ,

    thank you very much for your answer!

    > It would be helpful to know whether this is a one-time issue for a specific order or if you encounter this scenario frequently and need a systematic method to match transaction IDs with their corresponding refunds?

    I need a systematic method.

    ===

    I’ll also tell you briefly why I need this:

    I would like to output the associated transaction ID in e-mails / PDFs for a refund. However, the e-mails may not be sent in the same order as the refunds were created.

    Furthermore, I need the corresponding transaction ID in an export of all refunds for accounting purposes.

    I would also like to send the transaction ID to an accounting service via API, which can then automatically assign payments to refunds.

    Thanks for your time ??


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