Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC Affiliate and EPDQ - Losing Session


Mort-lemur

Recommended Posts

Hi,

 

I have been testing my OSC Affilate installation on a 2.2 RC2a store, specifically the ability to record affiliate sales.

 

Payment by cheque - works fine

Phone with Payment - Works fine

Pay with Paypal IPN - Works fine

 

Pay with Barclays EPDQ - No sale is recorded - it looks like the session is being lost on transfer to the payment page.

 

In the Paypal IPN File I needed to add the following changes to make things work:

 

Line 87

// OSC Affiliate Change
global $affiliate_ref, $affiliate_clientdate, $affiliate_clientbrowser, $affiliate_clientip, $affiliate_clickthroughs_id, $HTTP_SESSION_VARS;

 

Line 297

// Include OSC-AFFILIATE
require(DIR_WS_INCLUDES . 'affiliate_checkout_process.php');

 

I have tried adding these into the epdq file but no success.

 

Has anyone got these two working together or is prepared to take a look for me?

 

Many Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

Hi,

 

Never mind - I have sorted it out

 

Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

  • 5 weeks later...

Hi,

 

The following worked for me, Please give it a try and if It works let me know, as support for epdq is hard to find...

 

In includes/modules/payment/epdq.php

 

Find (around line 80)

 

   function confirmation() {
    global $cartID, $cart_ePDQ_temp_id, $customer_id, $languages_id, $order, $order_total_modules;

 

Add After :

 

// BOF OSC Affiliate Change
global $affiliate_ref, $affiliate_clientdate, $affiliate_clientbrowser, $affiliate_clientip, $affiliate_clickthroughs_id, $HTTP_SESSION_VARS;
// EOF OSC Affiliate Change

 

Find (around line 272):

 

		    tep_session_register('cart_ePDQ_temp_id');
		    $cart_ePDQ_temp_id = $cartID . '-' . $insert_id;
	    }
    }

 

Add After:

 

:

// BOF Include OSC-AFFILIATE
require(DIR_WS_INCLUDES . 'affiliate_checkout_process.php');
// EOF Include OSC-AFFILIATE

 

Test it out and it should work.

 

Hope that helps

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

Hi, Thanks for taking the time to post however I don't have OSC Affiliate installed so sadly that is not my issue. However you are right any help on EPDQ CPI is hard to find.

I have been working on this for days and really am at the end on my tether :(

 

Thanks again

Link to comment
Share on other sites

OK,

 

What is your specific problem? I have EPDQ working great on 2 stores (OSC 2.2 Rc2a) Maybe I can help.

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...