Zen Cart Logo
Forums / Addon Payment Modules / Canadian Payment Gateway - Beanstream

Canadian Payment Gateway - Beanstream

Locked

Views: 5,000

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Nov 2007, 7:11 PM
#1
joejoomla avatar

joejoomla

New Zenner

Join Date:
Oct 2007
Location:
Canada
Posts:
4
Plugin Contributions:
0

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/PDF_Files/beasntream.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:

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 Nov 2007, 3:32 PM
#2
joejoomla avatar

joejoomla

New Zenner

Join Date:
Oct 2007
Location:
Canada
Posts:
4
Plugin Contributions:
0

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.

2 Nov 2007, 4:25 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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/showthread.php?p=408522#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.

2 Nov 2007, 5:29 PM
#4
joejoomla avatar

joejoomla

New Zenner

Join Date:
Oct 2007
Location:
Canada
Posts:
4
Plugin Contributions:
0

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:

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
)
2 Nov 2007, 6:03 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

2 Nov 2007, 6:21 PM
#6
joejoomla avatar

joejoomla

New Zenner

Join Date:
Oct 2007
Location:
Canada
Posts:
4
Plugin Contributions:
0

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