PayPal button return URL

2005-08-28 Thread Bobby Hartsfield
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=ppcomfokey=#orderkey#;

 

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

HYPERLINK
http://mysite.com/join/index.cfmhttp://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=ppcomfamp;okey=jw8ahsj3o8dm1mnhttp:/
/mysite.com/join/index.cfm?act=ppcomfamp;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=ppcomfokey=jw8ahsj3o8dm1mn;

input type=hidden name=cancel_return
value=http://mysite.com/join/index.cfm?act=canceledokey=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
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216632
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: PayPal button return URL (update)

2005-08-28 Thread Bobby Hartsfield
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=ppcomfokey=#orderkey#;

 

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

HYPERLINK
http://mysite.com/join/index.cfmhttp://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=ppcomfamp;okey=jw8ahsj3o8dm1mnhttp:/
/mysite.com/join/index.cfm?act=ppcomfamp;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=ppcomfokey=jw8ahsj3o8dm1mn;

input type=hidden name=cancel_return
value=http://mysite.com/join/index.cfm?act=canceledokey=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


RE: PayPal button return URL (Solved)

2005-08-28 Thread Bobby Hartsfield
Well that was a fun conversation :) hehe that's what I get for posting on
Sundays.

Well between now and the olden days paypal has given the option of
defining the return method get or post default is get so my vars were
dead.

For the sake of the archives, use a hidden field called rm to define the
return method
1 (or omitted) = GET
2 = POST

input type=hidden name=rm value=2

man I miss PayFlowPro and Verisign accounts!

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



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216639
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54