Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN with Shareasale?


Guest

Recommended Posts

I'm setting a store up which is using the Paypal IPN mayment module. The same store is also intending to use Shareasale.

 

Here's the problem, Shareasale requires code to be added to checkout_process.php and checkout_success.php. This isn't normally a problem if you are processing cards from your store, however, Paypal processing is done on Paypal's servers. Users are sent there before they can get to the checkout_success.php page thus never invoking the Shareasale code.

 

So the question is, becasue I'm not entirely sure how the Paypal IPN works, after completion of an order at Paypal is it still possible for the user to get back to OSC's checkout_success.php page with their session intact?

 

Any help with this would be appreciated.

Link to comment
Share on other sites

Based upon the sheer volume of replies with solutions au gratin I'll have to assume that NO ONE has ever been able to get the Paypal IPN and the Shareasale affiliate program to work together. Apparently it's one or the other.

 

I thought maybe I could just load the Shareasale data from the checkout_process.php but it requires loading of a 1x1 pixel image. And, considering checkout_process.php does not load any HTML data itself then it is impossible to load that image So Shareasale see that a transaction happened.

 

Argh...

Link to comment
Share on other sites

It should work even so, the order processing and finalization is still done in your shop. (Its only the actual payment which is being done at paypal.

 

B)

Edited by toyicebear
Link to comment
Share on other sites

OK, so now that the redirect from Paypal seems to be working Shareasale does now register that there was a transaction, however, it does not include a price and Order ID.

 

I'm wondering if the Paypal proccess takes too long do the variables that are setup for shareasale in checkout_proccess.php expire or something before getting to checkout_success.php?

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...