Great question — answering as the UphillTech team:
linkArabys(){ window.PostAffTracker.setAccountId(this.settings.link_araby_accountid.toString()); window.sale = window.PostAffTracker.createSale(); window.sale.setTotalCost((this.settings.price_with_vat == 1) ? (this.order_data.sub_total - this.order_data.discount + this.payment_form.tax) : this.order_data.sub_total); window.sale.setProductID('0'); window.sale.setOrderID(this.order_data.code); window.sale.setCoupon('0') window.PostAffTracker.register(); } this working for me
Full answer by Mo Nabil: https://stackoverflow.stackexchange.com/a/76485462 (CC BY-SA 4.0).
Need it done for your business? UphillTech.