Appnitro Software Forums » MachForm 2

Inserting form elements into paypal redirect


  1. edgedata
    Member

    Hi,

    What is the correct format to embed a form element in the redirect

    In post_functions.php I have the line:
    $process_result['form_redirect'] = "https://www.paypal.com/cgi-bin/webscr?business=payments@mydomain.com&cmd=_xclick&currency_code=GBP&amount=999&item_name=Payment%20from%20Name%20Surname";

    I want to replace the 999 with my form element_29, Name with element_2 and Surname with element_3

    I've tried all sorts but cannot make it work. Any one able to help a newbie please?

    Posted 5 months ago #
  2. You can use $table_data['xxxx'] variable, such as $table_data['element_29']


    MachForm Founder

    Posted 5 months ago #

RSS feed for this topic

Reply