Forums / Addon Payment Modules / Beanstream payment modul error.

Beanstream payment modul error.

Locked

Views: 4,974

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
15 Jan 2008, 12:18 AM
#1
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Beanstream payment modul error.

Hello.
we have signed up with beanstream to use CAD . i have installed the module .. I get following error message when i go trough final payment process.

Fatal error: Call to a member function on a non-object in.../includes/modules/payment/beanstream_cad.php on line 289

im using beanstream test account.

any info would be great.

thanks. :frusty:

15 Jan 2008, 12:30 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

I am using zen cart version 1.3.7 upgrade from 1.3.5

thanks.

18 Jan 2008, 11:06 PM
#3
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Anyone with any Idea on this problem?

Thanks for any help

18 Jan 2008, 11:51 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Beanstream payment modul error.

/includes/modules/payment/beanstream_cad.php
around line 257 you'll see:global $response, $db, $order, $messageStack;change that to:```
global $response, $db, $order, [B]$currencies, [/B]$messageStack;

.
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.

19 Jan 2008, 3:44 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Thanks Dr..

that fatal error problem has been solved.
I am using test account with supplied test credit card number . but i get the following warning on zen cart during checkout. .

(0) State/province does not match country

Shipping state/province does not match country

  • Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.

this cann't be customer account information error. because i am using my real address as account on this store.
but i have no idea why i get this warning.

any info would be at most greatfull.
thanks.

20 Jan 2008, 4:36 PM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Hello.
I am trying to enable my shopping cart to accept credit card payment . I have installed beanstream module and i have account with this gateway.

Using test account . when i go trough the check out process after entering credit card info , I get the following warning

"""

(0) State/province does not match country

Shipping state/province does not match country

  • Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance.

"""

I have tried anything that i could possibly think of , but i can not seems to find why this happens .
the address I am using as a customer on this store is correct address .
any info ?
Thanks.

27 Jan 2008, 4:55 PM
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Hello.
as i stated before i get the warning during checkout . " state/province dose not match ..........."

it seems that . zen cart pass only " -- " as province ISO code . in my case QC is passed as -- only .

i had this issue with version 1.3.7, I did a upgrade to 1.3.8 and this issue still exist .

Please let me know if you know how to fix this issue .

we are running on test beanstream account.

Thanks.

28 Jan 2008, 4:36 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Beanstream payment modul error.

Have you edited your countries table by deleting and/or adding countries to it?
What "number" is "Canada"? (go to Admin->Localization->Countries, click on Canada, and look at the URL ... what's the cID set to?)

.
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.

28 Jan 2008, 5:39 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Beanstream payment modul error.

.
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.

29 Jan 2008, 11:04 PM
#10
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Thanks for the new update and bug fix.. everything seems to be working now . I done few test transactions and they were success.
However , there is something .. I have no idea if thats by design , when I use Declined credit card . I get warning message , which i have to get .. but at the beginning of the message i have something like ( 7 ) . or might be other number , and message ..
I assume this number should represent the reason for Decline .. but only number is displayed and no reason is given .

can you please let me know if this is by design ? if so , were i can get the info on those numbers ??

Thanks.

29 Jan 2008, 11:10 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Beanstream payment modul error.

( 7 ) would be the error code indicating the decline.

The actual "reason" for the decline is not supposed to be displayed to the customer. Otherwise, someone who has stolen CC numbers and decides to use your store to validate, will be able to run all the cards through your site and see exactly their status, etc.

If you really want to see the detailed reasons, turn on the debug logging and see the details in the logs instead.

.
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.

29 Jan 2008, 11:28 PM
#12
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Beanstream payment modul error.

Thanks for the information DR.. and thanks a million for the module and fixes ...
:clap:

10 Apr 2008, 7:09 PM
#13
rvagrrl avatar

rvagrrl

New Zenner

Join Date:
Oct 2005
Posts:
90
Plugin Contributions:
0

Re: Beanstream payment modul error.

Hey there! I was wondering if the Beanstream module would work on 1.3.6. Thanks!

24 Apr 2008, 6:59 PM
#14
plantain_tart avatar

plantain_tart

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

Re: Beanstream payment modul error.

Hey, I've been trying to get this to work on a windows machine running php 5.2.5 on iis, Zen Cart 1.3.8a

I get a blank page when It tries to complete the process. It also refuses to load the rest of the Payment Modules page.

any ideas?

24 Apr 2008, 8:45 PM
#15
plantain_tart avatar

plantain_tart

New Zenner

Join Date:
Apr 2008
Posts:
3
Plugin Contributions:
0

Re: Beanstream payment modul error.

plantain_tart:

Hey, I've been trying to get this to work on a windows machine running php 5.2.5 on iis, Zen Cart 1.3.8a

I get a blank page when It tries to complete the process. It also refuses to load the rest of the Payment Modules page.

any ideas?

Nevermind, I got it up and working, it was a PHP error