Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Has anyone used Paypal Payments Standard?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 01 October 2007 :  14:06:33  Show Profile  Visit JJenson's Homepage
I am wondering basically I have this code.


" <form action=""https://www.sandbox.paypal.com/cgi-bin/webscr"" method=""post"" style=""margin:0px 0px 0px 0px;"">" & vbNewLine & _
" <input type=""hidden"" name=""cmd"" value=""_xclick"">" & vbNewLine & _
" <input type=""hidden"" name=""return"" value=""http://www.vmcplugins.com/forum/file_redirect.asp"">" & vbNewLine & _
" <input type=""hidden"" name=""rm"" value=""2"">" & vbNewLine & _
" <input type=""hidden"" name=""business"" value=""1191186783@test.com"">" & vbNewLine & _
" <input type=""hidden"" name=""item_name"" value=""" & chkString(fileTitle,"display") & """>" & vbNewLine & _
" <input type=""hidden"" name=""item_number"" value=""" & intID & """>" & vbNewLine & _
" <input type=""hidden"" name=""amount"" value=""" & filePrice & """>" & vbNewLine & _
" <input type=""hidden"" name=""no_shipping"" value=""0"">" & vbNewLine & _
" <input type=""hidden"" name=""no_note"" value=""1"">" & vbNewLine & _
" <input type=""hidden"" name=""currency_code"" value=""USD"">" & vbNewLine & _
" <input type=""hidden"" name=""lc"" value=""US"">" & vbNewLine & _
" <input type=""hidden"" name=""bn"" value=""PP-BuyNowBF"">" & vbNewLine & _
" <input type=""image"" src=""http://www.vmcplugins.com/images/buyNow.gif"" border=""0"" name=""submit"" alt=""Make payments with PayPal - it's fast, free and secure!"">" & vbNewLine & _
" <img alt="""" border=""0"" src=""https://www.paypal.com/en_US/i/scr/pixel.gif"" width=""1"" height=""1""></form></td>"


Now I have been trying to get values passed back on an auto redirect. BUt when I turn on auto redirect it doesn't post back any variables. But when I turn it off you have to click a link to return it posts back everything I need.

I am just wondering if anyone knows the settings on how to get the values past with auto return on.

I have asked on their forums but have not gotten an answer back from them on this issue though I would see if anyone else here has had this issue and a work around for it.

Thanks

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 04 October 2007 :  10:31:58  Show Profile  Send pdrg a Yahoo! Message
Could you use something like a javascript form.submit as opposed to a response.redirect
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 04 October 2007 :  19:14:47  Show Profile  Visit JJenson's Homepage
I actually figured out the problem lies within paypal and their settings not passing back the value I need I am going to take another stab at this. But I got one version working but the customer has to click a button to return to get their download which I would much rather have it automated.

THanks for the idea though
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 05 October 2007 :  11:18:17  Show Profile  Send pdrg a Yahoo! Message
I'd make them click the link, myself - for instance

if there's >1 download in the transaction, how do you manage that?
If the automated download fails (likely with popup blockers, etc), what's the recourse?

If they have to click, it gives them more than one chance to get it right, and you're also closer to finishing the job too ;-)
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 05 October 2007 :  11:28:16  Show Profile  Visit JJenson's Homepage
Yeah except then if they close the browser for any reason at all then they can't download the file without me letting them directly.

There will never be more than 1 download per transaction. I have set it up this way for a sepcific reason I have developers that own part of the rights on different downloads and just want to keep it all seperate.

But if they don't click the link back to the site then they can only get the download through me. Which is the exact same recourse as if for some reason the automated solution wouldn't work. Plus the script isn't initializing the download to pop up they have to click a link to download it.

Thanks for the suggestions they are always welcome. Plus I am still new to thinking out the process on bigger projects so this is good Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07