Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    red flag Getting PayPal Direct API to Work Information

    This is not a thread asking for your help, this is a thread telling you folks what I did to resolve this issue so you can get your Zen Cart running with PayPal's Direct API and Express Checkout at the same time.

    A little upfront information...
    Yes, get your own SSL Certificate and get it installed on your website. Sorry, but installing on your website is not going to be part of this thread.

    Get set up with PayPal's Website Payment Pro.

    Set up a SANDBOX account with PayPal at https://developer.paypal.com/. Please note that this account is only for testing, but requires to be set up like a real account. PayPal should help you with this if you need further assistance. I say should because I had someone so frustrated at PayPal that they actually hung up on me, but they did say thanks for calling PayPal first.

    Once you have your PayPal Website Payment Pro, you should receive an email letting you know the link to get the modules for Zen Cart.

    There is a file to help you install the modules, but if you have any problems, there are threads on this site to help you install modules and they are fantastic!!!

    Once you have your PayPal account and have gone to the Profile tab while being logged in, you should then go to the API Access option and create your "Client Side" certificate file. This is the type of file required to make this work. You will want one certficiate from the Sandbox and your regular PayPal account. For setting up your server, you will only be using the sandbox certificate. Also, please note that you can rename your certificate and remove the .txt extension. You can name your Sandbox version with the word "sandbox" in it and your live version with the word "live" in it. These are only examples and you can modifiy it to your needs.

    Now, the area that causes the problem is when the module is asking for an absolute path to your certificate. Using http://www.mydomain.com/files/certificate_file_pem will not work. If you follow the recommendations of PayPal, you will not put your certificate in the root folder with your Zen Cart. Lets say you have a folder of public_html/zen_cart_store, you could create a folder under public_html called certs. In this example, you would list your absolute folder as "../certs/certifcate_file_pem" without the quotes. Make sure you use case sensitive letters. Don't use a "C" when it should be a "c". Enter your API Account Username and API Account Password and you are good to go.

    Remember that in this module and the Express Checkout module, you should check the "Sandbox" option when testing your Zen Cart.

    This concludes this thread. Good luck and good sales!!!


  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Getting PayPal Direct API to Work Information

    FYI - the Express Checkout module and other PayPal support built in to Zen Cart do not work with the downloaded api certificate (pem file) discussed in this post.

    The Zen Cart modules use the API Signature components for security, *not* the API Certificate option.

    Also worth noting ... at the present time, PayPal does not allow the use of both API signature and API certificate on the same PayPal account.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Getting PayPal Direct API to Work Information

    That is correct, you need to get the module from PayPal which is a new Express Checkout that uses the certificate only. When one signs up for the Pro checkout, their sales person should send them the information/link to download a new module for the Express Checkout as well as the Direct API. They say to not use the existing version in Zen Cart since it is using the signature and not the certificate.

    Thanks for your update.

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Getting PayPal Direct API to Work Information

    Kojak,

    thats kinda funny, that a paypal rep would tell you that and would NOT tell the developers ( who are in constant contact with paypal ) that they shold NOT use the module that they approved
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Getting PayPal Direct API to Work Information

    This is not surprising to me. It is the old story about the right hand not knowing what the left hand is doing. I had people at PayPal giving me information on how to get their Direct API to work and they were not even in the same ballpark as the real information.

  6. #6
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Getting PayPal Direct API to Work Information

    Ok, I'm using Zen Cart 1.3.7, with the Payflow Pro module. I've got a Payflow Pro/Website Payments Pro account, and I've downloaded an API Certificate and uploaded that to the /home/account_name/public_html/store/includes/modules/payment/certs/ folder. I've tested the module just fine and the module is now in Live mode. In this module, I have fields for Merchant Login, User Login, Password, and Partner ID. There's no place that says anything about an API User name or Password. Am I missing something?

  7. #7
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Getting PayPal Direct API to Work Information

    I have PayPal Direct Payment and the module is noted as paypal_dp. Perhaps I don't have the latest that PayPal offers. Can you tell me about the module you have and under Modules > Payment, what do you have?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Getting PayPal Direct API to Work Information

    Quote Originally Posted by Kojak View Post
    I have PayPal Direct Payment and the module is noted as paypal_dp. Perhaps I don't have the latest that PayPal offers. Can you tell me about the module you have and under Modules > Payment, what do you have?
    Kojak,
    Are you saying that something's not working for you?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Getting PayPal Direct API to Work Information

    Oh no. I was just responding to the reply before my last one.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Getting PayPal Direct API to Work Information

    Quote Originally Posted by KaworuNagisa View Post
    Ok, I'm using Zen Cart 1.3.7, with the Payflow Pro module. I've got a Payflow Pro/Website Payments Pro account, and I've downloaded an API Certificate and uploaded that to the /home/account_name/public_html/store/includes/modules/payment/certs/ folder. I've tested the module just fine and the module is now in Live mode. In this module, I have fields for Merchant Login, User Login, Password, and Partner ID. There's no place that says anything about an API User name or Password. Am I missing something?
    If you upgrade to Zen Cart v1.3.8, you'll find that there's a Website Payments Pro module, which does use your API User/Signature/Password information, and allows you to process credit cards directly from your website.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 23 Dec 2013, 04:01 AM
  2. Important Information from PayPal Regarding IPN & API Changes
    By philip937 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 24 Sep 2011, 08:43 AM
  3. Getting my PayPal API username
    By g_force in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 2 Nov 2009, 10:16 AM
  4. Paypal Direct Alert - Couldn't resolve host 'api-3t.paypal.com'
    By wsmith48 in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 9 Mar 2008, 05:42 PM

Posting Permissions

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