- This topic has 3 replies, 2 voices, and was last updated 5 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Affiliates Management Plugin for WordPress
by
WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Award commissions after a user submits media (integration with rtmedia plugin)
I want to pay affiliates for referrals that produce content on my site. This would be a one time per user referred right after this user submits their first media. So no real sales would be generated.
My site is using buddypress for it’s social features and RTMedia for user media managements. So I believe the integration should be done with RT Media
I think this can be achieved by following this documentation api-track-commission-via-a-wordpress-hook
Unfortunately I’m not a developper.
Do you have any documented examples of integration that I can use to guide me through the process??
Also is it fine if no “txn_id” or “amount” are passed to track the commissions?? Since no sales will be generated I won’t have those details
Thanks in advance!
@tonio514, The plugin cannot automatically reward a commission if no unique “txn_id” or amount is provided.
Ok but manual commissions generates a unique transaction ID. Can’t we do the same here?? And for the amount could we hardcode an amount like 0.01$
@tonio514, You can hardcode the amount. However, the “txn_id” has to be unique. So your script needs to generate a unique ID and call our plugin (with those parameters) so it can record a commission.