SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CURL and payflow

    hi guys ,

    how to use cURL to communicate with the Payflow servers ?

    i need to use credit card in my web site and here :
    https://www.paypal-labs.com/integrat...date/step3.php

    they say that i can use CURL to communicate with payflow server , can u guide me or give me open source doing this

    regards

  2. #2
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no body wanna help , this is the first time i ask question here and nobody reply !!!

  3. #3
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    It's a quite a broad subject to be fair, and your question could have a myriad of answers unless you're a little bit more specific.

    Have you not used cURL before, or is this a specific cURL configuration issue for Payflow?
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  4. #4
    SitePoint Wizard cranial-bore's Avatar
    Join Date
    Jan 2002
    Location
    Australia
    Posts
    2,634
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Head the curl page for the rundown on using it.
    The functions you'll most commonly use are:

    • curl_init to initiate the request
    • curl_setopt to set options for the request, such as return transfer false, post data etc. With this function you will pass in your data to 'POST' to the PayPal server
    • curl_exec to execute the transaction.

    PayPal will have documentation of what data you need to send, and what you should receive back.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •