Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    4
    Plugin Contributions
    0

    Default Canadian Payment Gateway - Beanstream

    Hi there,

    I am looking at Zen-Cart for a potential solution for Canadian based website. The credit card payment processing would be done by Beanstream.

    I contacted them and they gave me a link to their Zen-Cart plugin:

    http://www.beanstream.com/website/PD...sntream.tar.gz

    I installed this and configured it and on the final step of a test purchase I got an
    "Unable to connect" message in the web browser. Thhe browser URL had this in it:
    Code:
    https://xxxxx.local/~xxxxx/zen-cart/index.php?main_page=checkout_payment&payment_error=beanstream&error_message=The+credit+card+was+declined.+You+may+try+again+or+try+another+card
    (note: URL xxx'd out by me)

    Is this a general Zen-Cart configuration problem or should I be focusing on the Beanstream plugin to find the problem?

    btw - If there are Canadian Zen-Cart users that are already successfully using Beanstream's plugin with Zen-Cart I would love to hear from you.

  2. #2
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    4
    Plugin Contributions
    0

    Default Re: Canadian Payment Gateway - Beanstream

    I contacted Beanstream and requested a test account. They gave me test credit card information.

    My second attempt to complete a Visa credit card transaction brought up a browser 'Unable to connect' page again with the following in the URL:

    .../zen-cart/index.php?main_page=checkout_process

    (note: I removed the first part of the URL for display here.)

    It would be really nice if an experienced Zen-Cart person could help me determine if my problem is definitely related to the Beanstream plugin or I simply have a general configuration problem.

  3. #3
    Join Date
    Jan 2004
    Posts
    58,244
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Canadian Payment Gateway - Beanstream

    There are bugs in the beanstream plugin.

    Can you check whether CURL is installed and working on your server?
    One way to test it is to upload the script I attached to this post:
    http://www.zen-cart.com/forum/showth...522#post408522
    If you can download, unzip, upload that script and post a link to it on your site, it will help determine the functionality of CURL, which is used to submit the transaction for processing.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    4
    Plugin Contributions
    0

    Default Re: Canadian Payment Gateway - Beanstream

    Thank you DrByte for your reply.

    It should be noted that I am running Zen-Cart and this script on a localhost development computer. Might this be part of the problem?

    Here is the result:
    Code:
    CURL Test Page
    This page is intended for testing CURL behaviour. You should be accessing this page via CURLTEST.PHP running on YOUR server.
    
    You submitted the following fields and data:
    
    Array
    (
        [field1] => This is a test
        [statuskey] => ready
    )
    
    Data validation
    Good
    Other Info
    Your server IP address is: xxx.xxx.xx.xx.
    user-agent: unknown.
    
    Below on the same page is:
    
    Array
    (
        [url] => "http://www.zen-cart.com/testcurl.php"
        [content_type] => text/html
        [http_code] => 200
        [header_size] => 139
        [request_size] => 174
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0.101549
        [namelookup_time] => 0.004948
        [connect_time] => 0.051702
        [pretransfer_time] => 0.051855
        [size_upload] => 0
        [size_download] => 2141
        [speed_download] => 21083
        [speed_upload] => 0
        [download_content_length] => 0
        [upload_content_length] => 0
        [starttransfer_time] => 0.101313
        [redirect_time] => 0
    )

  5. #5
    Join Date
    Jan 2004
    Posts
    58,244
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Canadian Payment Gateway - Beanstream

    That looks like a good response for non-SSL. Try adding ?ssl=1 to the end of the URL and see what happens.
    Or try talking to the authorize.net server by adding ?authnet=1 to the URL.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  6. #6
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    4
    Plugin Contributions
    0

    Default Re: Canadian Payment Gateway - Beanstream

    FYI - I checked into the Beanstream test account administration at their end and the test credit card purchase shows up as an approved credit card transaction.


    curltest.php?ssl=1 returned this result:

    Array
    (
    [url] => "https://www.zen-cart.com/testcurl.php"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 139
    [request_size] => 174
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 0.420434
    [namelookup_time] => 0.007775
    [connect_time] => 0.056727
    [pretransfer_time] => 0.368876
    [size_upload] => 0
    [size_download] => 2141
    [speed_download] => 5092
    [speed_upload] => 0
    [download_content_length] => 0
    [upload_content_length] => 0
    [starttransfer_time] => 0.419875
    [redirect_time] => 0
    )


    curltest.php?authnet=1 returned this result:

    Array
    (
    [url] => "https://secure.authorize.net/gateway/transact.dll"
    [content_type] => text/html
    [http_code] => 200
    [header_size] => 237
    [request_size] => 186
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.416061
    [namelookup_time] => 0.105901
    [connect_time] => 0.170902
    [pretransfer_time] => 0.349745
    [size_upload] => 0
    [size_download] => 151
    [speed_download] => 362
    [speed_upload] => 0
    [download_content_length] => 151
    [upload_content_length] => 0
    [starttransfer_time] => 0.415284
    [redirect_time] => 0
    )



    The following errors have occurred.
    (13) The merchant login ID or password is invalid or the account is inactive.
    EOF

 

 

Similar Threads

  1. Problem with payment gateway
    By jackdebian in forum Addon Payment Modules
    Replies: 6
    Last Post: 18 Feb 2008, 04:23 AM
  2. Payment Gateway Support
    By WRobert in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Jul 2007, 12:57 PM
  3. which payment gateway suitable
    By wowemall in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 12 May 2007, 12:49 PM

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
  •