Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

Are you getting any error messages? Are your affiliate pages accessing through SSL (https://) or NONSSL (http://)? Is your path correct (you can check this by right clicking on the broken image and selecting properties. Also check to see if your banners are actually being uploaded by checking the catalog/images/ folder. Try checking your error logs also, this may provide a clue.

 

Regards,

Michelle

 

 

It is not showing the banners that have been uploaded. Is there a fix for this? the banners are there just not showing in the affiliate area with the code.
Link to comment
Share on other sites

Have you looked at the path for the image on the affiliate_banners.php page? Or checked your site's error logs? Honestly, you shouldn't have any problems - I installed this a few days ago, and only had to do some minor tweaking (mostly cosmetic)...but I did not experience any problems with the banner not showing at all.

 

Hope you find the solution...

 

Regards,

Michelle

 

using NONSSL at this time and yes the images are there. And no I am not getting any error messages when loading the images.
Link to comment
Share on other sites

From the faq:

Q: Banner: Links to banners work. Images don't display

A: - In the affiliate_configure.php you can activate a debug modus for affiliate_show_banners.

- Try changing define ('AFFILIATE_KIND_OF_BANNERS','2');to 1 in catalog/includes/affiliate_configuration.php.

Then you should see where it tries to get the images from.

 

I recommend trying the debugmodus...

Link to comment
Share on other sites

michell21, tried changing billing time, and payment status to 1,2, and 3 and nothing shows. Would i have to make a new order. or should the previouse ones still show up? they are in the summary as $60 now.

 

 

define ('AFFILIATE_BILLING_TIME','0'); // Orders billed must be at leat '30' days old.

// needed if a order is refunded

define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1'); // Which status must an order have, to be billed

 

thanks for your help.

Link to comment
Share on other sites

When I ran the initial tests, I created a new order - changing the config file to "0" days - and status "1". I also made sure my minimum payment was set to "$0.00 in the configuration area of the control panel. I'm not sure why it didn't work with the change "after" an order - as there may have been certain statuses already set in the database that would have had to be manually changed. I'll try testing an affiliate order before and after a config file change to see if I can produce the same problem. But try a new order to see the function. It should work if you have all 3 settings as described above.

 

Regards,

Michelle

 

michell21, tried changing billing time, and payment status to 1,2, and 3 and nothing shows. Would i have to make a new order. or should the previouse ones still show up? they are in the summary as $60 now.

 

 

define ('AFFILIATE_BILLING_TIME','0'); // Orders billed must be at leat '30' days old.

// needed if a order is refunded

define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1'); // Which status must an order have, to be billed

 

thanks for your help.

Link to comment
Share on other sites

Nope -1 doesn't work.

 

 

Total Affiliate Transactions: [?] 4 Conversion: [?] 0.444444%

Total Affiliate Sales: [?] $1,325.00CDN Average Affiliate Payout/Sale: [?] $331.25CDN

Clickthrough Rate: [?] $0.00CDN Pay Per Sale Rate: [?] $0.00CDN

Commission Rate: [?] 5% Total Affiliate Commission : [?] $76.25CDN

 

 

Affiliate Pay Per Sale Payment % Rate 5.0000

Payment Threshold 10.00

Cookie Lifetime 7200

 

 

define ('AFFILIATE_BILLING_TIME','-1'); // Orders billed must be at leat '30' days old.

// needed if a order is refunded

define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1'); // Which status must an order have, to be billed

define ('AFFILIATE_NOTIFY_AFTER_BILLING','true'); // Nofify affiliate if he got a new invoice

Link to comment
Share on other sites

It worked fine for me with the billing time set at 0, but I notice your payment threshold set at 10.00. Is the commission your trying to bill more than $10.00?

 

Regards,

Michelle

 

Affiliate Pay Per Sale Payment % Rate 5.0000

Payment Threshold 10.00

Cookie Lifetime 7200

Link to comment
Share on other sites

I should clarify that question. As I see your TOTAL affiliate commissions at $76.25. But when you click the "START Billing" button - it only bills the affiliates with more than $10 in commission. If you have more than one affiliate making the combined $76.25, but not one making more than $10 - that could be why you're having that problem.

 

Also, is your affiliate program live? Or are you just testing?

 

It worked fine for me with the billing time set at 0, but I notice your payment threshold set at 10.00. Is the commission your trying to bill more than $10.00?

 

Regards,

Michelle

 

Affiliate Pay Per Sale Payment % Rate 5.0000

Payment Threshold 10.00

Cookie Lifetime 7200

Link to comment
Share on other sites

If it's not to hard for you to do, you can delete all the affiliate orders you made, and clean out the affiliate_payment and affiliate_sales tables in your database...then do a new order where the commissions = to over the threshold.

 

I swear it works. :wink:

 

Regards,

Michelle

 

that $76 is all for one test affiliate. it's live, but not announced yet. should i see something in purchases?
Link to comment
Share on other sites

geez i must be stupid.

 

ok..

i emptied the affiliate_sales and affiliate_payment

i have threshold at $9

 

these settings:

define ('AFFILIATE_BILLING_TIME','-1'); // Orders billed must be at leat '30' days old.

// needed if a order is refunded

define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1'); // Which status must an order have, to be billed

 

and i just added a sale which results in a $20 commission on the Summary

 

nothing in payment still. :?

Link to comment
Share on other sites

I wonder if it's recognizing the -1 entry. If you have a moment, try this. Set the Billing Time to "1", then in your affiliate orders table (in the database), Change in table affiliate_sales, row affiliate_date to a date 2 days earlier.

 

Then in your table orders, rows date_purchased and orders_date_finished do the same. Make sure the orders_status is set to whatever you have set in your configuration file or higher. i.e. if you have 'AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1' - try setting this to 2.

 

Then try again. I had to do it this way the first time to see the billing work.

 

Hope this works...

 

Regards,

Michelle

 

geez i must be stupid.

 

ok..

i emptied the affiliate_sales and affiliate_payment

i have threshold at $9

 

these settings:

define ('AFFILIATE_BILLING_TIME','-1'); // Orders billed must be at leat '30' days old.

// needed if a order is refunded

define ('AFFILIATE_PAYMENT_ORDER_MIN_STATUS','1'); // Which status must an order have, to be billed

 

and i just added a sale which results in a $20 commission on the Summary

 

nothing in payment still. :?

Link to comment
Share on other sites

Change in table affiliate_sales, row affiliate_date to a date 2 days earlier.

 

Sorry, not much sleep...let me clarify that you need to locate the sale by clicking "browse". DON'T change any table or row settings.

 

 

Then in your table orders, rows date_purchased and orders_date_finished do the same.

 

Again, make sure you DON'T change any table or row settings, just locate the purchase made under the affiliate link...and make the necessary changes.

 

Geesh I need a nap. :roll:

 

Regards,

Michelle

Link to comment
Share on other sites

From the faq:

Q: Banner: Links to banners work. Images don't display

A: - In the affiliate_configure.php you can activate a debug modus for affiliate_show_banners.

- Try changing define ('AFFILIATE_KIND_OF_BANNERS','2');to 1 in catalog/includes/affiliate_configuration.php.

Then you should see where it tries to get the images from.

 

I recommend trying the debugmodus...

 

Tried doing all suggested and still no banner will show. Here is the sample of code it is using.

 

<a href="http://www.huntseek.net/gearstore/catalog/default.php?ref=1&affiliate_banner_id=2" target="_blank"><img src="http://www.huntseek.net/gearstore/catalog/affiliate_show_banner.php?ref=1&affiliate_banner_id=2" border="0"></a>

Link to comment
Share on other sites

@Hunter: If you use 0.4 activate the debug modus

define (AFFILIATE_SHOW_BANNERS_DEBUG', 'true');

an then look at:

ttp://www.huntseek.net/gearstore/catalog/affiliate_show_banner.php?ref=1&affiliate_banner_id=2

(or let us look)

Link to comment
Share on other sites

The debug feature is awesome, I used it on a new install where I have the image directory for the store using an image directory for another store and it showed me where it was trying to call the image from.

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

michelle,

 

found the problem, i am such a dork. it wasn't the date, -1 for testing purposes works fine. you actually have to send it first though. doh! thanks.

 

 

i seem to be having one more problem from the affiliate side. i get logged out when i am logged in as an affiliate and click build link, or go to send a message. i am using the auto login module. would that affect this?

 

Thanks for all your help

 

Ryan

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...