Feb 3rd, 2010, 7:13 PM
Sure! Here's how it would work.
First off, not everyone that pays via PayPal clicks the "Return to merchant", so this would only be relevant for those users that do. If memory serves, there's a setting with the PayPal integration script called "custom" that is used to pass the unique submission ID to PayPal. The neat thing about that variable is that PayPal is nice enough to pass it BACK. And that's all you need to locate and display the info that's been stored in Form Tools for that submission.
What you can do is use the Form Tools API on your receipt page and use the ft_api_show_submission function to display the data.
But this raises security concerns... any hacker worth his mettle can fool a POST request from a particular source, so if you were worried about security you'd need to perhaps check sessions prior to displaying the information to ensure that the person submitting the form was the same one at the receipt page. Ah, HTTP...
Sorry for the rather high-level advice. Ideally, you'd have a programmer stashed away in a closet somewhere that could take this on... I won't fib, it is a little fiddly.
- Ben
First off, not everyone that pays via PayPal clicks the "Return to merchant", so this would only be relevant for those users that do. If memory serves, there's a setting with the PayPal integration script called "custom" that is used to pass the unique submission ID to PayPal. The neat thing about that variable is that PayPal is nice enough to pass it BACK. And that's all you need to locate and display the info that's been stored in Form Tools for that submission.
What you can do is use the Form Tools API on your receipt page and use the ft_api_show_submission function to display the data.
But this raises security concerns... any hacker worth his mettle can fool a POST request from a particular source, so if you were worried about security you'd need to perhaps check sessions prior to displaying the information to ensure that the person submitting the form was the same one at the receipt page. Ah, HTTP...
Sorry for the rather high-level advice. Ideally, you'd have a programmer stashed away in a closet somewhere that could take this on... I won't fib, it is a little fiddly.
- Ben