Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › Not tracking affiliate sales when using Authorize.net, works with paypal
Tagged: authorize.net, commissions, estore
- This topic has 8 replies, 2 voices, and was last updated 12 years, 1 month ago by msbuser.
-
AuthorPosts
-
October 11, 2012 at 11:46 pm #7632msbuserMember
eStore v6.8.1
Affiliate platform v5.2.5
eMember v8.1.2
I’m adding a product to cart and checking out. Using Paypal gateway everything works fine. When I turn off Paypal and turn on Authorize.net gateway everything works except the affiliate commissions don’t work. It does register the sale in eStore and the click through in Affiliate. Just not the sale.
Before testing each I delete all customers, affiliates and members form the plugins. All other variables are unchanged. Please help if you can. Here is a copy of the difference in the eStore post payment log.
PAYPAL
[10/05/2012 5:39 PM] – SUCCESS :===> Start of Affiliate Commission Calculation <===
[10/05/2012 5:39 PM] – SUCCESS :Checking if the WP Affiliate Platform Plugin is installed.
[10/05/2012 5:39 PM] – SUCCESS :WP Affiliate Platform is installed, checking commission related details…
[10/05/2012 5:39 PM] – SUCCESS :The referrer for this sale is:tester0987
[10/05/2012 5:39 PM] – SUCCESS :Processing Commission for : Marketing Partner
[10/05/2012 5:39 PM] – SUCCESS :Total Price of the currently processing item : 10
[10/05/2012 5:39 PM] – SUCCESS :Using commission rate from affiliate profile
[10/05/2012 5:39 PM] – SUCCESS :Using % based commission rate for this commission. Qty:1, Total price:10, Commission level:25
[10/05/2012 5:39 PM] – SUCCESS :Affiliate version is greater than 4.7
[10/05/2012 5:39 PM] – SUCCESS :Sent commission email notification request to the affiliate plugin
[10/05/2012 5:39 PM] – SUCCESS :The sale has been registered in the WP Affiliate Platform Database for referrer: tester0987 with amount: 2.50
[10/05/2012 5:39 PM] – SUCCESS :Awarding 2nd tier commission if applicable
[10/05/2012 5:39 PM] – SUCCESS :Tier commission awarded to: tester2345. Commission amount: 1.00
[10/05/2012 5:39 PM] – SUCCESS :End of tier commission check
[10/05/2012 5:39 PM] – SUCCESS :===> End Affiliate Commission Check <===
AUTHORIZE.NET
[10/10/2012 8:43 PM] – SUCCESS :===> Start of Affiliate Commission Calculation <===
[10/10/2012 8:43 PM] – SUCCESS :Checking if the WP Affiliate Platform Plugin is installed.
[10/10/2012 8:43 PM] – SUCCESS :WP Affiliate Platform is installed, checking commission related details…
[10/10/2012 8:43 PM] – SUCCESS :The referrer for this sale is:jgirard22
[10/10/2012 8:43 PM] – SUCCESS :The database record shows that the commission for this transaction has already been awarded so no need to do anything.
[10/10/2012 8:43 PM] – SUCCESS :===> End Affiliate Commission Check <===
October 12, 2012 at 3:55 am #50305adminKeymasterAre you doing sandbox/test mode transaction with your authorize.net account?
October 12, 2012 at 6:37 am #50306msbuserMemberno, all the sandbox settings are turned off.
October 12, 2012 at 6:38 am #50307msbuserMemberI do have authorize.net in test mode
October 13, 2012 at 2:20 am #50308adminKeymasterThat would be the cause. Authorize.net doesn’t issue any “Transaction ID” when you keep it in test mode (all the transaction IDs are 0 for test mode purchase). So you will need it in live mode to do affiliate testing with authorize.net.
Alternatively, go to the commissions data menu in the affiliate plugin and delete any commission where the transaction ID is 0. Then test it.
October 16, 2012 at 5:47 pm #50309msbuserMemberOk, Have everything working and posting properly in estore and Affiliate, BUT..
When I check out from authorize.net I am getting the following error
An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.
This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the product or service.
I have the referring url in authorize.net set to:
I have the return url in authorize.net blank.
The return url in estore is set to:
http:/www.mysocialblend.net/thankyou
The product page is:
http:/www.mysocialblend.com/
Seems like estore is getting all the info it needs. It appears that authorize.net is not getting the ok sent back to them (maybe?)
October 17, 2012 at 4:51 am #50310adminKeymasterAll your setup looks correctly. Recently authorize.net have started to have an issue when your “Thank You” page is not HTTPS (this requires SSL certificate).
Are you able to make your Thank You page using HTTPS like the following?
[https://www.mysocialblend.net/thankyou]
Alternatively, try the following:
Open the “eStore_advanced_configs.php” file and find the following line:
define('WP_ESTORE_USE_AUTH_NET_ALT_REDIRECTION', '0');
Once you find it change it to the following:
define('WP_ESTORE_USE_AUTH_NET_ALT_REDIRECTION', '1');
Now do a transaction and you shouldn’t see that previous issue as authorize.net will do the redirection slightly differently (when the user clicks the button after the transaction).
I am not a big fan of this option but this seems to be their preferred option if you don’t have a HTTPS thank you page.
October 17, 2012 at 5:47 am #50311msbuserMemberThat entry did not exist in that file.
October 17, 2012 at 6:14 am #50312msbuserMemberGot the HTTPS to work. Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.