Webmastersite.net
Register Log In

What to do if I have more than one IPN ?
How to get the sponsor payment worked?

Comments on What to do if I have more than one IPN ?

mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Sep 27, 2006 - 5:58 PM:

I got an IPN url set up on my paypal already, and now I have to set up another one for wsnlinks, but we can only set up one url on personal paypal account.

What I can do for this? is there a way to bypass IPN url and it will redirect to the correct page after sending the payment?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 01, 2006 - 4:46 PM:

I don't know of a way, unless the 'return url' does it (never tried), but you'd best ask paypal's support.
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Oct 12, 2006 - 6:54 PM:

why I am asking is beasue I see another directory script doesn't require the IPN and it can redirect to the correct page after the payment.

I have some other directories that I want to switch to wsnlinks. but the IPN makes me stop. right now, if no IPN enters, the script will just redirect the user to the homepage rather than the thank-you page.

People usually have more than one directory site nowadays.

Anyone has any idea how to solve this problem?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 14, 2006 - 1:31 AM:

So what does this other script do? Does it set the return url on the payment button?
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Oct 15, 2006 - 11:37 PM:

Yes, they set the return url on the payment button.

This is from another directory script.
<input type="hidden" name="return" value="....../payment.php?payed={$ID}">


This is from wsnlinks
<input type="hidden" name="return" value="{DIRURL}">


Hope u can make a hack or addon for this.

thanks,

mc
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 16, 2006 - 10:17 AM:

Open paypal.php and at the bottom just above
?>
add
if ($showsite) header("Location: ". $settings->dirurl);
, then set your return url in the form to {DIRURL}/paypal.php?showsite=1

Does that work properly?
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Oct 21, 2006 - 7:01 AM:

I tried your codes, but I was redirected to .../paypal.php which is a blank page, and nothing was showing on that page.


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 26, 2006 - 6:21 PM:

I have it working but I'm not sure if it'll handle e-check delays and it doesn't seem to use the same verification process so it's possible for people to fake a payment... plus I don't believe it'll process if the customer doesn't click the return to site option. It'll be paypalreturn.php.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 27, 2006 - 9:47 PM:

Correction: I don't think those'll be issues after all, I got it to validate the normal way.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.