Page 1 of 1

Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:09 pm
by endlessxpressions
So I purchased the affiliate module via the OpenCart store. Installed it. Didn’t work for what I needed so I disabled it. Then I went and got an external affiliate program and installed that.
Here is my issue... now when an affiliate goes to make a purchase using their link on the new system, it won’t let them checkout. The errors look like they have something to do with the old system.
My question is, should I delete the modules in the modifications ? Would that help?
Code was already removed, and the old disabled but the modifications list still has them.
Any idea on this? I’m lost 😩

Re: Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:20 pm
by straightlight
No OC version posted.

Re: Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:31 pm
by endlessxpressions
OS 2.0
Forgot to add that

Re: Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:33 pm
by endlessxpressions
Accounts Combine module for openCart 2.3 YP 1.6.1212 Disabled 15/03/2018
Accounts Combine module for openCart 2.3 - Templates YP 1.6.1212 Disabled 15/03/2018
Affiliate Tracking with Coupons (OC2.3) YP 1.6.0525 Disabled 15/03/2018
Multi tier affiliate system (controllers, models, system) YP 1.6.1010 Disabled 15/03/2018
Multi tier affiliate system (templates, language) YP 1.6.1010 Disabled 15/03/2018
Tracking Discount (OC2.3) YP 1.6.0922 Disabled 15/03/2018


These are the old affiliate files still located in modifications. I’m not sure if deleting them will help or not

Re: Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:50 pm
by endlessxpressions
Not sure how to attach a picture of the error here...
In short, I have to type it Error says:

Fatal Error: uncaught error: call to undefined function mta_check_int home/sweetma8/public_html/catalog/model/affiliate/mta_affiliate.php:188

and goes on.. to me it looks like its trying to connect to the old affiliate program we purchased and installed.. Not sure how to completely remove that old program or what I should remove at this point for this to stop coming up in step 6 (Confirm order) in checkout
Only shows in that step of the checkout

Re: Help! Affiliate app messing with sales

Posted: Sat Apr 07, 2018 11:51 pm
by endlessxpressions
got it _-- here is the error in the confirm step 6 in checkout we are getting

Fatal error:
Uncaught Error: Call to undefined function mta_check_int() in /home/sweetma8/public_html/catalog/model/affiliate/mta_affiliate.php:188 Stack trace: #0 /home/sweetma8/public_html/catalog/model/affiliate/mta_affiliate.php(277): ModelAffiliateMtaAffiliate->getAffiliate(22) #1 /home/sweetma8/public_html/catalog/model/affiliate/mta_affiliate.php(30): ModelAffiliateMtaAffiliate->prepareCommissions(22, Array) #2 /home/sweetma8/public_html/system/storage/modification/system/engine/loader.php(178): ModelAffiliateMtaAffiliate->addOrder(134, Array) #3 /home/sweetma8/public_html/system/engine/proxy.php(25): Loader->{closure}(Array, Array) #4 /home/sweetma8/public_html/catalog/controller/affiliate/mta_event.php(52): Proxy->__call('addOrder', Array) #5 /home/sweetma8/public_html/system/storage/modification/system/engine/action.php(51): ControllerAffiliateMtaEvent->eventAddOrderPost('checkout/order/...', Array, 134) #6 /home/sweetma8/public_html/system/engine/event.php(23): Action->execute(Object(Registry), Array) #7 /home/ in /home/sweetma8/public_html/catalog/model/affiliate/mta_affiliate.php on line 188

Re: Help! Affiliate app messing with sales

Posted: Sun Apr 08, 2018 12:08 am
by straightlight
Incomplete OC version provided. Error provided caused by an installed extension. Contact the extension developer to resolved this issue.

Re: Help! Affiliate app messing with sales

Posted: Sun Apr 08, 2018 12:19 am
by endlessxpressions
Thank you
I figured it was the old affiliate program but wasn’t totally sure
Will contact them