Add Payeezy to JotForm payment integration

  • 3palmszoo
    Asked on January 22, 2017 at 9:09 PM

    I need a form so clients can sign up for Zoo memberships or to make monthly donations.  We use First Data Payeezy Gateway and cannot find a form that will integrate with it.  I have been provided some PHP Code, but do not know how to facilitate it into a form.  Is this something you could help with?

    Sample Code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>

    Payment Pages: Sample PHP Payment Form

    </title>

    <style type="text/css">

    label {

    display: block;

    margin: 5px 0px;

    color: #AAA;

    }

    input {

    display: block;

    }

    input[type=submit] {

    margin-top: 20px;

    }

    </style>

     

    </head>

    <body>

    <h1>Processing Please Wait...</h1>

     

    <form action="https://demo.globalgatewaye4.firstdata.com/pay" method="POST" name="myForm" id="myForm">

     

    <?php

    $x_login = ""; // Take from Payment Page ID in Payment Pages interface

    $transaction_key = ""; // Take from Payment Pages configuration interface

    $x_amount = $_POST["x_amount"];

    $x_currency_code = "USD"; // Needs to agree with the currency of the payment page

    srand(time()); // initialize random generator for x_fp_sequence

    $x_fp_sequence = rand(1000, 100000) + 123456;

    $x_fp_timestamp = time(); // needs to be in UTC. Make sure webserver produces UTC

     

    // The values that contribute to x_fp_hash

    $hmac_data = $x_login . "^" . $x_fp_sequence . "^" . $x_fp_timestamp . "^" . $x_amount . "^" . $x_currency_code;

    $x_fp_hash = hash_hmac('MD5', $hmac_data, $transaction_key);

     

    echo ('<input name="x_login" value="' . $x_login . '" type="hidden">' );

    echo ('<input name="x_amount" value="' . $x_amount . '" type="hidden">' );

    echo ('<input name="x_fp_sequence" value="' . $x_fp_sequence . '" type="hidden">' );

    echo ('<input name="x_fp_timestamp" value="' . $x_fp_timestamp . '" type="hidden">' );

    echo ('<input name="x_fp_hash" value="' . $x_fp_hash . '" size="50" type="hidden">' );

    echo ('<input name="x_currency_code" value="' . $x_currency_code . '" type="hidden">');

     

    // create parameters input in html

    foreach ($_POST as $a => $b) {

    echo "<input type='hidden' name='".htmlentities($a)."' value='".htmlentities($b)."'>";

    }

     

    ?>

     

    <input type="hidden" name="x_show_form" value="PAYMENT_FORM"/>

    </form>

     

    <script type='text/javascript'>document.myForm.submit();</script>

     

    </body>

    </html>

     

  • Charlie
    Replied on January 23, 2017 at 1:11 AM

    Hi,

    We do not have a payment integration with Payeezy. You can check the list of payment processors that we support under "Payment Fields" section:

    Add Payeezy to JotForm payment integration Image 1 Screenshot 20

     

    If you have chosen one from the list, you can setup recurring payments or subscriptions in that integration by following this guide: https://www.jotform.com/help/166-How-to-Setup-a-Recurring-Payment-Option 

    If you are not familiar with setting up a payment/order form in JotForm, you can check the general guides below:

    https://www.jotform.com/help/47-Order-Form-Basics 

    https://www.jotform.com/help/49-Order-Form-Types 

    https://www.jotform.com/help/165-Setting-Up-Your-First-Order-Form 

     

    I will also forward this as a feature request to our developers as I see there are also other users looking for this integration. However, we cannot guarantee that this will be implemented. We will update you on this thread as soon as we hear any news. 

    Thank you.