Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Plugin Contributions
    0

    Default YourPay API HELP

    I have yourpay API, and I need help setting it up. I already have an SSL Cert. installed on my server, but I have a question about where to upload the .PEM Key I downloaded from YourPay.

    After I install the .PEM Key, do I just select the YourPay/Linkpoint API Payment gateway, plug in all my info (Merchant ID, etc.) and then test it?? or is it a little more complex than that.

    Please help, I'm building a site for a lady at my church, and she needs this done ASAP!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: YourPay API HELP

    Linkpoint/YourPay API payment module setup instructions:
    https://www.zen-cart.com/tutorials/i...hp?article=298
    .

    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
    Jul 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: YourPay API HELP

    Ok, I followed all of the steps, but I am still getting an error in the testing: successful mode.

    I can go all the way through the checkout until it says, "Confirm Checkout"

    and then I get this error:

    Code:
    at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/heavensg/public_html/store/includes/modules/payment/linkpoint_api/1001180630.pem configfile = 1001180630 ordertype = SALE result = DECLINE transactionorigin = ECI terminaltype = UNSPECIFIED oid = ip = 72.86.45.100 chargetotal = 0.01 cardnumber = 4111111111111111 cardexpmonth = 01 cardexpyear = 09 cvmindicator = provided cvmvalue = 111 name = Adam Rollyson company = address1 = 82 Gallimore Drive address2 = city = Fredericksburg state = Virginia country = US phone = 540-424-7964 email = xcadam89###################### addrnum = 82 Gallimore Drive zip = 22407 sname = Adam Rollyson saddress1 = 82 Gallimore Drive saddress2 = scity = Fredericksburg sstate = Virginia szip = 22407 scountry = US debugging = true debug = true webspace = false sending xml string: SALEDECLINE41111111111111110109111providedAdam Rollyson82 Gallimore DriveFredericksburgVirginia22407USxcadam89######################540-424-796482 Gallimore DriveAdam Rollyson82 Gallimore DriveFredericksburgVirginia22407USUNSPECIFIED72.86.45.100ECI1001180630/home/heavensg/public_html/store/includes/modules/payment/linkpoint_api/1001180630.pemsecure.linkpt.net11290.01 server responds: couldn't connect to host ErrNo:7 server responds: FAILURECould not connect. 
    2006 MySQL server has gone away
    in:
    [select count(*) as total from zen_sessions where sesskey = '89372f2f933d02046d10f909232f5415']
    Is it because port 1129 is not open??

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: YourPay API HELP

    Quote Originally Posted by XCAdam89 View Post
    server responds: couldn't connect to host ErrNo:7 server responds: FAILURECould not connect.
    2006 MySQL server has gone away
    in:
    [select count(*) as total from zen_sessions where sesskey = '*****']


    Is it because port 1129 is not open??
    It could be port-related.

    Linkpoint Communications CURL Testing Tool:
    Grab the curltest.php script from this post, upload it to your server, and post here the URL where it can be accessed.
    Try adding ?linkpoint=1 to the command line and see what it brings back.
    .

    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.

  5. #5
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: YourPay API HELP

    Quote Originally Posted by DrByte View Post
    It could be port-related.

    Linkpoint Communications CURL Testing Tool:
    Grab the curltest.php script from this post, upload it to your server, and post here the URL where it can be accessed.
    Try adding ?linkpoint=1 to the command line and see what it brings back.
    Dr. byte,

    I tried this and when done via https with the curltest.php it worked fine...

    Now when using the ?linkpoint=1 It did not work... The page did not fully load and the following array was sent...

    HTML Code:
    Array
    (
        [url] => "https://secure.linkpt.net:1129/LSGSXML"
        [http_code] => 200
        [header_size] => 40
        [request_size] => 175
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0.829167
        [namelookup_time] => 0.001591
        [connect_time] => 0.060276
        [pretransfer_time] => 0.611837
        [size_upload] => 37
        [size_download] => 280
        [speed_download] => 337
        [speed_upload] => 44
        [download_content_length] => 280
        [upload_content_length] => 0
        [starttransfer_time] => 0.828978
        [redirect_time] => 0
    )
    
    
    Malformed or unrecognized request.  EOF
    Do you have any ideas on fixing this problem? The curl test is at https://southwestsunshineherbal.com/curltest.php Thanks,
    Last edited by madfastride; 12 Aug 2008 at 10:23 PM.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: YourPay API HELP

    Quote Originally Posted by madfastride View Post
    Now when using the ?linkpoint=1 It did not work... The page did not fully load and the following array was sent...

    HTML Code:
    Array
    (
        [url] => "https://secure.linkpt.net:1129/LSGSXML"
        [http_code] => 200
        [header_size] => 40
        [request_size] => 175
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0.829167
        [namelookup_time] => 0.001591
        [connect_time] => 0.060276
        [pretransfer_time] => 0.611837
        [size_upload] => 37
        [size_download] => 280
        [speed_download] => 337
        [speed_upload] => 44
        [download_content_length] => 280
        [upload_content_length] => 0
        [starttransfer_time] => 0.828978
        [redirect_time] => 0
    )
    
    
    Malformed or unrecognized request.  EOF
    That's exactly what you should expect to see.

    The "malformed" message comes from the Linkpoint/Yourpay server to indicate that you've not submitted a valid payment request ... which is correct. The end result is that it's confirmed that you have successful communication between your server and the linkpoint/yourpay server. Thus, now you just need to set up your module and start taking orders.
    https://www.zen-cart.com/tutorials/i...hp?article=298
    .

    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.

  7. #7
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: YourPay API HELP

    Quote Originally Posted by DrByte View Post
    That's exactly what you should expect to see.

    The "malformed" message comes from the Linkpoint/Yourpay server to indicate that you've not submitted a valid payment request ... which is correct. The end result is that it's confirmed that you have successful communication between your server and the linkpoint/yourpay server. Thus, now you just need to set up your module and start taking orders.
    https://www.zen-cart.com/tutorials/i...hp?article=298

    Dr. Byte,

    Thanks for the quick response. The module is set up according to the tutorial. I have this running on other sites... but for some reason it's not running on this one... I just contacted the hosting company and they said they do not use a Proxy server like go daddy does. They also said that with a dedicated IP address port 1129 is open... the PEM file is in the right place, and when talking to Linkpoiont they said they could find it and it was a valid working Pem file... Does the message on the Curl test mean that there is communication between the Link point and the server? The error message I am receiving is the "could not communicate..." error.

    thanks for any help...

    Cheers,

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: YourPay API HELP

    Quote Originally Posted by madfastride View Post
    Does the message on the Curl test mean that there is communication between the Link point and the server?
    Yes, that's what I said:
    Quote Originally Posted by DrByte View Post
    ... The end result is that it's confirmed that you have successful communication between your server and the linkpoint/yourpay server.

    Quote Originally Posted by madfastride View Post
    The error message I am receiving is the "could not communicate..." error.
    Can you be more specific?
    .

    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
    Feb 2007
    Location
    Earth
    Posts
    116
    Plugin Contributions
    1

    Default Re: YourPay API HELP

    My bad...

    I'm collaborating with someone else and there were some proxy server setting set up in My store... so it looks like everything is taken care of once i got rid of those.

    thanks for your time, wish i had figured this out before I wasted your time...

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: YourPay API HELP

    Sometimes it just takes talking-it-out and/or a little clarification of what one's seeing.

    Glad you got it sorted out :)
    .

    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.

 

 

Similar Threads

  1. Linkpoint/YourPay API Question
    By thricelll in forum Addon Payment Modules
    Replies: 1
    Last Post: 23 Oct 2008, 03:01 PM
  2. Linkpoint / YourPay API Difficulties
    By delia in forum Addon Payment Modules
    Replies: 12
    Last Post: 20 Dec 2007, 10:38 PM
  3. Linkpoint/Yourpay API Issue
    By LegendOfTheEpic in forum Addon Payment Modules
    Replies: 1
    Last Post: 19 Oct 2006, 05:02 AM
  4. Linkpoint / YourPay API - Security Related
    By lib99 in forum Addon Payment Modules
    Replies: 2
    Last Post: 13 Jul 2006, 07:27 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