Jump to content

NoInvoice Order = No Affiliate Credit.


Mr-Yellow

Recommended Posts

How can I force the system to credit Affiliates for Orders which have NoInvoice?

 

I was told it's not on the InvoicePaid hook and can't be added to the OrderAccept hook........

 

 

I'd like to have Affiliates credited for sales they make.

Including Orders without Invoices, which are correctly tracked by the system but never credited.

 

Currently I have 2 options

 

1) Visit each affiliates screen and manually payout every order by hand. (no way)

2) Duplicate/re-write the affiliate crediting code to run on a cron or OrderAccept hook.

 

I'd like a 3rd option:

 

3) Use the existing code for Affiliate crediting but have it run on OrderAccept instead of only after an invoice is paid.

 

 

Responses to my tickets have assumed I'm a crackhead, directed me towards the documentation without reading the issue, so any help would be much appreciated.

Link to comment
Share on other sites

Yeah fixed amount on the product.

 

Although no pending commission is created, the orders are there and available for "Manual Payout" but there is no code triggering orders commission to be processed once accepted.

 

Not sure when the code runs (doesn't appear to be cron) but the query would seem to focus on the status of the attached invoice and ignores the status of the order even when it has no invoice attached.

Link to comment
Share on other sites

There is a function for the "Manual Payout" button, which will take orders in this state and process them, adding the commissions.

 

It would be awesome if I could just specify that function as the OrderAccept hook.

 

Rather then duplicating and re-writing the same code, while possibly introducing bugs.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated