I was trying to use Redirect to External Link on the Thank you page do

  • SBVA
    Asked on October 7, 2018 at 5:25 AM

    I was trying to use Redirect to External Link on the Thank you page do the following:

    1. Direct the page to a Paypal processing page that we use for organization.

    2. The link is standard and works well.

    3. However, I wanted to Insert the form variable called {TotalFee} into the URL https://www.paypal.com/xclick/business=payment%40samskritabharatiusa.org¤cy_code=USD&amount=$_POST['TotalFee']&item_name=VA Balakendram Registration Fee.

    2. For some reason the link is not working because of this form variable. If I replace the form variable with a constant (e.g. amount=175) then the link works correctly.

    Can you tell me what was wrong?

    After that works I have another question.

    1. What I really want is once I redirect the user to Paypal External link, is there any way we can return back to the form with the "processing complete" message?

  • Adrian
    Replied on October 7, 2018 at 5:40 AM

    You can pass the form data via URL parameters but you have to put the Unique Name of the field in curly braces.

    So, if the unique name of the total field is 'totalFee', you would reference that value as {totalFee} in the URL.

    Related Help Articles:

    How-to-Find-Field-IDs-and-Names

    How-to-Automatically-Pass-Form-Data-to-Another-Form


    1. What I really want is once I redirect the user to Paypal External link, is there any way we can return back to the form with the "processing complete" message?

    This help article from PayPal may help.

    https://www.paypal.com/ie/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

    You can also contact the PayPal support if that doesn't help.