close ad
Databridge V2 with MySQLi support IS Now Available!
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 10:36 pm by JBWebWorks | Last modified 12/28/2011 3:00 pm by JBWebWorks | 16985 views | 9 replies


to tiziano - regarding passing data from form to thank-you page


If you include the data in the pay now button form hidden tag "custom" value the data will be returned in the "cm=" NVP.

If the data is multi field then simply include a separator between fields (ie use "|" char is common... something that won't appear in the field values).

Then simply expand the "custom" ("cm") value in to each item value by splitting with the (ie) "|" char again when received via GET in the thank-you page.

The query string you receive (above) is correct and safe. It is supplied that way so a basic thank-you page can be dynamically created with minimal info.

BUT to then capture a confirmed UN-TAINTED (secure and correct) full transaction record your dynamic page must use the "tx" value with your PDT key in a handshake with the PP server which once confirmed legit will return the transaction record in full ending the handshake with a POST data stream which your dynamic PDT page can then parse as desired.

Whether you receive the PDT query string (above) and subsequent POST data stream, or nothing, or a simple get query string, depends on your PP profiles PDT setup. It is complicated to follow on the PP site PDT page help info I know but I think yours appears to be set OK for as I explained.

**So, try using the "custom" hidden tag embedded with the carry-over data and it will be sent to your thank-you page post payment in the "cm" NVP.

PS NEVER rely on the full PDT process to update dbs etc with the transaction record captured this way, only for display purposes. It is on record many payers simply surf on elsewhere from the PP payment results page, or their browser / ISP connection crashes and consequently the PDT (thank-you page) db record parsing never takes place (USE THE DISCREET IPN process ALSO to reliably do that seconds before hand).

Hope that helps some bod.

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





Ease of use


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