Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8716533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:06:01+00:00 2026-06-13T06:06:01+00:00

I am trying to integrate payflow pro with an existing website. There is no

  • 0

I am trying to integrate payflow pro with an existing website.

There is no SDK for PHP, and integration with PHP will require the use of the Payflow HTTPS interface. The dev guide (https://cms.paypal.com/cms_content/AU/en_AU/files/developer/PP_WPPPF_HTTPSInterface_Guide.pdf) says that I will need to write code that creates an HTTPS connection to the Paypal servers. What method should I use to do this, and how can I submit HTTPS requests once a connection has been established?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:06:02+00:00Added an answer on June 13, 2026 at 6:06 am

    I was finally able to find an example here: https://ppmts.custhelp.com/app/answers/detail/a_id/618

    <?
    $submiturl = "https://pilot-payflowpro.paypal.com/transaction:443/";
    
    $plist="USER=****&VENDOR=****&PARTNER=****&PWD=****&TENDER=C&" .
            "TRXTYPE=A&ACCT=5105105105105100&" .
            "EXPDATE=1209&STREET= 123 MainSt.&CVV2=123&AMT=1.00";
    
    $request_id = date('YmdGis');
    $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
    
    // Here's your custom headers; adjust appropriately for your setup:
    $headers[] = "Content-Type: text/namevalue";    // either text/namevalue or text/xml
    $headers[] = "X-VPS-Timeout: 30";
    $headers[] = "X-VPS-VIT-OS-Name: Linux";        // Name of your Operating System (OS)
    $headers[] = "X-VPS-VIT-OS-Version: RHEL 4";    // OS Version
    $headers[] = "X-VPS-VIT-Client-Type: PHP/cURL"; // Language you are using
    $headers[] = "X-VPS-VIT-Client-Version: 0.01";  // For your info
    $headers[] = "X-VPS-VIT-Client-Architecture: x86";  // For your info
    $headers[] = "X-VPS-VIT-Integration-Product: MyApplication";  // For your info,  application name
    $headers[] = "X-VPS-VIT-Integration-Version: 0.01"; // Application version
    $headers[] = "X-VPS-Request-ID: " . $request_id;
    
    $user_agent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $submiturl);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
    curl_setopt($ch, CURLOPT_HEADER, 1); // tells curl to include headers in response
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // return into a variable
    curl_setopt($ch, CURLOPT_TIMEOUT, 45); // times out after 45 secs
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); // this line makes it work under https
    curl_setopt($ch, CURLOPT_POSTFIELDS, $plist); //adding POST data
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,  2); //verifies ssl certificate
    curl_setopt($ch, CURLOPT_FORBID_REUSE, TRUE); //forces closure of connection when done
    curl_setopt($ch, CURLOPT_POST, 1); //data sent as POST
    
    // $info = curl_getinfo($ch); //grabbing details of curl connection
    
    $result = curl_exec($ch);
    $headers = curl_getinfo($ch);
    curl_close($ch);
    echo $result;
    ?> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm trying to integrate the PHP facebook SDK/API with codeigniter, because I love
I am trying to integrate a few non-wordpress PHP pages into an existing Wordpress
I am currently trying to integrate Paypal's MECL in an already existing IOS project
I am trying to integrate a simple login for my site with php. i
I'm trying to integrate FNV hashing algorithm on a PHP-based project as part of
Im trying to integrate a toolwindow in a Winforms application, it will be a
I am trying to integrate a Usurv survey to my website. To do this,
I am currently trying to integrate mandrill into this Django-based website for emails. Djrill
I am trying to integrate file sharing functionality to existing web portal. Do you
I am trying to Integrate an SMS service into my website. I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.