You probably don’t need to worry too much about refunds as they’re unlikely to meaningfully affect your stats, but if you do want refunds accounted for in ClickMagick here’s how it works …
Refunds processed automatically
Some refunds are processed automatically by ClickMagick:
1. Refunds of affiliate sales tracked via Webhook or Postback URL will be processed automatically as long as your affiliate network also sends refund data to your Webhook or Postback URL. All major affiliate networks do this.
2. If you’re using the ClickMagick Shopify App, any refunds from Shopify will be processed automatically.
3. If you’re using the Stripe, PayPal or Authorize.net recurring payment integrations, any refunds of those recurring payments will be processed automatically.
4. Refunds of any sales tracked via your HotMart integration will be processed automatically.
Manually mark a sale as refunded
In your sales log, you can simply click the Edit menu next to any sale and then select Refund Sale.
Automatically send refunds to ClickMagick
If you have the ability to send a webhook when a refund is issued in your system, or processed by your payment processing system, you can record your refunds in ClickMagick automatically.
Just have a webhook sent to the endpoint below when a refund is issued:
Here’s an explanation of the three parameters you can send to your endpoint URL:
s1 – This required value should be the email address or Campaigns Visitor ID for the visitor. If you don’t have the email address, you can get the Visitor ID from the first-party cookie that ClickMagick sets on your domain, or via the [cmc_vid] token which is available on any page with Campaigns Click Tracking code.
amt – This required value should be the amount of the refund, expressed as a negative value e.g. -99.00
ref – The optional “reference” value associated with the conversion. If the customer has multiple orders for the same amount as the refund, this is used to determine which order should be refunded.
Article 718 Last updated: 08/28/2024 6:53:22 AM https://www.clickmagick.com/kb/?article=718