Approve/decline commissions by Order ID
This is a sample code of how to approve or decline PENDING transactions by Order ID, it will approve all pending transactions with inserted Order ID (all tiers and all products), also transactions which are not processed by cron.
Please note, that you can not use this script to decline approved transaction, or approve declined transaction. This script works and change the status of pending transactions only!
If you want to change already approved or declined transaction, you need to use this A...