Actually, I set the other site up locally (the one that worked) on my dev
box and it is doing the same thing. Weird.

The whole process is pretty useless without the URL variables. Hopefully
someone else is seeing this or has seen it before?

-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 28, 2005 6:23 PM
To: CF-Talk
Subject: PayPal button return URL

I am sort of new to the whole PayPal payment in my applications. I’ve only
done this one other time and it seems to work just fine but I can’t see the
difference that is causing it to fail between my old working app and the one
Im currently working on.

 

I gave the Paypal button both the return field and cancel_return field. When
I get to the sandbox, I can hit pay or cancel. Cancel goes back to the url I
tell it to.

 

When I hit buy it goes to the next (confirmation) screen with a “Return to
Merchant” button that brings them back to the site. It comes back to the
correct url but the url variables are missing.

 

Eg.. I have

<input type="hidden" name="return"
value="http://mysite.com/join/index.cfm?act=ppcomf&okey=#orderkey#";>

 

But when it comes back to the site it comes back to 

HYPERLINK
"http://mysite.com/join/index.cfm"http://mysite.com/join/index.cfm?

 

I’ve looked at the source of the paypal “Return to Merchant” button and the
form’s action is indeed the correct path:

 

Action=”HYPERLINK
"http://mysite.com/join/index.cfm?act=ppcomf&amp;okey=jw8ahsj3o8dm1mn"http:/
/mysite.com/join/index.cfm?act=ppcomf&amp;okey=jw8ahsj3o8dm1mn”

 

Here is the source of the actual button on my site...

 

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr"; method="post">

<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value="[EMAIL PROTECTED]">

<input type="hidden" name="item_name" value="Membership">

<input type="hidden" name="item_number" value="jw8ahsj3o8dm1mn">

<input type="hidden" name="amount" value="20.00">

<input type="hidden" name="no_shipping" value="1">

<input type="hidden" name="return"
value="http://mysite.com/join/index.cfm?act=ppcomf&okey=jw8ahsj3o8dm1mn";>

<input type="hidden" name="cancel_return"
value="http://mysite.com/join/index.cfm?act=canceled&okey=jw8ahsj3o8dm1mn";>

<input type="hidden" name="no_note" value="1">

<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="lc" value="US">

<input type="hidden" name="bn" value="PP-BuyNowBF">

<input type="image"
src="https://www.sandbox.paypal.com/en_US/i/btn/x-click-but03.gif";
border="0" name="submit" alt="Make payments with PayPal - it's fast, free
and secure!">

</form>

 

(Hopefully, all of that stays in a readable format when I hit send!)

 

Anyone see something I’m missing? I just can’t see why it would cut off the
url vars like that.

 

Thanks for any help.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005
 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216633
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to