Extend Refund Information In Backend?

Extend Refund Information In Backend?

Yannick_neowake
Shopify Partner
14 1 5

Hello everyone,

I'm working on creating an analytics dashboard in Google Sheets to track sales and refunds from two platforms we use to sell products: Digistore24 and Shopify. We sell products from several subsidiary companies, but for this dashboard, we only want to track transactions related to a specific vendor, "neowake". We also have Shopify Plus.

 

The Setup:

  • Sales Tracking:

    • For both Digistore24 and Shopify, tracking sales of "neowake" products is straightforward.
    • We filter transactions by the vendor name to include only "neowake" products.
  • Refund Challenges:

    • Problems arise when processing refunds and partial refunds in Shopify.
    • The main issue is accurately attributing refund amounts to "neowake" products, especially when orders contain products from multiple vendors.

The Problems:

  1. Partial Refunds:

    • Currently, our staff manually write "neowake" in the note section during a refund so our code can identify and include the refund in our analytics.
    • This manual process is error-prone and not efficient.
  2. Full Refunds:

    • When a full refund is processed, it's challenging to determine if partial refunds have already been issued for that order.
    • If we deduct an amount from the refund (e.g., €20 for restocking fees or other reasons), it's unclear how much of that deduction applies to "neowake" products versus other vendors' products.
    • We can't accurately calculate the net refund amount attributable to "neowake".

 

What I've Tried:

  • Code Logic:
    • For sales, the code checks each line item in an order to see if the vendor is "neowake" and calculates the net amount accordingly.
    • For refunds, especially partial ones without line items (like when only an amount is refunded without specifying products), the code relies on the note containing "neowake" to include it in the analytics.
    • This method isn't reliable for full refunds or when deductions are made.

 

What I'm Seeking:

A way to automatically attribute refund amounts to the correct vendor without relying on manual notes. Ideally, the solution should handle both partial and full refunds, even when deductions are involved.

 

 

Is there a Shopify app or plugin that enhances the refund interface, allowing us to specify which products or vendors the refund applies to?

 

Any insights, recommendations, or examples of how others have tackled similar issues would be greatly appreciated!

Thank you in advance for your help!

Replies 2 (2)

ryanlocale
Shopify Partner
4 0 0

Hi Yannick,

As I believe I understand, you are trying to get specific refund analytics for products from a particular vendor.

I am not aware of a shopify app that currently handles this specific use case. However, I have built a few custom solutions for merchants with similar needs. 

Feel free to reach out if you want to go the custom route.

PaulNewton
Shopify Partner
7096 630 1484

Hi @Yannick_neowake also see the partner slack channel found through your partner dashboard's support section.

 

Aside from finding a refund-app-unicorn through searching the app forum,

It's either develop some custom middleware, ar fullblown custom refund dashboard using an internal tool service like retool etc.

Or automate adding flags with tags/metafields to orders ,  using either shopify-flow or more advanced the usemechanic app to automate or send http requests to third party apis(must be basic http auth). Or fancier with metaobjects for deeper logging.

https://help.shopify.com/en/manual/shopify-flow/reference/triggers/refund-created 

https://tasks.mechanic.dev/?q=refund 

 

If you need such automation developed then contact me for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

 

And of course pour over any official docs, though searching the dev docs is a chore since refund as a concept isn't really centralized with sample use cases it's more a poor diaspora of information across different systems.

one example: 

https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management#step-9-i... 

 

Good Luck.

Contact [email protected] for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org