close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayPal paynow button price from variable

Thread began 4/02/2010 7:36 pm by JBWebWorks | Last modified 12/28/2011 12:00 pm by JBWebWorks | 22744 views | 9 replies

tiziano.demaria432868

Originally Said By: Jason Byrnes
  please post a link where i can see the problem.  


Hello Jason

The site is protected by password in this moment, because it's under development.
Anywhow I worked all the night to solve this issue.

I found it a couple of hours ago. The fault was mine.
I was using a created PayPal button, using the code that PayPal assigns to the buttons.

The fact is that, with their buttons, I cannot assign a value to that field from my website.
When I use their button , I have to fix the parameters in their form, and I'm not allowed to use anything else.

The solution was and is: to avoid their buttons.
Just creating the form as I published in my first message here, I can use all the parameters I want, and these are created by several functions in the website itself.
I didn't know that, that's why I was creating confused things.
I'm sorry for my mistakes.

A "mistery" stays the return page.
Indeed in this case, if I write:

<input type="hidden" name="return" valuer="http://www.mysite.com/return_page.php" />

PayPal appends in GET (I wanted in POST but I have not clue how to do it) some flag,
like:

http://www.mysite.com/return_page.php?tx=36T195469W138745N&st=Completed&amt=10.45&cc=EUR&cm=&item_number=2



while if I want to have added some my flags to the one of PayPal, like this example:

<input type="hidden" name="return" value="http://www.mysite.com/return_page.php?sid=$sid&type=$type" /> where $sid and $type are generated by my PHP script, what I get back is something like:

http://www.mysite.com/return_page.php??sid=20&type=tapes



and PayPal doesn't add anything like it should. Indeed I expected to have back:

http://www.mysite.com/return_page.php??sid=20&type=tapes&tx=36T195469W138745N&st=Completed&amt=10.45&cc=EUR&cm=&item_number=2



but it doesn't :-(

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...