Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: PayPal Website Payments Standard

  1. #1
    oldcelt
    Guest


    Default PayPal Website Payments Standard

    The PayPal Website Payments Standard module has the following fields for completion:-

    My private key
    My public certificate
    Paypal's public certificate
    My Paypal public certificate ID

    I've searched PayPal's website and instructions for ages but I can't find this information. Can somebody please give me a route to the necessary pages?

  2. #2
    osCMax Development Team

    PayPal Website Payments Standard

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by oldcelt View Post
    The PayPal Website Payments Standard module has the following fields for completion:-

    My private key
    My public certificate
    Paypal's public certificate
    My Paypal public certificate ID

    I've searched PayPal's website and instructions for ages but I can't find this information. Can somebody please give me a route to the necessary pages?
    Leave blank for Standard - not needed: read the wiki.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  3. #3
    oldcelt
    Guest


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by ridexbuilder View Post
    Leave blank for Standard - not needed: read the wiki.
    Oh, OK, I must have missed that somehow. Can encryption still be used without those fields?

  4. #4
    osCMax Development Team

    PayPal Website Payments Standard

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by oldcelt View Post
    Oh, OK, I must have missed that somehow. Can encryption still be used without those fields?
    Nope - not for outgoing messages - without enabling it.
    Speak to your hosting provider with regards to your own keys. PayPal stuff used to be in Merchant Services/API pages but heck knows where now that they have changed the website.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  5. #5
    oldcelt
    Guest


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by ridexbuilder View Post
    Nope - not for outgoing messages - without enabling it.
    Speak to your hosting provider with regards to your own keys. PayPal stuff used to be in Merchant Services/API pages but heck knows where now that they have changed the website.
    PayPal gives a warning on completion of payment that the return is not to a secure address in spite of the fact that I entered the SSL URL in the IPN page of PayPal. Sure enough, it just returns to the standard URL of the catalog provided one ignores PayPal's warning and clicks on the return link. Problem here is that if the buyer is frightened by PayPal's warning and just leaves that tab or closes their browser, the catalog is not updated and their cart isn't emptied. I thought perhaps encryption would solve that problem but I've an idea that there may be a simpler way.

  6. #6
    osCMax Development Team

    PayPal Website Payments Standard

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Default Re: PayPal Website Payments Standard

    Assuming that your SSL is implemented correctly, then it may be that you also have some form of redirection, so that the https is rewritten to http.
    This is why 'max code should not interfere with web environments (ref. commented out rubbish in .htaccess).

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  7. #7
    oldcelt
    Guest


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by ridexbuilder View Post
    Assuming that your SSL is implemented correctly, then it may be that you also have some form of redirection, so that the https is rewritten to http.
    Thanks - I'll check that out with my hosting provider.

  8. #8
    oldcelt
    Guest


    Default Re: PayPal Website Payments Standard

    Quote Originally Posted by ridexbuilder View Post
    Assuming that your SSL is implemented correctly, then it may be that you also have some form of redirection, so that the https is rewritten to http.
    This is why 'max code should not interfere with web environments (ref. commented out rubbish in .htaccess).
    Checked my hosting services - nothing is being implemented there.

    Isn't this a problem with the call from osCMax to PayPal?

  9. #9
    oldcelt
    Guest


    Default Re: PayPal Website Payments Standard

    Looking into this more closely, I find PayPal states:
    For PayPal Instant Payment Notification (IPN) and Payment Data Transfer (PDT), make sure your script posts back to PayPal over port 443 (https).........
    For example, in PHP, you may be set up to post back IPNs for validation with something like this:
    PHP Code:
    $fp fsockopen ('www.paypal.com'80$errno$errstr30); 
    To post back over port 443, change this to:
    PHP Code:
    $fp fsockopen ('ssl://www.paypal.com'443$errno$errstr30); 
    Now, in osCMax PayPal module we have standard_ipn.php which contains this code:-
    PHP Code:
    if ( (PHP_VERSION >= 4.3) && ($fp = @fsockopen('ssl://' $server443$errno$errstr30)) ) {
        
    $fsocket true;
      } elseif (
    function_exists('curl_exec')) {
        
    $curl true;
      } elseif (
    $fp = @fsockopen($server80$errno$errstr30)) {
        
    $fsocket true
    However, I cannot find any place in any of the PHP code in the whole of osCMax where the variable $fp is assigned any value!

    Can anybody please cast some light on this because if the variable $fp is assigned the value
    PHP Code:
    @fsockopen('ssl://' $server443$errno$errstr30
    then the return from PayPal should be to an SSL address and that would appear to solve my problem.

    Any comments and/or advice gratefully appreciated 'cos I'm confused.

  10. #10
    osCMax Development Team

    PayPal Website Payments Standard

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,164
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    99


    Post Re: PayPal Website Payments Standard

    Quote Originally Posted by oldcelt View Post

    Now, in osCMax PayPal module we have standard_ipn.php which contains this code:-
    PHP Code:
    if ( (PHP_VERSION >= 4.3) && ($fp = @fsockopen('ssl://' $server443$errno$errstr30)) ) {
        
    $fsocket true;
      } elseif (
    function_exists('curl_exec')) {
        
    $curl true;
      } elseif (
    $fp = @fsockopen($server80$errno$errstr30)) {
        
    $fsocket true
    That first line assigns ssl if it is available.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

Page 1 of 2 12 LastLast

Similar Threads

  1. PayPal Website Payments Standard Update
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-30-2013, 02:00 AM
  2. PayPal Website Payments Standard Problem
    By articleck in forum Bugs and Problems
    Replies: 12
    Last Post: 11-10-2011, 12:28 PM
  3. Replies: 0
    Last Post: 04-14-2009, 11:41 AM
  4. Replies: 1
    Last Post: 02-18-2009, 06:51 PM
  5. PayPal Website Payments Standard
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-11-2008, 05:31 PM

Bookmarks

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
  •