That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I have checked all the 3 files included with the module. Only one file uses TABLE_BEANSTREAM i.e, /includes/modules/payment/beanstream.php as:
Other than that, TABLE_BEANSTREAM has not been defined or used anywhere. Could you please review? May be there is another file but its not included in the download of Apr 05, 2009?Code:// Insert the data into the database $sql = "insert into " . TABLE_BEANSTREAM . " (id, customer_id, order_id, response_code, response_text, authorization_type, transaction_id, sent, received, time, session_id) values (NULL, :custID, :orderID, :respCode, :respText, :authType, :transID, :sentData, :recvData, :orderTime, :sessID )";
Thanks
Farhan Sabir
CIGear.com
Turn the "Enable Database Storage" flag in admin off. It's not supported yet.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
[FONT=Arial]Another Issue: The transaction of our Australian customers get declined with the response text [/FONT][FONT="][FONT=Arial]"Response Text: Select your state/province".
Beanstream is telling me if the country is not US or Canada, the state/province has to be "--" (two dashes). Otherwise our system does not accept the transaction at all. Looks really strange, the country is not US or Canada, but province is there (as entered by the customer). But beanstream would just decline (actually REJECT) the transaction and wont process at all.
It hard to argue with them, as they say we cannot modify our system for one merchant, you have to change the way you submit the transactions. Change ordProvince to -- and then submit it.
Can you help with that?
Regards
Farhan
PS: In authorize.Net module, we had the card information with us. So if the customoer calls back for another order and asks to charge the same card, we can still do it from his previous data. Question: Is there a way to have a similar method of storing credit card information while submitting it to Beanstream?
[/FONT]
[/FONT]
NOTE: I've NOT tested this, so I'm not entirely certain the net effect on addresses in Canada and US (so, be sure to test those in addition to your Australia address) ... Try the following on your test site:
At line 290 of the module file, you'll see this:Try changing it to this:Code:if (strlen($order->billing['state']) > 2) {Code:if (strlen($order->billing['state']) > 2 && $province_code_order != '--') {
.
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.
Thank you so much for that DrByte! The solution seems to work fine. I have tried an Australian billing address with full state/province name as well as 2-letter state. Both went through to Beanstream. Previously it was not being processed at all.
Being the original author, would you be able to fix the database issue as well? :-)
Regards
Farhan Sabir
CI Gear
Last edited by farhansabir; 15 Apr 2009 at 05:14 PM. Reason: spell mistake
.
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.
I have installed the Beanstream Payment Module into my Zen Cart. When I try and do a test transaction, an error comes up saying. "(0) Invalid merchant id (merchant_id = 0) - Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance."
What could the problem be and what is the fix????
I am looking over Beanstreams application forms. There is a check off box for API integration to select either SOAP or Server to Server.
Which would I check off?
ZC1.3.8a; SLL signed certificate on shared DreamHost server. Currently using Paypal Standard, CC offline mod, money order. Canadian site.